How to Install command-not-found software package in Debian 7 (Wheezy)

How to Install command-not-found software package in Debian 7 (Wheezy)

command-not-found software package provides Suggest installation of packages in interactive bash sessions, you can install in your Debian 7 (Wheezy) by running the commands given below on the terminal,

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

command-not-found is installed in your system.

Make ensure the command-not-found package were installed using the commands given below,

$ sudo dpkg-query -l | grep command-not-found *

You will get with command-not-found package name, version, architecture and description in a table

command-not-found package basic information:

Distro Debian 7 wheezy
Section Administration Utilities
Package command-not-found
Version 0.2.38-1
Description Suggest installation of packages in interactive bash sessions
Sub Section Admin


See Also, How to uninstall or remove command-not-found software package from Debian 7 (Wheezy)?