How To Install packagekit-command-not-found on Ubuntu 20.04
Introduction
In this tutorial we learn how to install packagekit-command-not-found
on Ubuntu 20.04.
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.
Package: packagekit-command-not-found Architecture: amd64 Version: 1.1.13-2ubuntu1 Priority: optional Section: universe/misc Source: packagekit Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klumpp [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 81 Depends: packagekit (= 1.1.13-2ubuntu1), libc6 (>= 2.7), libglib2.0-0 (>= 2.46), libpackagekit-glib2-18 (>= 1.1.9) Filename: pool/universe/p/packagekit/packagekit-command-not-found_1.1.13-2ubuntu1_amd64.deb Size: 17128 MD5sum: 4e81d8f3641a8f2ff46a4d4734ec4a78 SHA1: ea0cfc5fae9b55fd3bf187cdc95449304f287a16 SHA256: 9c18db63ad67f5362d9724bf32a958f15881ca8c1c5ef50e9ee106d6214b0f42 Homepage: https://www.freedesktop.org/software/PackageKit/ Description-en: Offer to install missing programs automatically 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 Ubuntu 20.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install packagekit-command-not-found
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.