Packages and backups
The apt-get command
Classic Debian/Ubuntu tool to install and upgrade packages.
Copy-ready examples
$ sudo apt-get updateRefresh the listYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- apt is the modern, friendlier version of apt-get.
FAQ
Are apt and apt-get the same?
apt is the modern, friendlier interface; apt-get is the classic one, more stable in scripts.
What does apt-get update do?
It refreshes the list of available packages; it installs nothing.
More Packages and backups commands
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course