This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# update and install latest packages | |
sudo apt update --fix-missing && sudo apt upgrade -y --fix-missing | |
# install lambda stack (nvidia driver, cuda, cudnn) | |
# https://lambdalabs.com/lambda-stack-deep-learning-software | |
LAMBDA_REPO=$(mktemp) && \ | |
wget -O${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb && \ | |
sudo dpkg -i ${LAMBDA_REPO} && rm -f ${LAMBDA_REPO} && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt purge -y libopencv* python-opencv | |
sudo apt autoremove -y | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt install -y build-essential cmake pkg-config git | |
sudo apt install -y libjpeg-dev libtiff5-dev libpng-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt purge -y libopencv* python-opencv | |
sudo apt autoremove -y | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt install -y build-essential cmake pkg-config git | |
sudo apt install -y libjpeg-dev libtiff5-dev libpng-dev |