
Introduction
In this tutorial we learn how to install software-properties-common
on Kali Linux.
What is software-properties-common
software-properties-common is:
This software provides an abstraction of the used apt repositories.
It allows you to easily manage your distribution and independent software
vendor software sources.
This package contains the common files for software-properties like the
D-Bus backend.
There are three methods to install software-properties-common
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 software-properties-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install software-properties-common
using apt-get
by running the following command:
sudo apt-get -y install software-properties-common
Install software-properties-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install software-properties-common
using apt
by running the following command:
sudo apt -y install software-properties-common
Install software-properties-common 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 software-properties-common
using aptitude
by running the following command:
sudo aptitude -y install software-properties-common
How To Uninstall software-properties-common on Kali Linux
To uninstall only the software-properties-common
package we can use the following command:
sudo apt-get remove software-properties-common
Uninstall software-properties-common And Its Dependencies
To uninstall software-properties-common
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove software-properties-common
Remove software-properties-common Configurations and Data
To remove software-properties-common
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge software-properties-common
Remove software-properties-common configuration, data, and all of its dependencies
We can use the following command to remove software-properties-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge software-properties-common
Dependencies
software-properties-common have the following dependencies:
- ca-certificates
- gir1.2-glib-2.0
- gir1.2-packagekitglib-1.0
- python-apt-common
- python3
- python3-dbus
- python3-gi
- python3-software-properties
- python3
References
Summary
In this tutorial we learn how to install software-properties-common
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.
