How to Install and Uninstall command-not-found Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 15,2024

1. Install "command-not-found" package

This guide let you learn how to install command-not-found on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "command-not-found" package

Please follow the instructions below to uninstall command-not-found on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the command-not-found package on Ubuntu 24.04 LTS (Noble Numbat)

Package: command-not-found
Architecture: all
Version: 23.04.0
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Michael Vogt
Original-Maintainer: Zygmunt Krynicki
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: python3-commandnotfound (= 23.04.0)
Suggests: snapd
Filename: pool/main/c/command-not-found/command-not-found_23.04.0_all.deb
Size: 5124
MD5sum: 9835e40c8aab1a55013f9ed2d606f9df
SHA1: 35ffff4f41d354c814ea07e99d9f2b613153d6aa
SHA256: 781aa037c2bfac1c8a07ee03debacc4390e51ada5e056ba7661ee4ca02fc10de
SHA512: 7ce49aa6ceabe48d3a5be635693c3a6e7b52bd414deffed33f7f490311d2b15e7a8d28ea6131a0cae01c29b5e0febe197c2451cc1fd9e750c29f4b039856b950
Description: Suggest installation of packages in interactive bash sessions
Description-md5: add5e86211cf27a4446f18bd0c777aa8
Task: standard, ubuntu-wsl