保护隐私
在系统设置--安全和隐私里我们可以进行设置.
更改外观
选择一个好看的壁纸,同时为了扩大桌面的空间,开启自动隐藏启动器.
安装aptitude
sudo apt-get update sudo apt-get install aptitude sudo aptitude update
安装必要库
sudo aptitude -y install build-essential sudo aptitude -y install gfortran g++ gcc sudo aptitude -y install libreadline6-dev sudo aptitude -y install libxt-dev
启动自动关闭蓝牙
sudo sed -i '/^exit 0/i\rfkill block bluetooth' /etc/rc.local
同步双系统时间
sudo sed -ie 's/UTC=yes/UTC=no/g' /etc/default/rcS sudo hwclock --systohc
启动挂载分区
本人是双硬盘,在第一个硬盘安装了w7和ubuntu,固态硬盘空间不大,希望ubuntu的下载软件等占用空间大的文件放在机械硬盘里,希望在ubuntu启动之后自动加载机械硬盘的第二个分区.可通过自带软件Disks设置
sudo sed -i '$a/dev/sdb5\t/mnt/sdb5\tntfs\tnone\t0\t0' /etc/fstab ln -sf /mnt/sdb5/$USER/download ~/
安装搜狗输入法
sudo add-apt-repository ppa:fcitx-team/nightly sudo aptitude -y update sudo aptitude -y install fcitx sudo aptitude -y install gdebi wget http://packages.linuxdeepin.com/deepin/pool/main/f/fcitx-sogoupinyin-release/fcitx-sogoupinyin_0.0.1-2_amd64.deb -nc -O ~/download/fcitx-sogoupinyin_0.0.1-2_amd64.deb sudo gdebi ~/download/fcitx-sogoupinyin_0.0.1-2_amd64.deb
没成功过,用google输入法了
将备份好的.bashrc,.profile,.bash_alias等配置文件复制到原来的位置
具体内容,详见:http://my.oschina.net/u/1791586/blog/327258
配置ls颜色
具体详见:http://my.oschina.net/u/1791586/blog/326948
安装vim,载入备份配置文件等
sudo aptitude -y install vim
详见:http://my.oschina.net/u/1791586/blog/326887
安装gnu版which
wget http://ftp.gnu.org/gnu/which/which-2.20.tar.gz -nc -O ~/download/which-2.20.tar.gz tar xzvf ~/download/which-2.20.tar.gz -C /tmp/ cd /tmp/which-2.20/ ./configure make sudo make install
安装jdk
wget http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz -nc -O ~/download/jdk-7u67-linux-x64.tar.gz sudo mkdir /usr/lib/jvm sudo tar zxvf ~/download/jdk-7u67-linux-x64.tar.gz -C /usr/lib/jvm sudo mv /usr/lib/jvm/jdk1.7.0_67/ /usr/lib/jvm/java vi ~/.bash_profile
在~/.bashrc添加如下信息:
export JAVA_HOME=/usr/lib/jvm/java export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
详见:http://www.cnblogs.com/plinx/archive/2013/06/01/3113106.html
安装flash
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.406/install_flash_player_11_linux.x86_64.tar.gz -nc -O ~/download/install_flash_player_11_linux.x86_64.tar.gz tar zxvf ~/download/install_flash_player_11_linux.x86_64.tar.gz -C /tmp/ sudo cp -r /tmp/usr/* /usr sudo cp /tmp/libflashplayer.so /usr/lib/mozilla/plugins/
压缩软件
sudo aptitude -y install rar unzip p7zip-full ncompress
安装filezila
sudo aptitude -y install filezilla
安装可分屏terminal
sudo aptitude -y install terminator sudo aptitude -y install dconf-tools gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"
安装右键打开terminal
sudo aptitude -y install nautilus-open-terminal
安装synaptic
sudo aptitude -y install synaptic
安装wps
sudo aptitude -y install ia32-libs wget http://kdl.cc.ksosoft.com/wps-community/download/a15/wps-office_9.1.0.4751~a15_i386.deb -nc -O ~/download/wps-office_9.1.0.4751~a15_i386.deb sudo dpkg -i ~/download/wps-office_9.1.0.4751~a15_i386.deb
自行下载windows字体deb,
sudo dpkg -i ~/download/fonts.win.wps.deb
详见:http://www.linuxidc.com/Linux/2013-06/85374.htm
安装qq
sudo aptitude -y install wine wget www.longene.org/download/WineQQ2012-20120531-Longene.deb -nc -O ~/download/WineQQ2012-20120531-Longene.deb #sudo gdebi ~/download/WineQQ2012-20120531-Longene.deb
没成功
安装ubuntu-tweak
sudo add-apt-repository ppa:tualatrix/ppa sudo aptitude -y update sudo aptitude -y install ubuntu-tweak
安装texlive(详见:http://www.cnblogs.com/lienhua34/p/3675027.html)
wget http://mirrors.hust.edu.cn/CTAN/systems/texlive/Images/texlive2014.iso -nc -O ~/download/texlive2014.iso sudo mkdir /media/texlive sudo mount ~/download/texlive2014.iso /media/texlive cd /media/texlive sudo ./install-tl sudo umount /media/texlive sudo aptitude -y install texinfo
在~/.bashrc中添加:
export MANPATH=/usr/local/texlive/2014/texmf-dist/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2014/texmf-dist/doc/info:$INFOPATH export PATH=/usr/local/texlive/2014/bin/x86_64-linux:$PAT
安装lapack
sudo aptitude -y install liblapack-dev
安装perl
wget http://www.cpan.org/src/5.0/perl-5.20.1.tar.gz -nc -O ~/download/perl-5.20.1.tar.gz tar -xzf ~/download/perl-5.20.1.tar.gz -C /tmp cd /tmp/perl-5.20.1 ./Configure -des make make test sudo make install
安装R语言
sudo aptitude -y install tcl-dev tk-dev sudo aptitude -y install libicu-dev liblzma-dev sudo aptitude -y install libpng12-dev libjpeg-dev libtiff4-dev libcairo2-dev wget http://mirrors.xmu.edu.cn/CRAN/src/base/R-3/R-3.1.1.tar.gz -nc -O ~/download/R-3.1.1.tar.gz tar zxvf ~/download/R-3.1.1.tar.gz -C /tmp/ cd /tmp/R-3.1.1/ ./configure --enable-R-shlib --with-tcl-config=/usr/lib/tclConfig.sh --with-tk-config=/usr/lib/tkConfig.sh make sudo make install wget http://download1.rstudio.org/rstudio-0.98.978-amd64.deb -nc -O ~/download/rstudio-0.98.978-amd64.deb sudo dpkg -i ~/download/rstudio-0.98.978-amd64.deb
具体内容,详见:http://my.oschina.net/u/1791586/blog/335456
Python语言相关
具体内容,详见:http://my.oschina.net/u/1791586/blog/325784
安装Eclipse
wget http://mirror.hust.edu.cn/eclipse//technology/epp/downloads/release/luna/SR1/eclipse-standard-luna-SR1-linux-gtk-x86_64.tar.gz -nc -O ~/download/eclipse-standard-luna-R-linux-gtk-x86_64.tar.gz sudo tar zxvf ~/download/eclipse-standard-luna-R-linux-gtk-x86_64.tar.gz -C /opt/
在.bash_alias中添加:
alias eclipse='/opt/eclipse/eclipse'
具体内容,详见: