Upgrade to the latest version of Ubuntu
-Using terminal
1. Make sure you have the update-manager-core package
sudo apt install update-manager-core
2. To choose which version of Ubuntu you want
whether an LTS version or a normal version.
In the file /etc/update-manager/release-upgrades,
we need to make sure Prompt=normal for normal releases.
(you can also choose Prompt = lts for only LTS releases)
**Use any text editor**
sudo gedit /etc/update-manager/release-upgrades
Edit the Prompt option as per your wish. It is always better to keep it normal.
3. Pre-upgrade steps
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt upgrade
sudo apt dist-upgrade
Make sure all the packages are up to date in your system.
Optionally, use
sudo apt autoremove
to clear unwanted packages
4. Check whether a new version is available for your system
do-release-upgrade -c
5. UPGRADE~!
sudo do-release-upgrade
The process starts!!!
Press ENTER and type "Y" whenever required.
Wait for it to reboot automatically.
Your system is ready to go!
Good luck!
Comments
Post a Comment