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.