mportError: libGL.so.1: cannot open shared object file: No such file or directory code example

Example 1: ImportError: libGL.so.1:

sudo apt update
sudo apt install libgl1-mesa-glx

Example 2: libcusolver.so.9.0: cannot open shared object file: No such file or directory

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/

Example 3: libcublas.so.9.0: cannot open shared object file: No such file or directory

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/