Ubuntu Upgrade: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 53: Line 53:


|}
|}
==Install Packages From ISO==
<syntaxhighlight lang="bash">
mkdir -p ~/Documents/ubuntu-playground/
wget -cq https://mirrors.gbnetwork.com/ubuntu-releases/24.04/ubuntu-24.04-desktop-amd64.iso -P ~/Documents/ubuntu-playground
sudo mkdir /mnt/iso/ && sudo mount -o loop,ro ~/Documents/ubuntu-playground/ubuntu-24.04-desktop-amd64.iso /mnt/iso
cat <<'APT' | sudo tee -a /etc/apt/sources.list >/dev/null
# install packages from iso file
deb file:///mnt/iso/ noble main restricted
APT
</syntaxhighlight>


==References==
==References==

Revision as of 02:34, 1 June 2024

sudo apt update
sudo apt upgrade

Upgrade » 22.04 » 24.04

sudo sed -i 's|jammy|noble|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean 
sudo reboot
sudo apt install xorg gnome gnome-shell --no-install-recommends
sudo apt install --reinstall ubuntu-gnome-desktop
sudo reboot

Upgrade » 23.10 » 24.04

sudo sed -i 's|mantic|noble|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean 
sudo reboot
sudo apt install xorg gnome gnome-shell --no-install-recommends
sudo apt install --reinstall ubuntu-gnome-desktop
sudo reboot

Install Packages From ISO

mkdir -p ~/Documents/ubuntu-playground/
wget -cq https://mirrors.gbnetwork.com/ubuntu-releases/24.04/ubuntu-24.04-desktop-amd64.iso -P ~/Documents/ubuntu-playground
sudo mkdir /mnt/iso/ && sudo mount -o loop,ro ~/Documents/ubuntu-playground/ubuntu-24.04-desktop-amd64.iso /mnt/iso
cat <<'APT' | sudo tee -a /etc/apt/sources.list >/dev/null

# install packages from iso file
deb file:///mnt/iso/ noble main restricted
APT

References