Package Manager Commands


package

apt-get update  
It will refresh updates available

apt-get upgrade
It will update all packages

apt-get dist-upgrade
It will show version update

apt-get install pkg
It will installing pkg

apt-get remove pkg
It will uninstall pkg

apt-get autoremove
It will removing packages obsotletos

apt-get -f install
It will try to fix packages

dpkg –configure -a
It will try to fix a broken package

dpkg -i pkg.deb
It will install file pkg.deb

/etc/apt/sources.list
It will show list of repositories APT

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s