How to Install and Uninstall command-not-found Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

1. Install "command-not-found" package

This guide covers the steps necessary to install command-not-found on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "command-not-found" package

This tutorial shows how to uninstall command-not-found on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the command-not-found package on Ubuntu 20.10 (Groovy Gorilla)

Package: command-not-found
Architecture: all
Version: 20.10.1
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 (= 20.10.1)
Suggests: snapd
Filename: pool/main/c/command-not-found/command-not-found_20.10.1_all.deb
Size: 5236
MD5sum: 941c092b04a91dedbd8bb5e8d61ef645
SHA1: ebf1ae381e79097ddcbe8945a54c94c7aab46d78
SHA256: a9401f22b08b1246e8efcaaaee53399e79cd18a441d68f3eeb40b18eed6c4e2c
SHA512: 6babb267cdb2b349272346fdc0061af4b450d2229fd15705de03a1a64388221db9f2a6c34a4241595afcb830d804ad05e64d07237dd2713894149167351d9a3e
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