WEB TUTORIALS
PRACTICE EXAMPLES
HTML REFERENCES
CSS REFERENCES
PHP REFERENCES

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:

sudo apt-get update

Now run this command to upgrade the installed packages to their latest available versions:

sudo apt-get upgrade

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.

sudo apt-get dist-upgrade

Related FAQ

Here are some more FAQ related to this topic:

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties