How to Install and Uninstall command-not-found Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "command-not-found" package

Here is a brief guide to show you how to install command-not-found on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "command-not-found" package

Here is a brief guide to show you how to uninstall command-not-found on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the command-not-found package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: command-not-found
Architecture: all
Version: 18.04.6
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Michael Vogt
Original-Maintainer: Zygmunt Krynicki
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: python3-commandnotfound (= 18.04.6)
Suggests: snapd
Filename: pool/main/c/command-not-found/command-not-found_18.04.6_all.deb
Size: 5208
MD5sum: 66e9b905d8af6bbc99780d80b0ac5af5
SHA1: 0ff4983f1aa022d58840c14d4d25554f6565fe81
SHA256: ebc6681ea33bbdb3006377ead679fdef9214ab13da0a4b39476b33c768372b60
SHA512: 556cb511f20f54df94d8677e9596cc968a54951a0b0e818a8fb96e39b3faa03734c627208b0483f6230cca6c8742d24ddd679a58388184cab9ec9ed8bcd34c36
Description: Suggest installation of packages in interactive bash sessions
Description-md5: add5e86211cf27a4446f18bd0c777aa8
Task: standard
Supported: 5y

Package: command-not-found
Architecture: all
Version: 18.04.4
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Michael Vogt
Original-Maintainer: Zygmunt Krynicki
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: python3-commandnotfound (= 18.04.4)
Suggests: snapd
Filename: pool/main/c/command-not-found/command-not-found_18.04.4_all.deb
Size: 5188
MD5sum: 65f0a848c010c32fd7ec61fba8e1a8db
SHA1: a7763c7bd9707ca0db8e16900465465a96a976f6
SHA256: 6d012f02cd438e0009e01bcb87135fd3d4537f87da906a85faf5c2177d5e0908
Description: Suggest installation of packages in interactive bash sessions
Description-md5: add5e86211cf27a4446f18bd0c777aa8
Task: standard
Supported: 5y