How to Install Updates Via Command Line on Ubuntu
Topic: Ubuntu / LinuxPrev|Next
Answer: Use the upgrade
Command
If you simply want to upgrade all the packages currently installed on the system to their latest available versions without adding or removing anything, you can use the following two commands:
First begin by updating the package list using the following command:
Now run this command to upgrade the installed packages to their latest available versions:
A list of upgrades will be shown, and prompted to continue. Answer y for yes and press Enter.
You can optionally run dist-upgrade
command, which will perform any additional upgrades that involve changing dependencies by adding or removing new packages as necessary.
Related FAQ
Here are some more FAQ related to this topic:
- How to add attribute to an HTML element in jQuery
- How to move an element into another element using jQuery
- How to remove elements from DOM in jQuery