DEV Community

Ankit Kumar
Ankit Kumar

Posted on

How to upgrade/install Ubuntu 20.04 LTS (Focal Fossa)

How to upgrade/install Ubuntu 20.04 LTS (Focal Fossa)
The latest version of ubuntu 20.04 LTS released on 23rd April 2020. This article will show you how to upgrade into the new version and also how to install ubuntu from scratch.
Installation requirement for Ubuntu 20.04 LTS is
2 GHz dual-core processor
4 GB RAM
25 GB of hard drive space (or USB stick, memory card or external drive but see Live CD for an alternative approach)
VGA capable of 1024x768 screen resolution
Either a CD/DVD drive or a USB port for the installer media
Internet access is always helpful

So let's start:-
Part 1: Upgrading ubuntu 18.04 to ubuntu 20.04 through the command line
If you're using old ubuntu version like ubuntu 18.04 LTS then you can directly upgrade into it through the command line. Make sure to backup your important files into secondary storage for better precautions.
step 1: Upgrade all install packages on ubuntu using
sudo apt update && sudo apt upgrade
step 2: Now you've to make sure to install update-manager-core package by using
sudo apt install update-manager-core
step 3: The final command for checking & upgrading into the new LTS version using
sudo do-release-upgrade
This will search for a newer version and If it finds a newer version then it will require around 1.5 GB data and ask you to install new packages. After choosing yes, your procedure will start accordingly.
If you're showing this:
Note: Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release 
set Prompt=normal in /etc/update-manager/release-upgrades.
that means you might not see the upgrade immediately, as it takes time from the older version. But if you want to upgrade forcefully, you can do it by using
sudo do-release-upgrade -d
"-d" refers to get the latest support version forcefully.
Part 2: Fresh installation from a live USB/CD.
step 1: Download the iso files of latest ubuntu release from their official site https://releases.ubuntu.com/20.04/
step 2: Create a bootable disk. You can use rufus,( https://rufus.ie/ ) easy to use and faster too.
Press START after choosing ISO filestep 3: Prepare your PC to boot from USB.
Every bios screen is different so for better help. You can check this page https://support.endlessm.com/hc/en-us/articles/210527103-How-do-I-start-boot-my-computer-from-a-USB-device-or-DVD-with-Endless-OS-
for better help.
step 4: Starting the installation.
Loading screen for ubuntu 20.04step 5: In the opening screen you've to choose between try ubuntu and install ubuntu.
step 6: Choose your preferred language and keyboard layout.
step 7: Get connected to any wireless, if any:
step 8: Install third party software and updates by choosing them and click on continue further.
step 9: Go for something else if you need dual booting.
step 10: Let's allocate, swap memory = 2 * Ram Size for better performance of RAM and Create / partition of remaining unallocated size, Select the free space and then Click on the "+" symbol to create a new partition.
e.g: / - 8 GB (for root space)
SWAP - 2 GB (for RAM Performance)
/home (for home directory)
I've allocated like this :
step 12: Proceed to continue for further steps.
step 13. Select a region and input your account info like user and password details and at last, ubuntu is started to install. It'll take a few minutes to install and then restart your system.
Your ubuntu installation is ready. Enjoy Ubuntu.

References:
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu is distributed on three types of images described below. The desktop image allows you to try Ubuntu without…releases.ubuntu.com
The Beginner's Guide To Installing Ubuntu Linux 18.04 LTS
Grab a USB stick and start your Linux journey!medium.com
How to install Ubuntu 18.04 alongside Windows 10
After so many efforts I've figured out what went wrong while installing. Now at last I've installed Ubuntu 18.04…askubuntu.com

Author:
Ankit Kumar
Thank you for reading this far. If you enjoyed this post, please like,share and comment. For more contacts and query you can reach me at ankit.2official@gmail.com. Follow me on Dev.to if you're interested in more in-depth and informative write-ups like these in the future!

Top comments (0)