红联Linux门户
Linux帮助

Linux玩挂之后,重装笔记

发布时间:2015-05-20 15:36:32来源:www.turnright.xyz/作者:向右走

系统版本:Ubuntu 15.04

Linux玩挂之后,重装笔记

连接无线网络

Qualcomm Atheros AR9485 无线网卡和一些模块冲突,需要把冲突模块加入黑名单,首先加入禁用模块,接入网络:

sudo rmmod acer_wmi


将冲突模块加入黑名单:

echo "blacklist acer-wmi" | sudo tee -a /etc/modprobe.d/blacklist.conf


更新系统

sudo apt-get update
sudo apt-get dist-upgrade

更新完系统最好重启下


安装firefox的flash插件

sudo apt-get install flashplugin-installer


搜狗拼音

下载链接:

http://pinyin.sogou.com/linux/


安装下载工具axel

sudo apt-get install axel


安装Nvidia驱动和开发环境CUDA,官网没有Ubuntu 15.04 的包,下载 14.10 的包也可以使用

axel -n 10 http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/rpmdeb/cuda-repo-ubuntu1410-7-0-local_7.0-28_amd64.deb
sudo dpkg -i '/home/tmh/下载/cuda-repo-ubuntu1410-7-0-local_7.0-28_amd64.deb'
sudo apt-get update
sudo apt-get install cuda


安装pyhton科学计算环境

python-pip和python-dev:

sudo apt-get install python-pip
sudo apt-get install python-dev


ipython:

sudo apt-get install ipython
sudo pip install tornado
sudo apt-get install libzmq-dev
sudo pip install pyzmq
sudo pip install pygments


numpy、scipy、matplotlib、sympy:

sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get install python-matplotlib
sudo apt-get build-dep python-numpy
sudo apt-get build-dep python-scipy
sudo pip install sympy


Spyder集成环境编辑器:

sudo apt-get install spyder
sudo pip install spyder --upgrade


texlive 2014

安装:

axel -n 10 http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
$unzip
cd texlive
sudo ./install-tl


加入环境变量:

sudo gedit ~/.bashrc
#在打开的文件后面加入#
# TeX Live 2014
export MANPATH=${MANPATH}:/usr/local/texlive/2014/texmf-dist/doc/man
export INFOPATH=${INFOPATH}:/usr/local/texlive/2014/texmf-dist/doc/info
export PATH=${PATH}:/usr/local/texlive/2014/bin/x86_64-linux


主题美化

numix主题和图标(可在Unity Tweak Tool里面设置):

sudo apt-add-repository ppa:numix/ppa
sudo apt-get update && sudo apt-get install numix-gtk-theme && sudo apt-get install numix-icon-theme-circle


Unity Tweak Tool:

sudo apt-get install unity-tweak-tool


docky小工具:

sudo apt-get install docky


科学上网

git clone https://github.com/XX-net/XX-Net.git
sudo apt-get install libnss3-tools
sudo apt-get install python-notify


curl

sudo apt-get install curl


vim

sudo apt-get install vim
sudo apt-get install vim-gtk


vim配置:

sudo curl http://j.mp/spf13-vim3 -L -o - | sh


chromium

sudo apt-get install chromium-browser


chromium的flash插件”pepperflashplugin“(需要科学上网安装):

sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install


JAVA

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get install oracle-java8-installer


电子书管理软件calibra

sudo apt-get install calibre


命令行版的网易云音乐NetEase-MusicBox

sudo apt-get install mpg123
https://github.com/darknessomi/musicbox.git


推荐个QT截面的网易云音乐(需要安装py3QT5):

https://git.oschina.net/zjuysw/NetEaseMusic.git


虚拟机virtualbox

sudo apt-get install virtualbox


QT 5

axel -n 10 http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run

直接打开安装即可


图像处理软件gimp

sudo apt-get install gimp


makefile生成工具cmake

sudo apt-get install cmake cmake-gui


强大的编辑器sublime

下载连接:

http://www.sublimetext.com/3


安装安装插件的插件:

import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)


Quartus

下载连接:

http://dl.altera.com/


安装ModelSim运行的32位依赖库:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install gcc-multilib g++-multilib \
lib32z1 lib32stdc++6 lib32gcc1 \
expat:i386 fontconfig:i386 libfreetype6:i386 libexpat1:i386 libc6:i386 libgtk-3-0:i386 \
libcanberra0:i386 libpng12-0:i386 libice6:i386 libsm6:i386 libncurses5:i386 zlib1g:i386 \
libx11-6:i386 libxau6:i386 libxdmcp6:i386 libxext6:i386 libxft2:i386 libxrender1:i386 \
libxt6:i386 libxtst6:i386


深度音乐

添加深度音乐的源:

sudo add-apt-repository ppa:noobslab/deepin-sc

在Ubuntu软件中心把vivid的源换成utopic,如下图

Linux玩挂之后,重装笔记

在ubuntu软件中心安装”Ubuntu 额外的版权受限程序“:
Linux玩挂之后,重装笔记


安装深度音乐:

sudo apt-get update
sudo apt-get install deepin-music-player


附加安装
Matlab、mathematica


参考官方手册
OpenCV

自动安装方法:

https://github.com/sgjava/install-opencv


使用Ubuntu 15.04基本知识一点通:http://www.linuxdiyf.com/linux/12231.html