I normally update my Linux Debian using the Update manager, but how can I do that using the terminal?
Asked
Active
Viewed 5.7k times
1 Answers
13
On Debian and most Debian-based distributions (including Ubuntu):
Refresh the package database:
apt update,apt-get updateoraptitude updateInstall new packages:
apt upgrade,apt-get upgrade, oraptitude safe-upgrade.apt(-get) upgradeonly updates existing packages and is safer, whileapt full-upgradeorapt-get dist-upgrademay install new dependencies or remove existing ones.
(See also: apt-get vs aptitude)