标签:pos gedit cal rar path 配置 print x86 profile
cuda:
sudo gedit /etc/profile # 需要sudo权限
在末尾处添加(注意不要有空格):
export PATH=/usr/local/cuda-8.0/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
[可选] 建立cuda目录对应到cuda-8.0的软链接:
sudo ln -s /usr/local/cuda-8.0 /usr/local/cuda
CUDNN:
编辑.bashrc文件:
gedit ~/.bashrc
添加:版本自己改成自己的
export PATH=/usr/local/cuda-8.0/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
更新环境:(需要重启终端)
source ~/.bashrc
标签:pos gedit cal rar path 配置 print x86 profile
原文地址:https://www.cnblogs.com/cn-gzb/p/11707746.html