转 安装 ubuntu后 软件处理 -感谢博主skykingf csdn

sudo apt-get update --fix-missing

sudo apt-get install maas

http://192.168.31.34:5240/MAAS

删除不必要的软件

http://blog.csdn.net/skykingf/article/details/45267517/

sudo apt-get remove libreoffice-common  

sudo apt-get remove unity-webapps-common

sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku  landscape-client-ui-install 

安装 vim

sudo apt-get install vim 

安装Chrome 直接访问 https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

可以下载

安装 

http://blog.csdn.net/kevinhg/article/details/5934462

dpkg -i file.deb 

安装 sogopinyin

vim /etc/apt/sources.list.d/ubuntukylin.list文件,加入ubuntu kylin的apt源

deb http://archive.ubuntukylin.com:10006/ubuntukylin trusty main

sudo apt-get update --fix-missing# 用这个命令 

sudo apt-get install sogoupinyin 

转自 http://www.linuxdiyf.com/linux/22309.html

解决方法也很简单,缺少一个key的话,导入它就好了。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8D5A09DC9B929006
跳过google源 cd etc etc/apt/sources.list.d   mv google-chrome.list  google-chrome.list.back-up
 

还是完整保存一下吧  http://blog.csdn.net/skykingf/article/details/45267517/  

http://blog.csdn.net/skykingf/article/details/45267517/

Ubuntu 16.04发布了,带来了很多新特性,同样也依然带着很多不习惯的东西,所以装完系统后还要进行一系列的优化。

1.删除libreoffice

libreoffice虽然是开源的,但是Java写出来的office执行效率实在不敢恭维,装完系统后果断删掉
[html] view plain copy
sudo apt-get remove libreoffice-common

2.删除Amazon的链接

[html] view plain copy
sudo apt-get remove unity-webapps-common

3.删掉基本不用的自带软件(用的时候再装也来得及)


[html] view plain copy
sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install
[html] view plain copy
sudo apt-get remove onboard deja-dup

这样系统就基本上干净了。

4.安装Vim

居然默认没有集成Vim神器,只能手动安装了。
[html] view plain copy
sudo apt-get install vim


5.设置时间使用UTC

[html] view plain copy
sudo vim /etc/default/rcS

将UTC=no改为UTC=yes

6.安装Chrome

到 https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 下载最新的安装文件。
然后
[html] view plain copy
sudo apt-get install libappindicator1 libindicator7
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get -f install
这样以后就可以apt安装和更新chrome浏览器了。

7.安装搜狗输入法

vim /etc/apt/sources.list.d/ubuntukylin.list文件,加入ubuntu kylin的apt源
[html] view plain copy
deb http://archive.ubuntukylin.com:10006/ubuntukylin trusty main

然后
[html] view plain copy
sudo apt-get update
sudo apt-get install sogoupinyin

这样就可以apt安装和更新搜狗输入法了。

8.安装WPS Office

目前MS一直不出Linux版的Office,只能凑合着用WPS了
[html] view plain copy
sudo apt-get install wps-office

9.安装Oracle Java

[html] view plain copy
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
由于系统自带的是OpenJDK,卸载OpenJDK之后会带有残留,导致运行

java -version
时第一行不是java的版本号,会是Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar这个提示,导致很多检测java版本号的脚本会运行出错,因此需要手动清除残留。

sudo rm /usr/share/upstart/sessions/jayatana.conf
删除/usr/share/upstart/sessions/jayatana.conf文件,重启之后再运行java -version就不会再有Picked
up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar提示了。


10.安装Sublime Text 3

[html] view plain copy
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text

11.安装经典菜单指示器

[html] view plain copy
sudo add-apt-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install classicmenu-indicator

12.安装系统指示器SysPeek

[html] view plain copy
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install syspeek


13.自定义DHCP网络的DNS Server IP地址

sudo vim /etc/dhcp/dhclient.conf文件,在第21行#prepend domain-name-servers 127.0.0.1;下一行添加如下2行使用aliyun和114的DNS
[html] view plain copy
prepend domain-name-servers 114.114.114.114;
prepend domain-name-servers 223.5.5.5;

这样可以优先使用aliyun的dns,次要使用114的DNS。

14.安装git和vpnc
git和vpn大家都懂的,程序员的好工具。
[html] view plain copy
sudo apt-get install vpnc git

15.安装axel

axel是Linux命令行界面的多线程下载工具,比wget的好处就是可以指定多个线程同时在命令行终端里下载文件。

sudo apt-get install axel

安装之后,就可以代替wget用多线程下载了。

16.安装openssh-server


sudo apt-get install openssh-server

安装之后,就可以在Win下用ssh工具远程登陆了,当然也多了一个安全隐患,如果不想远程登陆本机的话,可以不装openssh-server。
17.安装CMake和Qt Creator

CMake和Qt Creator是Linux下开发C++程序的神器,Ubuntu 15.04已经集成了最新版的Qt Creator (3.1.1)。
[html] view plain copy
sudo apt-get install cmake qtcreator


18.安装ExFat文件系统驱动

Ubuntu默认不支持exFat文件系统的挂载,需要手动安装exfat的支持

sudo apt-get install exfat-fuse

装上exfat-fuse之后就可以挂载exfat分区的磁盘了。

19.安装lnav

lnav工具是在终端界面看日志的神器

sudo apt-get install lnav

装上之后在终端里就可以用lnav彩色显示日志了。

20.安装unrar

系统默认不带解压缩rar文件的功能,手动安装unrar程序

sudo apt-get install unrar
装上之后就可以用命令解压缩rar文件了。
使用如下命令解压缩文件到当前目录。

unrar x test.rar

posted @ 2017-12-03 18:22  billhsu  阅读(143)  评论(1编辑  收藏  举报