Using apt-get to manage software

apt-get used to manage packages in Debian/Ubuntu server.

Install A Package

apt-get install PKG_NAME

Uninstall a software (keep configuration file)

apt-get remove PKG_NAME

Uninstall a software and its configuration files

apt-get --purge remove PKG_NAME

To upgrade a software

apt-get upgrade PKG_NAME

Update Package Info

apt-get update

Remove Unwanted Programs

apt-get autoremove

Back to apt

Comments

Leave a Reply

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