ubuntu装机

1、安装jupyter notebook

sudo apt-get install python-pip

sudo pip install jupyter

(注 出现问题:pip遇到错误ImportError: No module named packaging.version的解决方法)

  1. wget https://bootstrap.pypa.io/get-pip.py  
  2. sudo python get-pip.py  

2、安装dukto

参考:https://software.opensuse.org/download.html?project=home:colomboem&package=dukto

对于 xUbuntu 16.04,请运行以下命令:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/home:colomboem.list"
sudo apt-get update
sudo apt-get install dukto

3、安装pycharm

下载安装包,解压,

进入./bin文件夹,运行./pycharm.sh

最后是创建快捷方式:sudo gedit /usr/share/applications/Pycharm.desktop

然后粘贴:

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /home/zoe/pycharm/pycharm-2016.2.3/bin/pycharm.sh (pycharm.sh所在路径)
Icon=/home/zoe/pycharm/pycharm-2016.2.3/bin/pycharm.png  pycharm.png所在路径)
Terminal=pycharm
Categories=Pycharm  

最后在计算机目录中进入/usr/share/applications 将Pycharm图标文件复制到桌面上 ,然后修改可执行命令行输入:

chmod +777 ./Pycharm.desktop

4、python opencv

sudo apt-get install python-opencv

5、teamviewer

网页下载deb安装包

6、matlab2017a

参考以下两篇博客

https://blog.csdn.net/u011713358/article/details/69659265


https://blog.csdn.net/hjxu2016/article/details/69948853

(1)挂载iso文件(注意要用绝对路径)

  1. mkdir /home//Matlab  
  2. sudo mount -t auto -o loop *dvd1.iso所在的绝对路径 /home//Matlab  

(2)开始安装

  1. sudo /home//Matlab/install  


注意:安装过程中选不联网

         秘钥在crack 文件夹的readme.txt中

(3)切换iso,挂载dvd2.iso

  1. sudo mount -t auto -o loop *dvd2.iso所在的绝对路径 /home//Matlab  

(4)安装完成,取消挂载,删除挂载的那个文件夹

  1. sudo umount /home//Matlab
  2.  sudo rm -r /home//Matlab 

(5)破解

  1. sudo mkdir /usr/local/MATLAB/R2017a/bin/licenses/  
  2. sudo cp license_standalone.lic所在的目录 /usr/local/MATLAB/R2017a/bin/licenses/  
  3. sudo cp libmwservices.so所在的目录 /usr/local/MATLAB/R2017a/bin/glnxa64/  

命令行启动matlab

  1. sudo /usr/local/MATLAB/R2017a/bin/matlab  

激活文件选择 /usr/local/MATLAB/R2017a/bin/licenses/license_standalone.lic

(6) 创建快捷方式

在ubuntu的software center中输入matlab点击安装,matlab的安装目录输入为/usr/local/MATLAB/R2017a

(7)解决快捷方式无法启动的问题:在主目录下 按 ctrl +h   打开隐藏文件 这时候可以看到   .matlab   文件夹

需要给这个文件夹添加权限:

  1. sudo chmod -R 777 .matlab  

7、pyqt4

参考:https://blog.csdn.net/xingchengmeng/article/details/53939539

(1)安装SIP

从 http://www.riverbankcomputing.co.uk/software/sip/download 下载压缩包 sip-4.19.tar.gz 解压

  1. tar zxvf sip-4.19.tar.gz -C /home/PyQt  
  2. cd /home/PyQt/sip-4.19  
  3. sudo python configure.py  
  4. sudo make install  

(2)安装Qt4依赖的库

  1. sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer  
  2. sudo apt-get install libqwt5-qt4 libqwt5-qt4-dev 

(3)安装PyQt4

从 https://sourceforge.net/projects/pyqt/files/PyQt4/ 下载压缩包 PyQt4_gpl_x11-4.12.tar.gz 解压

  1. tar zxvf PyQt4_gpl_x11-4.12.tar.gz -C /home/PyQt  
  2. cd /home/PyQt/PyQt4_gpl_x11-4.12  
  3. sudo python configure.py  
  4. sudo make  
  5. sudo make install  

(4)验证

python

import PyQt4

8、编译caffe 和python接口

https://blog.csdn.net/xue_wenyuan/article/details/52037121


https://blog.csdn.net/kemgine/article/details/78781377


https://blog.csdn.net/wuzuyu365/article/details/52430657

9.cuda

 https://blog.csdn.net/jonms/article/details/79318566


你可能感兴趣的:(装机)