How to update Ubuntu Linux


 Need the latest and greatest in Ubuntu software? You don’t need to be a Linux pro. Read on to discover how to update classic Ubuntu Linux, an official Ubuntu flavor, or virtually any Ubuntu-based distro.

What You Need to Know About Updating

Ubuntu and most of its derivatives offer two methods for updating: a command-line interface tool (called APT) for those who don’t mind using the terminal, and an app called Software Updater for those who prefer a comfortable desktop experience. Software Updater in fact uses APT in the background, managing it for you so you don’t have to remember any commands.

Some Ubuntu-based distros have an app that’s different but similar to Software Updater, like Linux Mint‘s Update Manager. Others allow you to update through an application browser, like Elementary OS‘s AppStore. The instructions below will work much the same for them.

How to Update Ubuntu in the Desktop

You can begin updating Ubuntu on the desktop by opening Software Updater. Click the “Show Applications” button (nine boxes forming a square), or hit the Super key.




With the application menu open, start typing “Software Updater.” You should see it appear in the list of applications. Click it to launch.


Software Updater will first search for available updates, then show you a list of them with checkboxes you can uncheck should you not want them. If you want to update everything, leave everything checked.

Click “Install Now” once you’re satisfied with the selection.


You’ll be prompted for your password for authentication purposes. Type it in and press Enter.


Once you’ve been authenticated, the installation will begin.




This can take some time, and you may be prompted to reboot your machine once it’s complete. After that, you’re free to use your nice and shiny up-to-date PC!

How to Update Ubuntu in the Terminal

Just like its ancestor, Debian, Ubuntu uses the command line tool APT for managing packages. Ubuntu’s derivatives use it too, like Xubuntu, Raspberry Pi OS, and Linux Mint. These instructions will work for them exactly the same.

Open a terminal and enter the following command to check for updates.

sudo apt update

You’ll be asked to confirm your password. Type it in and press Enter.After APT checks all your repositories, it’ll tell you how many package upgrades are available. If there’s at least one, you can proceed to the next step.




Pass the following command to start upgrading your packages.

sudo apt upgrade

You’ll get a readout of all available package updates followed by a prompt to confirm that you want to apply the updates. Type y and press Enter to confirm or use n to cancel.

Want to script like the pros? You can automate the whole process of a full system upgrade in just one command string.
sudo apt update && sudo apt upgrade -y

Conclusion 

Updating keeps you a step ahead of malicious software and provides you security patches. Which method you use that is not important, important is you update your systems.
If you think my blog is useful then please bookmark my blog so that google baba can give me space in search results.

Post a Comment

Previous Post Next Post