Installing And Removing Application


sudo apt-get install leafpad

sudo           Installing as root
apt-get        Install and remove apps
Install        Action
leafpad        Application

sudo apt-get --purge remove leafpad

remove   Removes installed Packages (NOT include conf files)
purge    Purge removes conf files related to packages.

apt-get update

Used to re-synchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list. An update should always be performed before an upgrade or dist-upgrade.

apt-get upgrade

Used to install latest version of packages

apt-cache search vlc

Finds vlc in repositories



apt-cache policy nano

This will show you the the package is installed or not if it is then it will show you the current version and latest version.

No comments:

Post a Comment

Popular Posts