Skip to content

Ramblings and Thoughts

  • About

Ramblings and Thoughts

Networking, Computers, Life

Managing Ubuntu Packages

January 27, 2019 by cbogdon

Installing Packages

To install a new package, you can use:

sudo apt-get install [package_name]

Upgrading Packages

Before you upgrade any Ubuntu packages, you need to update the package database

sudo apt-get update

Once your package data base is updated, then to upgrade anything do the following. This will update any applications, and the Ubuntu core system to the latest versions available. 

sudo apt-get upgrade

The following command will allow you to upgrade only a certain package:

sudo apt-get upgrade [package_name]

Removing Packages

To remove a package, you can use the following. This will actually keep all the configuration files:

sudo apt-get remove [package_name]

The following command will both remove the package and the configuration files:

sudo apt-get purge [package_name]

The following command will remove any packages that aren’t associated with any installed program:

sudo apt-get autoremove

Post navigation

Previous Post:

Installing LAMP Stack Under Ubuntu

Next Post:

Configuring PyCharm for using pytest as the test runner

Leave a Reply Cancel reply

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

Tags

Apache Carbon Copy Cloner Chrome Cisco Crashplan HTML iOS iClou Linux MySQL Nexus NXAPI Omnifocus OSX Outlook PyCharm Pytest Python Quicken Samsung TV Ubuntu VMWare Wordpress Youtube
© 2025 Ramblings and Thoughts | WordPress Theme by Superbthemes