最近安裝了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用戶體驗越來越好了,給力十分。
