
ubuntu
srf_code
这个作者很懒,什么都没留下…
展开
-
pip设置阿里云的镜像源
linux下运行命令#在当前用户主目录创建.pip文件夹>cd ~>mkdir .pipgedit pip.conf然后写入如下内容并保存 [global] trusted-host = mirrors.aliyun.com index-url = http://mirrors.aliyun.com/pypi/simple...原创 2018-03-26 09:42:28 · 2995 阅读 · 0 评论 -
Linux/Ubuntu 中卸载软件的几种命令
1、在终端里 apt-get安装的软件:安装软件sudo apt-get install softname1 softname2softname3……卸载软件 sudo apt-get remove softname1 softname2 softname3……卸载并清除配置sudo apt-get remove --purgesoftname1sudo apt-get -y aut...转载 2019-02-15 19:15:50 · 2230 阅读 · 0 评论 -
Ubuntu实时监控GPU显存和CPU内存的使用情况
在跑一些程序,例如deep learning的时候,总是希望查看一下cpu、gpu、内存的使用率。1. cpu、内存使用top命令$ top这样会得到所有进程的CPU利用率和内存使用情况,如果想查看其中特定进程的CPU利用率和内存情况,可以使用以下命令:$ top -p pid其中pid为所想查看的进程的进程号(可以从top命令)中得到。2. gpu、显存大家都...原创 2018-08-20 10:29:47 · 5772 阅读 · 0 评论 -
ubuntu16.04安装matlab2014a
链接:http://www.linuxdiyf.com/linux/13853.html1、下载Matlab:http://pan.baidu.com/s/1pJGF5ov [Matlab2014a(密码:en52)]2、挂载iso(需新建matlab_iso文件夹):$ sudo mount -o loop MATHWORKS_R2014A.iso ~/matlab_iso3、开始安装:$ cd...转载 2018-04-02 15:28:44 · 454 阅读 · 0 评论 -
gcc降级
ubuntu的gcc编译器是5.4.0,然而cuda8.0不支持5.0以上的编译器,因此需要降级,把编译器版本降到4.9: 在terminal中执行:sudo apt-get install g++-4.9sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20sudo update-alternatives...转载 2018-03-26 10:55:55 · 227 阅读 · 0 评论 -
Ubuntu18.04英伟达驱动的安装
1. 在官网下载最新驱动(.run文件),然后本地安装。2. 卸载原有N卡驱动#for case1: original driver installed by apt-get:sudo apt-get remove --purge nvidia* #for case2: original driver installed by runfile:sudo chmod +x *....原创 2019-02-14 12:44:09 · 5041 阅读 · 2 评论