How to Install and Uninstall command-not-found Package on Kali Linux

Last updated: May 06,2024

1. Install "command-not-found" package

Here is a brief guide to show you how to install command-not-found on Kali Linux

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

2. Uninstall "command-not-found" package

This guide let you learn how to uninstall command-not-found on Kali Linux:

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

3. Information about the command-not-found package on Kali Linux

Package: command-not-found
Version: 23.04.0-1+kali3
Architecture: all
Maintainer: Kali Developers
Installed-Size: 526
Depends: apt-file (>= 3.0~exp1~), lsb-release, python3-apt, python3:any
Suggests: snapd
Priority: optional
Section: admin
Filename: pool/main/c/command-not-found/command-not-found_23.04.0-1+kali3_all.deb
Size: 55976
SHA256: 42dc15f725661bb91c85a2aabfd7a9c03751f8a13358859b6f8f5782cb277522
SHA1: 6293f999b153d2aa2ceb83b1a32700a3f311adc6
MD5sum: b6684e41e6590c4ec4f6e60db4535054
Description: 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:
Original-Maintainer: Julian Andres Klode