All - Activity - Roman_Pope - DeepTalk - Deep Learning Community

Auto accept the libcudnn7 license

Of course I missed the whole section :

Use Lambda Stack in a shell script, Dockerfile, Ansible file, etc.*

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} && \
sudo apt-get update && …

I am trying to automate the Lambda Stack install on my Ubuntu 18.04 machine using a script, but I am not sure how to avoid for the libcudnn7 prompt to accept the license. I’ve tried the -y options with apt-get install and setting environmental variables such as export DEBIAN_FRONTEND=noninteractive …