This is the multi-page printable view of this section. Click here to print.
Linux
- 1: How do I prevent my system from suspending or sleeping?
- 2: How do I remove and reinstall Lambda Stack?
- 3: How do I upgrade software in Ubuntu?
- 4: How do I upgrade Ubuntu and Lambda Stack?
- 5: Where can I download recovery images?
1 - How do I prevent my system from suspending or sleeping?
To prevent your system from going to sleep or suspending, run:
sudo systemctl mask hibernate.target hybrid-sleep.target \
suspend-then-hibernate.target sleep.target suspend.target
2 - How do I remove and reinstall Lambda Stack?
To remove and reinstall Lambda Stack:
-
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
-
Install the latest Lambda Stack by running:
-
If you’re installing on a Vector or Tensorbook:
sudo apt -y update && sudo apt -y install lambda-stack-cuda
-
If you’re installing on a Hyperplane or Scalar:
sudo apt -y update && \ sudo apt -y install --no-install-recommends lambda-server && \ sudo apt -y install --no-install-recommends nvidia-headless-525-server && \ sudo apt -y install --no-install-recommends nvidia-fabricmanager-525 && \ sudo apt -y install lambda-stack-cuda
-
3 - How do I upgrade software in Ubuntu?
Ubuntu regularly checks for new versions of software installed from an apt
repository, including:
- Ubuntu system updates
- Ubuntu security updates
- Lambda Stack
However, only Ubuntu security updates are automatically installed. Other updates must be installed manually.
To manually check for and install new versions of software installed from an
apt
repository, run the following commands in a terminal:
sudo apt-get update && sudo apt-get upgrade
Note
Software that was installed from outside of an apt
repository won’t be
upgraded automatically or by running the above commands. Examples of software
installed from outside of an apt
repository include software:
- Installed using
pip
- Installed in Anaconda
- Installed using
snap
- Installed from a
dpkg
- Downloaded from a Git repository
- Installed from a tarball
- Built from source code
4 - How do I upgrade Ubuntu and Lambda Stack?
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
. -
Install the latest Lambda Stack by running:
-
If you’re installing on a Vector or Tensorbook:
sudo apt -y update && sudo apt -y install lambda-stack-cuda
-
If you’re installing on a Hyperplane or Scalar:
sudo apt -y update && \ sudo apt -y install --no-install-recommends lambda-server && \ sudo apt -y install --no-install-recommends nvidia-headless-470-server && \ sudo apt -y install --no-install-recommends nvidia-fabricmanager-470 && \ sudo apt -y install lambda-stack-cuda
-
5 - Where can I download recovery images?
Workstations
Recovery ISO images for Vector can be downloaded using the following links:
- Lambda Recovery (Bionic) (based on Ubuntu 18.04 LTS bionic)
- Lambda Recovery (Focal) (based on Ubuntu 20.04 LTS focal)
- Lambda Recovery (Jammy) (based on Ubuntu 22.04 LTS jammy)
Tensorbook
The recovery ISO image for Tensorbook can be downloaded using the following link:
- Lambda Recovery for Tensorbook (Jammy) (based on Ubuntu 22.04 LTS jammy)
Note
This recovery image is for the Razer x Lambda Tensorbook only and won’t work on older Tensorbook models.Note
The recovery images contain software distributed under various licenses, including the Software License Agreement (SLA) for NVIDIA cuDNN. The licenses can be viewed in the recovery images at/usr/share/doc/*/copyright
. By using the software contained in the recovery
images, you agree to these licenses.