Teach you how to set up a Chinese Environment In Debian
If you follow the previous instructions, the system after installation does not contain the region settings, you may want to ask: is the character mode not all in English? Is it not the en_US region by default? Of course not. The default "Posix C" is not a region. The ASCII code is different from the English one. Once again, I despise the SB that advocates Chinese CPU, Chinese programming, and everything in Chinese. To support region settings, first install the locales software package:
Apt-get install locales and then configure the locales package: dpkg-reconfigure locales in the interface hook select "zh_CN.UTF-8. Some colleagues may ask why there are many other zh_CN instances. Why not? Because, with UTF-8, what else do? The system default area note don't on the rise of the selected "zh_CN.UTF-8", as mentioned before, our character interface does not need to set the area, 256 ASCII characters of the "Posix C" can be. Otherwise, wait to see a bunch of garbled characters on the Character interface. Next, install the Chinese font and input method. The simplest command is apt-get install scim-pinyin. The common Chinese fonts, SCIM Input Method frameworks, and pinyin input methods are all installed. Be sure not to hear what Fcitx is saying on the Internet. SCIM is the most orthodox Input Method tool. Install the simplest notepad: apt-get install leafpad install Firefox: apt-get install iceweaselOK, xinit start X Window. Come, kid, step by step follow the teacher in the ugly graphics terminal to knock the command: export LC_ALL = zh_CN.UTF-8-this is set the Chinese area. Twm &-this is to start the TWM Window Manager. The "&" symbol after the command indicates that the program is executed in the background; otherwise, the next command can be executed only when the program exits. Scim &-what is the SCIM Input Method to start? Why can't I see anything? Don't worry about leafpad &-this is the simplest text editor to start (it's really easy to work with Windows notepad ). Then, place the cursor in the text editor and press Ctrl + space to enter Chinese characters? The interface and shortcut keys of the Haha SCIM input method are similar to those of Windows. "Ctrl" + space enable/disable, and "Shift" is a switchover between Chinese and English. Iceweasel &-start the Firefox browser. Try to go to the Internet cafe. So far, a usable system is built at. Is it very DIY? Is it easy? Debian is so simple. Finally, let's take a look at the resource usage after the competition. Well, it's okay!