本文共 1258 字,大约阅读时间需要 4 分钟。
1.更换源1) 备份默认的apt源1 $ cd /etc/apt2 $ sudo cp sources.list sources.list.backup2) 编辑$ sudo gedit sources.list复制粘贴以下列表:deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 2 deb http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 3 deb http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 4 deb http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 5 deb http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse 6 deb-src http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 7 deb-src http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 8 deb-src http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 9 deb-src http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse10 deb-src http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse 3) 注意,每次修改完apt源,一定要执行一下更新$ sudo apt-get update大概花了几分钟,更新完成之后,就可以使用apt来安装应用程序了。2.相关知识ubantu 15.04看了skyking的帖子,不错;记得之前还看了个更完整的,以后来编辑下。http://forum.ubuntu.org.cn/viewtopic.php?t=470265
转载于:https://blog.51cto.com/gfx110/1675329