Apt-Get Souce

Source: Internet
Author: User
Dapper (6.04)
See [Ubuntu Introduction]

Sudo CP/etc/APT/sources. LIST/etc/APT/sources. list_backup
Sudo gedit/etc/APT/sources. List
Replace all content in the file with the following:

Http://archive.ubuntu.org.cn/ubuntu/ dapper main restricted universe multiverse
Deb http://archive.ubuntu.org.cn/ubuntu/ dapper-security main restricted universe multiverse
Dapper-Updates main restricted universe multiverse
Dapper-backports main restricted universe multiverse
Http://archive.ubuntu.org.cn/ubuntu-cn/ dapper main restricted universe multiverse
Here you can also directly use the faster ubuntu.cn99.com source (recommended ):

Deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ dapper-Updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ dapper -backports main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
here you can also use the very fast ingress .lupaworld.com Source:

Http://mirror.lupaworld.com/ubuntu/archive/ dapper main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-security main restricted universe multiverse
Dapper-Updates main restricted universe multiverse
Dapper-backports main restricted universe multiverse
Http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse
If you are an CERNET user, use the source of Shanghai Jiao Tong University:

Http://ftp.sjtu.edu.cn/ubuntu/ dapper main restricted universe multiverse
Dapper-Updates main restricted universe multiverse
Deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main restricted universe multiverse
Dapper-backports main restricted universe multiverse
Http://ftp.sjtu.edu.cn/ubuntu-cn/ dapper main restricted universe multiverse
Save the edited File

Sudo apt-Get update
Set local environment
1. Breezy (5.10)
Sudo dpkg-reconfigure locales
Make sure that the zh_CN.UTF-8 is selected, and the local is the zh_CN.UTF-8 by default

2. dapper (6.06) version
Sudo apt-Get install language-support-ZH
Sudo locale-gen zh_cn
Install Chinese support environment
Select based on your system

1. Install Chinese Language Support (UBUNTU)
Sudo
Apt-Get install language-pack-gnome-ZH-Base
Language-pack-ZH language-pack-ZH-base language-support-ZH
2. Install Chinese Language Support (kubuntu)
Sudo apt-Get install language-pack-KDE-ZH-base language-pack-ZH-base language-support-ZH
Install Chinese Fonts
If [Y/n] or [Y/n] is required, enter y and press Enter.

Sudo apt-Get install TTF-arphic-Ukai TTF-arphic-uming
If you want to display better Chinese characters, we recommend that you use ry.

Installation Input Method
You can choose one of the installation methods in scim and fcitx.

Scim
$ Sudo apt-Get install scim-modules-socket scim-modules-Table scim-pinyin scim-tables-ZH scim-input-pad
$ Sudo sh-c "Echo 'export xmodifiers = @ im = scim; export gtk_im_module =" scim "; scim-d'>/etc/X11/xsession. d/95 xinput"
$ Sudo chmod + 755/etc/X11/xsession. d/95 xinput
Note: The last two steps are omitted under dapper.

Note: In dapper, you can select system> System Management> language support. If you select Chinese, scim is automatically installed and configured.

Fcitx
$ Sudo apt-Get install fcitx
$ Sudo sh-c "Echo 'export xmodifiers = @ im = fcitx; export gtk_im_module =" fcitx "; fcitx '>/etc/X11/xsession. d/95 xinput"
$ Sudo chmod + 755/etc/X11/xsession. d/95 xinput
Note: The last two steps are omitted under dapper.

Activate Input Method
Restart XWindow. Press Ctrl + space to activate the input method.

Give you a link http://wiki.ubuntu.org.cn/%E5%BF% AB %E9%80%9F%E8% AE %BE%E7%BD% AE %E6%8C%87%E5%8D%97

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.