Upgrade Ubuntu To New Version

علی ذوالفقار
1402/12/18 09:05:50 (149)
use this commands to upgrade ubuntu release to new version
repeat this steps to reach the latest stable release
check current version : 
    lsb_release -a

update packages : 
    sudo apt update
    sudo apt upgrade
    sudo apt dist-upgrade
    sudo apt autoremove

save installed apps to a text file for later : 
    dpkg --get-selections | sudo tee software_list.txt > /dev/null

install update manage if not install : 
    sudo apt install update-manager-core

upgrade ubuntu to new release : 
    sudo do-release-upgrade

check current version after upgrade : 
    lsb_release -a
Back