ubuntu 安装软件包
打开终端
首先更新源:
1、执行命令sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
2、之后打开文件/etc/apt/sources.list,打开方式为:sudo gedit /etc/apt/sources.list
用下面的内容取代文件/etc/apt/sources.list内容,按Ctrl+s保存更新的内容
这个是中科大的源,比较好
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb jaunty universe restricted main multiverse
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb jaunty-updates universe main multiverse restricted
deb jaunty-proposed universe main multiverse restricted
deb jaunty-backports universe main multiverse restricted
3、下面就一条一条地执行下面的命令:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libc6-dev
sudo /usr/bin/gnome-language-selector
sudo apt-get install vim-full
sudo apt-get install build-essential
sudo apt-get install gnome-core-devel
sudo im-switch -s scim -z default
sudo apt-get install scim-qtimm
sudo apt-get install scim scim-pinyin scim-tables-zh im-switch scim-qtimm scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-agent
如果其中有一些命令执行不成功个话就跳过,继续执行下面的命令。
最后重启就可以了
阅读(787) | 评论(0) | 转发(0) |