最近安装了ubuntu14.04,安装时一般分三个区/,/swap和/home,具体/大小为10G-15G,/swap是内存大小的两倍,
比如,我的内存是2G,那么/swap就是4G,剩下的给/home。
我的是用U盘安装,用的工具是
简单配置了一下:universial usb installer,很好用很强大很简单。
1、 安装搜狗输入法,直接在官网上下在deb安装包,下载完直接双击安装就可以用了,这回ubuntu真无敌了。
2、安装g++,用命令行安装:sudo apt-get install g++
用命令g++ --version查看安装版本
3、vim可以直接在软件源里安装或用命令sudo apt-get install vim
4、关于装ubuntu14.04的时候遇到 sudo apt-get update出现 错误,说明源不可用了,那么就换一下源就可以了。
更换方法:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup //备份源
sudo gedit /etc/apt/sources.list //打开删除其中的内容,加入下面的内容
#163源
deb http://mirrors.163.com/ubuntu/ trusty
main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/ trusty-security main restricted universe
multiverse
deb
http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe
multiverse
deb
http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe
multiverse
deb
http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe
multiverse
deb-src
http://mirrors.163.com/ubuntu/ trusty main restricted universe
multiverse
deb-src
http://mirrors.163.com/ubuntu/ trusty-security main restricted universe
multiverse
deb-src
http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe
multiverse
deb-src
http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe
multiverse
deb-src
http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe
multiverse
#sohu源
deb http://mirrors.sohu.com/ubuntu/ trusty
main restricted universe multiverse
deb
http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe
multiverse
deb
http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe
multiverse
deb
http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe
multiverse
deb
http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe
multiverse
deb-src
http://mirrors.sohu.com/ubuntu/ trusty main restricted universe
multiverse
deb-src
http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe
multiverse
deb-src
http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe
multiverse
deb-src
http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe
multiverse
deb-src
http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe
multiverse
#os-china源
deb http://mirrors.oschina.net/ubuntu/ trusty
main restricted universe multiverse
deb
http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe
multiverse
deb http://mirrors.oschina.net/ubuntu/
trusty-proposed main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted
universe multiverse
deb
http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe
multiverse
deb-src
http://mirrors.oschina.net/ubuntu/ trusty main restricted universe
multiverse
deb-src
http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe
multiverse
deb-src
http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe
multiverse
deb-src
http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe
multiverse
deb-src
http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe
multiverse
保存之后,用下面的命令使源生效:
sudo apt-get update
5、关于ubuntu14.04弹出"系统程序出现问题"的对话框,解决方法如下:
sudo gedit /etc/default/apport
把enable=1改为enable=0
最后,ubuntu用户体验越来越好了,给力十分。
原文地址:http://www.cnblogs.com/xshang/p/3750912.html