Skip to content

Instantly share code, notes, and snippets.

@Mahedi-61
Last active January 19, 2020 20:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Mahedi-61/23ac434ec5214f42e2249f24eafcb258 to your computer and use it in GitHub Desktop.
Save Mahedi-61/23ac434ec5214f42e2249f24eafcb258 to your computer and use it in GitHub Desktop.
steps require to install ubuntu 18.04 LTS from 16.04 LTS
## Upgrading ubuntu from 16.04LTS to 18.04LTS using command line
# first update previous version
sudo apt update && sudo apt upgrade && sudo apt dist-upgrade && sudo apt autoremove
# update manager core
sudo apt install update-manager-core
# make prompt=lts if not in following file
sudo nano /etc/update-manager/release-upgrades
# now upgrade next lts version (after late july 2018)
sudo do-release-upgrade
# things to do after installing 18.04 LTS
sudo apt update && sudo apt upgrade
sudo apt install ubuntu-restricted-extras
sudo apt install gnome-tweak-tool
sudo apt install dconf-tools
# installing cuda driver
sudo apt install nvidia-cuda-toolkit
# after installation run nvcc -V to confirm. then
# installing latest nvidia driver
sudo apt-add-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-driver-396
# after a reboot, you can run nvidia-smi
# don't upgrade pip3 to 10.0
sudo apt install vlc
echo "enjoy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment