安装linuxmint系统主要流程

安装制作启动盘,F2+F8+F12 同时按几乎进所有电脑启动选项。

1 联网 (将列表中的外国的源改成中国的以大大提高下载速度 https://blog.csdn.net/oyueyang1/article/details/79236599

2 更新源,换中国的源(如更新失败:https://blog.csdn.net/nyist_yangguang/article/details/109690921)

3 安装fcitx (如安装失败:https://blog.csdn.net/nyist_yangguang/article/details/109692701

注:fcitx是一个输入框架,支持各种中英文输入,但是需要你下载拼音输入法,我用的是搜狗输入法。

 

fcitx框架下的搜狗拼音输入法

1. 在 http://pinyin.sogou.com/linux/ 网页中下载相应版本(32位/64位),我下载的是:

sogoupinyin_2.2.0.0108_i386.deb

2. 打开终端,用dpkg命令安装刚才下载的输入法deb包:

sudo dpkg -i sogoupinyin_2.1.0.0086_amd64.deb

正常情况下,输入法依赖包没有安装全,本次安装会提示错误,如下所示:

3. 解决以上依赖问题,在终端中输入:

sudo apt-get install --fix-broken

这里—fix-borken是apt-get的一个命令选项,具体解释(man apt-get)如下:

 
  1.   -f, --fix-broken

  2.  
  3.            Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If packages are specified, these have to completely correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so corrupt as to require manual intervention (which usually means using dpkg --remove to eliminate some of the offending packages). Use of this option together with -m may produce an error in some situations. Configuration Item: APT::Get::Fix-Broken.

其实从dpkg的错误信息可知,安装sougou拼音输入法失败是因为缺少:libopencc2、libopencc1、fcitx-libs、fcitx-libs-qt等安装包,根据经验,我猜测可以用apt-get install XXX单独安装每一个包;

4. 上述依赖包安装完之后,再次在终端中输入:

sudo dpkg -i sogoupinyin_2.1.0.0086_amd64.deb

正确安装sougoupinyin:

5. 在系统设置(system setting)-- Language setting中将“input method”设置为fcitx;并安装Fcitx框架必要的组件,由于我安装时忘记截图了,下面显示的绿色是可选组件,可以不用安装。若是必要组件,会显示为红色

 

6. 注销账户(或重启),重新登录。在系统设置(system setting)-- fcitx configuration的input method页签中点击“+”号,会出现刚才安装了的sougoupinyin输入法,将输入法添加到系统中。

7. 再次注销或重启,整个安装就结束了,输入法就能用了。可以打开中断试试,输入法切换的默认方式是shift 或 ctrl + space.(可以在 fcitx configuration的global config页签中查看)

一些坑

  1. 不是自己特别懂的情况下不要改其他乱七八糟的系统language和locales,可能会导致你的系统无法使用;
  2. 不用update系统—没那么复杂
  3. 不要轻易改什么/etc/environment、/etc/locale.gen文件,都是坑;
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序猿的探索之路

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值