How To Install fpart on Kali Linux
Introduction
In this tutorial we learn how to install fpart
on Kali Linux.
What is fpart
fpart is:
Fpart is a tool that helps you sort file trees and pack them into bags (called “partitions”). It is developed in C and available under the BSD license.
It splits a list of directories and file trees into a certain number of partitions, trying to produce partitions with the same size and number of files. It can also produce partitions with a given number of files or a limited size. Once generated, partitions are either printed as file lists to stdout (default) or to files. Those lists can then be used by third party programs.
Fpart also includes a live mode, which allows it to crawl very large filesystems and produce partitions in live. Hooks are available to act on those partitions (e.g. immediately start a transfer using rsync(1)) without having to wait for the filesystem traversal job to be finished. Used this way, fpart can be seen as a powerful data migration tool.
There are three methods to install fpart
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install fpart Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fpart
using apt-get
by running the following command:
sudo apt-get -y install fpart
Install fpart Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fpart
using apt
by running the following command:
sudo apt -y install fpart
Install fpart Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fpart
using aptitude
by running the following command:
sudo aptitude -y install fpart
How To Uninstall fpart on Kali Linux
To uninstall only the fpart
package we can use the following command:
sudo apt-get remove fpart
Uninstall fpart And Its Dependencies
To uninstall fpart
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fpart
Remove fpart Configurations and Data
To remove fpart
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fpart
Remove fpart configuration, data, and all of its dependencies
We can use the following command to remove fpart
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fpart
Dependencies
fpart have the following dependencies:
References
Summary
In this tutorial we learn how to install fpart
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.