To reinstall Lambda Stack in Ubuntu on a Tensorbook, run the following commands in a terminal:
- 
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 sudo apt -y update && sudo apt -y install lambda-stack-cuda lambda-tensorbookThese commands, together: - Remove existing aptsources that might conflict with the Lambda Stackaptsource.
- Uninstall NVIDIA software and deep learning libraries that might conflict with Lambda Stack packages.
- Reinstall Lambda Stack.
 
- Remove existing 
- 
grep LINUX /etc/default/grubIf the kernel boot options are already set correctly, this command will output the following: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="button.lid_init_state=open i915.enable_fbc=0" #GRUB_DISABLE_LINUX_UUID=trueNoteGRUB_CMDLINE_LINUX=might contain custom kernel boot options in addition tobutton.lid_init_state=openandi915.enable_fbc=0.If the kernel boot options are not already set correctly, run the following command: sudo sed -iE '/^GRUB_CMDLINE_LINUX=/ s/"$/button.lid_init_state=open i915.enable_fbc=0"/' /etc/default/grub && \ sudo update-initramfs -u -k all && \ sudo update-grubThis command adds kernel boot options needed for Ubuntu to run properly on the Tensorbook. NoteBe sure to note any custom kernel boot options before running this command. Running this command will remove all custom kernel boot options.
Lambda Stack is now reinstalled in Ubuntu.