您的位置:首页 > 运维架构 > Linux

Linux Mint 13 国内源

2016-03-02 00:00 113 查看
刚装好Mint 13的时候,默认中文语言包是不完整的,而且默认没有中文输入法。如果此时联网之后重新检查并安装语言支持(点击左下角菜单 -> system tools -> 系统设置 -> 语言支持),按照提示安装中文语言包的话,将很慢很慢。所以,首先最好先修改下源,使之连上国内最快的。

1、打开软件源文件:sudo gedit /etc/apt/sources.list
发现系统自带的源如下:

deb ftp://mirrors.ustc.edu.cn/linuxmint/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free
# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games
2、发现linux mint安装软件都是用的Ubuntu的源,中科大的源由于是教育网,公网使用起来也不快。因此我们可以把ubuntu对应的源换成国内源,例如网易的源,修改如下:

deb ftp://mirrors.ustc.edu.cn/linuxmint/ maya main upstream import
#deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
#deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free
# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games
3、然后更新一下:
sudo apt-get update
此时再去更新系统就速度很快了。
安装中文输入法:(fcitx含谷歌拼音输入法等,我比较喜欢)
sudo apt-get install fcitx
im-swith
再打开的对话框中,选择fcitx完成设置,重启下就有中文输入法了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: