How to update Ubuntu: You are trying Ubuntu for a few weeks and you were pleasantly surprised: you did not expect that a free operating system and little promoted by hardware manufacturers could be so fast, stable and full of interesting applications. It also recognized all the hardware components of your PC at the first glance without forcing you to “struggle” with the drivers.
At this point I assume that you are going to use Ubuntu for a long time, and therefore I think it is a must to talk a little about its update system; how it works and what differences there are between the versions of the operating system that are periodically released by the developers. Nothing complicated, don’t worry!
Update Ubuntu it’s as simple as installing or using it every day. You should have understood that by now, right? So let’s not waste any more time chatting and let’s get straight to the heart of the matter. Take a few minutes of free time, consult the instructions I am about to give you and I assure you that the Ubuntu update system will no longer have any secrets for you!
Let’s start by making a fundamental distinction: that between the versions LTS (acronym for Long Term Support) and the standard release from Ubuntu. The former are released every 2 years and have technical support valid for 5 years (also within the company). The latter, however, are released every 6 months and have only 9 months of support.
It is possible to switch from one to the other through the update system included in the operating system, however in production areas it is highly recommended to stay with the LTS (which, however, are updated regularly to remain safe and in step with the times). I will tell you more about it shortly.
How to update Ubuntu and programs
To install updates to Ubuntu and the applications included in the operating system (LibreOffice, Firefox, etc.) you just have to press the button with the icon of the grid (bottom left), search for the program Software updates in the screen that opens and start the latter by clicking on its icon in the search results.
Wait, therefore, for the availability of updates to be checked and, on the next screen, click on the item Details of updates to view the complete list of programs and components that need to be updated. After that, make sure that all the items in the list are selected (otherwise deselect individual applications or components that you do not want to update), press the button Install now and type the password of your user account in Ubuntu (the one you use to access the system) to download and install all available updates.
At the end of the operation you may be asked to restart the computer: accept quietly, pressing the button Restart now. When you log in again, you should find yourself with all the system components and applications updated to the latest version available. To verify, start the utility again Software updates.
How to update Ubuntu to the latest version
For update Ubuntu moving from one LTS release to another or from one major standard release to another, you must follow the same procedure that we have seen together. You must therefore start the utility Software updates and proceed with the installation of the update that is proposed to you (if available).
Before moving on to a new version of Ubuntu (be it LTS or standard), however, it is important to perform some routine operations.
- Install all updates the current release of the system and the applications on the computer. This is the standard update procedure we have just seen together. If you have been notified of the availability of a new version of Ubuntu, you have probably already completed it (since without this procedure, the presence of a new major release is not signaled).
- Make a backup of all data by copying them to an external hard disk or to diskettes. The progress towards a new release does not involve the deletion of data but – you know how it is – prudence is never too much!
- Disable additional PPPs set in the “Other software” tab of the “Software updates” settings. If you don’t know how to proceed, open the application Software updates and click on the button Settings located at the bottom left. In the window that opens, select the tab Other software, click on the customized packages in the list (all except Canonical partner) and press the button Remove located at the bottom.
- Disable proprietary drivers installed on your computer (you can find them listed in the “Additional drivers” tab of the “Software updates” settings). If you don’t know how to proceed, open the application Software updates and click on the button Settings located at the bottom left. In the window that opens, select the tab Drivers added, click on the drivers to be deleted and press the button Remove.
After completing the configuration of the updates and putting into practice the routine operations listed above, to move to a later version of Ubuntu you just have to start the utility Software updates and answer Refresh to the request to update the operating system.
Then you have to type the password of your user account, click on the button Advance and wait for the latest version of Ubuntu to be first downloaded and then installed on the PC. The duration of the operation depends on the speed of your Internet connection and the general performance of the computer.
If you wish upgrade from an LTS version of Ubuntu to a standard release, you need to configure the operating system update utility to also “see” these versions of the software.
So click on the button Settings located at the bottom left and, in the window that opens, select the tab Updates. Then set the voice For any version in the dropdown menu Notify new versions of Ubuntu and click on the button Close.
Now you just have to start searching for Ubuntu updates again and accept the proposed version upgrade, as explained in the previous lines of this tutorial.
How to update Ubuntu from Terminal
You are studying the functioning of the Terminal Linux and would like to know if there is a way to update Ubuntu via the latter? Yes, of course! Even if it is not the best comfort, you can update Ubuntu from Terminal, and below you will find all the steps to be followed.
First, start the Terminal Ubuntu by clicking on the grid located at the bottom left, looking for the word “terminal” in the screen that opens and clicking on the first occurrence found. In the Terminal window that you should now see on the screen, type the following commands (after giving the first one, you will have to type the Ubuntu administration password).
sudo apt-get clean, to clear the package cache.
sudo apt-get update, to update the package list.
sudo apt-get dist-upgrade -y, to install updated versions of packages, dependencies and the Linux kernel (if available).
sudo do-release-upgrade, to upgrade to the next version of Ubuntu. When prompted, press Submit to continue.
sudo apt-get autoremove -y, to remove obsolete packages.
If you have problems during the Ubuntu update procedure, you can contact the Ubuntu Italia official forum, on which you will find many users ready to give you a hand and clarify the doubts you have about the operation of this very popular distro.