1.Ubuntu LTS 16.04 Installation Sogou Input method full process record (pure novice)

Source: Internet
Author: User

This is my fourth time to go to Ubuntu, should not be like before to install a system and goodbye. I intend to re-learn the C and vim, data structure that book finished reading, the second step is to learn the introduction of Python and algorithm, tentatively.

Last night after the system was loaded thinking to install a Chinese input method, so began the installation of Sogou input method of the course.

1. The first step is to download the Sogou. deb file online. The address is as follows Http://pinyin.sogou.com/linux/?r=pinyin

2. The second step is to follow the tutorial installation. The address is as follows http://pinyin.sogou.com/linux/help.php

3. I got stuck in the first step of the tutorial. Do not know what reason, has not searched out Update-manager, or I did not recognize it is update-manager. I just want to go straight to the. deb file.

4. Online search to know a few things.

4-1.deb is a file extension in the Debian package format, which is a standard archive of Unixar, which packages the package file information and package content, via gzip and tar.

4-2. The classic procedure for handling these packages is dpkg, which is often operated through Debian's apt-get.  Dpkg means Debian Packager. Apt means advanced packaging Tool.

Apt and dpkg Command Reference http://wiki.ubuntu.org.cn/Apt%E5%92%8Cdpkg%E5%BF%AB%E9%80%9F%E5%8F%82%E8%80%83

4-3.CD downloads to the download folder, this step to find that the terminal is sensitive to the case, the TAB key can be automatically complete; ls look at the file, some.

4-4. Dpkg-i. Deb, system error dpkg:error:requested operation requires superuser privilege, insufficient authority, check a bit to sudo.

sudo means superuser do. So sudo dpkg-i ... deb, yes, and then start reporting dependency-related errors. The discovery is because the ppa:fcitx-team/nightly in 2 is not added and I want to do it directly through the command.

4-5.unmet dependencies, originally wanted to manually go to sudo apt-get install ... Deb, pretend that I'm missing that, pretend that I'm missing this, Dependency Hell

4-6. After nearly one hours in 4.5, I gave up and went back to 3. This time I saw the Update-manager, the metaphysical problem ...

5. Follow the steps in the 2 link, to the reload, reload there, the result has a source has been 404-not FOUND, ha-Da.

5-1. Retry for about half an hour, I thought it was because the principal, so also went to find a virtual machine through the physical machine fq What, too troublesome, I just want to install an input method only ...

5-2. Then put that 404 of the resources directly to the browser, ha-da, downloaded to the local ... This bag Fcitx-modules_4.2.9.1-1ubuntu1.16.04.2_amd64.deb

5-3. So I installed the package manually, found that it also relies on =_=, so give up.

5-4. Then I removed the ppa:fcitx-team/nightly and added to the source, then 404, this time in the manual dpkg said the installation is not complete.

5-5. Then I delete this virtual machine, all over again, whining.

6. Back to 404 there, and that Deb directly downloaded to the local, can, and then follow the prompts to run the sudo apt-get-f install; I suddenly want to directly in the dpkg Sougou of the bag, found that no reported dependence of the wrong 0.0

7. The current reported error is no such key ' Gtk/immodule ' in the schema ' org.gnome.settings-daemon.plugins.xsettings ' as specified in override file ' /usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override '; Ignoring override for this key. I started a variety of Baidu, tried a lap found can not solve the problem. Then the post says it's not a mistake . Rue de Vaugirard OK, follow this tutorial.

8. Found that there is no Chinese in the language support, do not know whether there is no impact, and then add a language, this plus installed a lot of packages, I would like to report the lack of dependency is because my system does not configure the Chinese environment. Regardless, the keyboard is then set to FCITX.

9. Open the FCITX configuration, found that the Chinese environment has been loaded into a lot of input methods, pinyin, ShuangPin, Wubi What, in addition to double the spelling of I have removed, found that change the settings seems to have to write off once, very egg hurts. PS: This article can be consulted.

10. Set up a good double spell and so on, on the happy in Ubuntu under the use of Sogou input method, meow meow meow.

This essay writing process, Sogou input method Many times do not know why crash, every time I log off after the login, this first endure it, follow-up in the Chinese place should not be too much.

Above those things done probably from 9 to the next morning, the middle of 1:30 small sleep, Ubuntu toss up a good egg pain, or to self-comfort learned a few commands.

In addition, multiple XRANDR commands are used in this process, which is to do things related to screen resolution, XRANDR means X reisize and rotate. Xrandr-s 1680x1050 is to set the screen rate, the specific can refer to this.

Next is to build C development environment, if there is empty interest will also write an article, first, haha.

1.Ubuntu LTS 16.04 Installation Sogou Input method full process record (pure novice)

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.