Chinaunix首页 | 论坛 | 博客
  • 博客访问: 108259
  • 博文数量: 45
  • 博客积分: 1810
  • 博客等级: 上尉
  • 技术积分: 345
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-03 21:57
文章分类
文章存档

2010年(26)

2009年(19)

我的朋友

分类: LINUX

2009-10-24 11:06:40

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) |
0

上一篇:vim 使用笔记

下一篇:知名人士的网站

给主人留下些什么吧!~~