In Centos, the English language is changed to Chinese and gcc, g ++, gdb, and input method are installed.

Source: Internet
Author: User

In Centos, the English language is changed to Chinese and gcc, g ++, gdb, and input method are installed.

For Linux (centos) installation (here my version is 6.5 ):

1. How to change English to Chinese:

In root mode:

Run the following command:

The following content is displayed after running:

Then change LANG = "en_US.UTF-8" to LANG = "zh_CN.UTF-8" and then wq save and exit;

If wq is correctly saved, restart centos.

Restart centos. The following page is displayed after restart. Select an update name.

After completion, it becomes a Chinese character.

2.Download and InputAccess Method

Run commands in root Mode

Yum groupinstall language-support langue here and the language you want to download. If you want to download the chinese package "yum groupinstall chinese-support", wait a few minutes and wait until the installation is complete.
(If yum cannot be used, update the yum source) after CentOS is installed, you generally need to modify the yum source to achieve an ideal speed when installing and updating the rpm package. There are 163 sources and sohu sources that are relatively fast in China. Here we use the 163 source as an example. Enter the following in root mode: 1. cd/etc/yum. repos. d2. mv CentOS-Base.repo CentOS-Base.repo.backup3. wget http://mirrors.163.com/.help/CentOS6-Base-163.repo4. mv CentOS6-Base-163.repo CentOS-Base.repo5.yum clean all}

Search for such an icon in the system. Then go to the settings page.

After the process is complete, Press space and Ctrl to switch the input method by default.

Press spaces and Ctrl to create an object.

3. Install gcc, g ++, and gdb

In root mode;

Generally, yum is used to install software in centos to download gcc, g ++, and gdb;
Input: yum install gcc-c ++;

Yuminstallgdb then it will download the relevant package online for installation;

Input command: gdb-v

Check the version of GDB to check whether it is successfully installed.

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.