Dear all,
I have just installed CUDA 10.1 (from the .deb file) for Linux Mint 19.1 and as far as I understood it has been installed correctly. The appropriate driver has been installed with CUDA authomatically.
Then I performed post-installation actions from the documentation https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions
The problem is that “nvcc -V” doesn’t see CUDA until I specify the $PATH. If I reboot the system or just close the terminal, it loses $PATH and the output is: “Command ‘nvcc’ not found”.
My question is:
How can I authomatize the $PATH determinition? Can I add the $PATH to any file (.bashrc or smth else) and if yes, then which file should I customize?
I’m not a prof in Linux and detalized answer will be relevant :)