A quick reference for refreshing / updating / upgrading packages on Ubuntu. The first script block runs all the updates, cleans repositories an finally removes unneeded packages. The second block installs ucaresystem-core which runs automatically – this integrates all the prior operations into one component and automates the process during package operations.
apt-get update: refreshes available repositories and updates package versions – it does not install or modify any packages.
apt-get upgrade: Installs / upgrades existing packages, should be run after the aforementioned update command.
# Run both commands in tandem:
# apt-get update && apt-get upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo add-apt-repository ppa:utappia/stable
sudo apt update
sudo apt install ucaresystem-core
Localpurge will remove packages from the local machine that have multi region / language data. It is configured by default to retain English (US).
sudo apt-get install localepurge