How to Install and Uninstall command-not-found Package on Debian 11 (Bullseye)

Last updated: May 15,2024

1. Install "command-not-found" package

This tutorial shows how to install command-not-found on Debian 11 (Bullseye)

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

2. Uninstall "command-not-found" package

In this section, we are going to explain the necessary steps to uninstall command-not-found on Debian 11 (Bullseye):

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

3. Information about the command-not-found package on Debian 11 (Bullseye)

Package: command-not-found
Version: 20.10.1-1
Installed-Size: 103
Maintainer: Julian Andres Klode
Architecture: all
Depends: apt-file (>= 3.0~exp1~), lsb-release, python3-apt, python3:any
Suggests: snapd
Description: Suggest installation of packages in interactive bash sessions
Description-md5: add5e86211cf27a4446f18bd0c777aa8
Tag: implemented-in::python, interface::shell, role::program, scope::utility
Section: admin
Priority: optional
Filename: pool/main/c/command-not-found/command-not-found_20.10.1-1_all.deb
Size: 26216
MD5sum: 8e2ff786b09134c5826c869cc7d5895e
SHA256: e694c2fec3917718ed2a2a89fbe82bd73100d311ed6e0f5345ab4df1bea54c5d