apt-get [Command]

apt-get [Command]

Command apt-get

apt-get install proftpd

proftpd package installs

apt-get remove proftpd

removes a package proftpd

apt-get remove purge proftpd

proftpd package and remove all configuration files

apt-get autoclean

remove packages that were not fully loaded

apt-get-f install

looks for software packages that do not work and repairs.

apt-cache stat

display information on all installed packages in the system

apt-cache search proftpd

searches for packages

apt-cache show

displays information about the programs

apt-get update

update a packages available. Information is taken from /etc/apt/sources.list
This command must be run after adding new repositories.

apt-get upgrade

checks for updates for all programs in the system and updates them

One Responseto “apt-get [Command]”

  1. admin says:

    dpkg –list | grep packagename

    The above command show if the package is installed or not

Leave a Reply

Your email address will not be published. Required fields are marked *