Follow these instructions to upgrade Ubuntu and Lambda Stack to the latest versions.
-
Uninstall (purge) the existing Lambda Stack by running:
sudo rm -f /etc/apt/sources.list.d/{graphics,nvidia,cuda}* && \ dpkg -l | \ awk '/cuda|lib(accinj64|cu(blas|dart|dnn|fft|inj|pti|rand|solver|sparse)|magma|nccl|npp|nv[^p])|nv(idia|ml)|tensor(flow|board)|torch/ { print $2 }' | \ sudo xargs -or apt -y remove --purge
-
Run
sudo do-release-upgrade
to upgrade Ubuntu. -
Install the latest Lambda Stack by running
wget -nv -O- https://lambdalabs.com/install-lambda-stack.sh | sh -
. -
Run
sudo reboot
to reboot your computer.