Automatic installation of NVIDIA 3090 video card driver

#/bin/bash


wget ftp://172.21.230.10:/driver/nvidia-3090/3090_NVIDIA-Linux-x86_64-455.23.04.run

chmod 755 3090_NVIDIA-Linux-x86_64-455.23.04.run

systemctl stop lightdm

./3090_NVIDIA-Linux-x86_64-455.23.04.run --ui=none --no-questions 2>&1

nvidia-smi -q|grep "Product Name"
if [ $?-eq 0 ];
then
        echo "The driver installation was successful."
else
        echo "Driver installation failed"

fi

— UI =none is no interface –no-questions is the default installation

Read More: