How To Install p7zip-rar on Kali Linux
Introduction
In this tutorial we learn how to install p7zip-rar
on Kali Linux.
What is p7zip-rar
p7zip-rar is:
p7zip is the Unix port of 7-Zip, a file archiver that archives with very high compression ratios.
p7zip-rar provides a module for p7zip-full to make 7z able to extract RAR files.
There are three methods to install p7zip-rar
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 p7zip-rar Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install p7zip-rar
using apt-get
by running the following command:
sudo apt-get -y install p7zip-rar
Install p7zip-rar Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install p7zip-rar
using apt
by running the following command:
sudo apt -y install p7zip-rar
Install p7zip-rar 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 p7zip-rar
using aptitude
by running the following command:
sudo aptitude -y install p7zip-rar
How To Uninstall p7zip-rar on Kali Linux
To uninstall only the p7zip-rar
package we can use the following command:
sudo apt-get remove p7zip-rar
Uninstall p7zip-rar And Its Dependencies
To uninstall p7zip-rar
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove p7zip-rar
Remove p7zip-rar Configurations and Data
To remove p7zip-rar
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge p7zip-rar
Remove p7zip-rar configuration, data, and all of its dependencies
We can use the following command to remove p7zip-rar
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge p7zip-rar
Dependencies
p7zip-rar have the following dependencies:
References
Summary
In this tutorial we learn how to install p7zip-rar
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.