Thursday, 26 April 2018

Upgrading an existing Ubuntu

Follow the steps in my guide Installing Ubuntu along side Windows (i.e. dual boot) or Installing Ubuntu on a new device (i.e. single boot) up to the 'Installation type' screen:


On that screen this time select 'Upgrade' and continue by clicking 'Install Now'.

A release upgrade can also be performed through the command line. ZDNet have written a short article which summarises the steps involved.

Please donate if you find this guide useful using the following link http://goo.gl/nXWSGf.

Installing Ubuntu on a new device (i.e. single boot)

First insert the Ubuntu 'LiveUSB' into the device and after powering on immediately start the boot menu. This is normally achieved by 'mashing' the F7, F10 or F11 or another function key depending on you device.

Select the option to boot as the USB's first partition:


On booting from the ISO you will see a screen similar to this:


The top two options can be both be used for installing Ubuntu however the top option also allows running Ubuntu in 'live' mode which is similar to running it in a sandbox except that you can still access internal storage and any attached devices.

Having selected the first option above you will get the Ubuntu desktop displayed:


As mentioned it is possible to run commands in this 'live' mode for example to look at the current disk usage.

Using the 'df' command it can be seen that the disk is empty:


To perform the installation you can either click on the installation icon on the top left or double click the 'Install Ubuntu 18.04 LTS' icon:


Installation is menu driven with the small dots across the bottom indicating where you are in the menu cycle. First you must select the keyboard layout although the defaults are normally sufficient in most cases:


and then chose the what applications you would like to install. This release offers a new smaller and consequently quicker installation using the 'Minimal' option which is shown below. Again if in doubt just go with the defaults:


You should then obviously choose the 'Erase disk and install Ubuntu':


as this will partition the entire disk space to Ubuntu.

Alternatively if you had selected 'Somthing else' in the 'Installation type' menu you can specify in more detail the how the installation should be performed with more granualr control over disk space and partitions to use for the file system. Beginners should initially ignore this option unless comfortable with the following screen:


Once you've clicked 'Install Now' you will again get a warning message that you can typically safely ignore:


by clicking 'Continue' to move to the next menu. If you are connected to the internet the installer will try and determine you current location otherwise you can change this by clicking anywhere on the map with the effect being to set your timezone to what ever is appropriate to that location:


Next enter details about who you:


The first word of your name will automatically be suggested as your username and the computer name will become the 'host' name. Edit or accept them as appropriate:


Then enter your password. It will tell you how secure it thinks your password is:


Then enter your password again to reconfirm it. Note that if you chose a password longer than nine characters when entering it again you'll temporarily get a misleading 'Passwords do not match' message:


Just ignore this and carry on typing you password out for the full length:


After clicking 'Continue' the installation starts:


During which you will see some slides explaining key features of Ubuntu:






Don't worry about messages saying 'Removing packages' as this is normal:





Eventually it completes and waits for you next action which is convenient as you can leave the installation unattended:


As the displayed message suggests you can either carry on using the sandboxed 'live' Ubuntu by clicking 'Continue Testing' or reboot to try your newly installed Ubuntu. 

If you chose the 'Normal' installation it should look like the following:


There is also a brief introductory slide show highlighting the basics of the new GNOME desktop, whether to set up Livepatch (to automatically keep updated without rebooting), whether to send crash reports to Canonical and a brief introduction to popular applications that are available for installation:





Clicking on the icon on the bottom left shows the applications currently installed:




or for the 'Minimal' installation like this (including the brief introductory slide show):


with a smaller subset of applications installed:



A nice cosmetic touch is to try out the 'community theme' I wrote about here which changes the icons in the 'Normal' installation to look like:



:

or like this for the 'Minimal' installation:




One thing you may encounter early on is a message about updates. For example using a minimal installation as an example you might get the following message:


which if you click on 'Install Now' will prompt you for your password and then starts installing the updates:


and may require a reboot if the kernel has been updated:


Packages (as applications are known) can be installed through clicking on the 'Ubuntu Software' icon on the left or can be manually installed though the command line. For example installing 'gparted':


also automatically creates and icon. So before the installation it looked like:


and afterwards like:


Running 'gparted' shows the entire disk is allocated to Ubuntu:


There are plenty of guides on how to use Ubuntu and if you get stuck you should look at:
Please donate if you find this guide useful using the following link http://goo.gl/nXWSGf.