Ubuntu system build
install ubuntu
sudo apt-get update
update langauage
{ sudo apt-get install ttf-wqy-zenhei g++ build-essential cmake libssl-dev openssh-server libX11-dev libXext-dev libXtst-dev subversion gfortran fcitx-table-wbpy freeglut3-dev csh dos2unix libatlas-base-dev }
sudo apt-get install ttf-wqy-zenhei
sudo apt-get install g++ build-essential
sudo apt-get install cmake
sudo apt-get install libssl-dev
sudo apt-get install openssh-server
sudo apt-get install libX11-dev libXext-dev libXtst-dev
sudo apt-get install subversion
sudo apt-get install gfortran
sudo apt-get install libatlas-base-dev
sudo apt-get install fcitx-table-wbpy
updata movie player
install qtcreator qtdesigner
sudo apt-get install freeglut3-dev
about intel+nvidia card install:
×××××××××××
1 please install cuda before update
2 sudo dpkg -i cuda-repo-ubuntu1204_7.0-28_amd64.deb
3 sudo apt-get update
4 sudo apt-get install cuda
×××××××××××
1 install cuda_7.5***.run, install drive + toolkit + sample
2 sudo apt-get remove --purge nvidia-*
3 sudo apt-get remove --purge xserver-xorg-video-nouveau
4 ctrl + alt + F1 into tty
注:以下更新驱动为340,目前测试其它驱动无法进入桌面
5 sudo service lightdm stop
6 sudo add-apt-repository ppa:xorg-edgers/ppa
7 sudo apt-get update
8 sudo apt-get install nvidia-340
9 sudo apt-get install nvidia-340-uvm
sudo apt-get install nvidia-modprobe
10 Re-correct symlinks of libGL.so (conflit with MESA) :
- For 64-bit version of your Linux distribution :
1: Add '#' at the beginning of the lines of these files : /etc/ld.so.conf.d/i386-linux-gnu_GL.conf et /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf
/etc/ld.so.conf.d/i386-linux-gnu_GL.conf :
#/usr/lib/i386-linux-gnu/mesa
/etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf :
#/usr/lib/x86_64-linux-gnu/mesa
2: Execute this command :
sudo ldconfig
- For 32-bit version of your Linux distribution :
Verify if the NVIDIA is correctly installed when you restart your computer at the end of the tutorial. I will add modifications if you have issues on 32-bit version of your Linux distribution.
11 Execute this command to update the startup menu :
sudo update-initramfs -u
注:对于无法进入桌面的情况:可以运行如下命令
sudo prime-select query ? if nvidia
sudo prime-select intel
sudo service lightdm start
install wiznote
$ sudo add-apt-repository ppa:wiznote-team
$ sudo apt-get update
$ sudo apt-get install wiznote
install Coin3D
back to classic UI:
sudo apt-get install gnome-session-flashback
注销后,在登录界面就能选择GNOME Flashback (Compiz)这个桌面环境了
exfat: 1、添加源:
sudo add-apt-repository ppa:relan/exfat
sudo apt-get update
2、安装fuse-exfat
sudo apt-get install fuse-exfat
1.安装gcc编译器
2 install qt, qtcreator
解决qtcreator Could not initialize GLX
./qtcreator -noload Welcome
install graphviz
install OpendTect
sun java:
$ sudo apt-add-repository ppa:flexiondotorg/java
$ sudo apt-get update
$ sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin
sudo apt-get install csh
sudo apt-get install dos2unix
b2b download software: qbittorrent
snapshot software: shutter
movieplayer software: GNOME Mplayer
kdesvn
google chromium 安装(Proxy SwitchySharp 等插件)
install flashplugin:sudo apt-get install flashplugin-installer,
sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-browser/plugins/
FAQ: 缺少公钥解决:sudo apt-key adv --keyserver keyserver.ubuntu.com --recv ID
FAQ: update error
sudo rm /var/lib/apt/lists/*
sudo rm -rf /var/lib/apt/lists/partial
输入法配置:
1、首先要把原来的 ibus 卸载掉
sudo apt-get remove ibus
2、添加源
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
3、安装,这里可以看到安装了多个输入法,可根据自己需要来安装
sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sogoupinyin
sudo apt-get install fcitx-table-all
im-switch -s fcitx -z default
4、重启linux
sudo shutdown -r now
安装完成,尽情享受吧!