How to Install and Uninstall command-not-found Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "command-not-found" package

Please follow the guidelines below to install command-not-found on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install command-not-found

2. Uninstall "command-not-found" package

Please follow the guidelines below to uninstall command-not-found on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove command-not-found $ sudo apt autoclean && sudo apt autoremove

3. Information about the command-not-found package on Ubuntu 21.10 (Impish Indri)

Package: command-not-found
Architecture: all
Version: 21.10.0
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Michael Vogt
Original-Maintainer: Zygmunt Krynicki
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: python3-commandnotfound (= 21.10.0)
Suggests: snapd
Filename: pool/main/c/command-not-found/command-not-found_21.10.0_all.deb
Size: 5078
MD5sum: c279789701c2a6cb3aef9e6c61232e28
SHA1: fe4b2acb7708dd17139496b292396a04480f175e
SHA256: f93f00245cb68b2221e4c726c1d8c21e90e8bfe67cc0f4ae9a32d3486102e28f
SHA512: 6b88e11bbe5ead2ff6b53c73554f5a14cbae7019a443f646ef0a457cc4b0994be46bf68847f9ef251b65ac947bac1853e85f555e883419359a449164f44b631a
Description-en: Suggest installation of packages in interactive bash sessions
This package will install a handler for command_not_found that looks up
programs not currently installed but available from the repositories.
Description-md5: add5e86211cf27a4446f18bd0c777aa8
Task: standard