How To Install packagekit-command-not-found on Kali Linux
Introduction
In this tutorial we learn how to install packagekit-command-not-found
on Kali Linux.
What is packagekit-command-not-found
packagekit-command-not-found is:
PackageKit allows performing simple software management tasks over a DBus interface e.g refreshing the cache, updating, installing and removing software packages or searching for multimedia codecs and file handlers.
This package contains a simple handler for command_not_found that offers to install missing packages on the command line using PackageKit.
There are three methods to install packagekit-command-not-found
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 packagekit-command-not-found Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install packagekit-command-not-found
using apt-get
by running the following command:
sudo apt-get -y install packagekit-command-not-found
Install packagekit-command-not-found Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install packagekit-command-not-found
using apt
by running the following command:
sudo apt -y install packagekit-command-not-found
Install packagekit-command-not-found 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 packagekit-command-not-found
using aptitude
by running the following command:
sudo aptitude -y install packagekit-command-not-found
How To Uninstall packagekit-command-not-found on Kali Linux
To uninstall only the packagekit-command-not-found
package we can use the following command:
sudo apt-get remove packagekit-command-not-found
Uninstall packagekit-command-not-found And Its Dependencies
To uninstall packagekit-command-not-found
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove packagekit-command-not-found
Remove packagekit-command-not-found Configurations and Data
To remove packagekit-command-not-found
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge packagekit-command-not-found
Remove packagekit-command-not-found configuration, data, and all of its dependencies
We can use the following command to remove packagekit-command-not-found
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge packagekit-command-not-found
Dependencies
packagekit-command-not-found have the following dependencies:
References
Summary
In this tutorial we learn how to install packagekit-command-not-found
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.