2025年6月8日 星期日 乙巳(蛇)年 三月十二 设为首页 加入收藏
rss
您当前的位置:首页 > 计算机 > 系统应用 > Linux

Ubuntu 18.04安装搜狗拼音输入法

时间:05-21来源:作者:点击数:31
0.更新镜像源
  1. 修改/etc/apt/sources.list,在其中添加阿里源,因为Ubuntu和其他版本的Linux工具不同,权限这一块做的比较完善,所以我们直接切换至root模式下,进行此步操作
    • $sudo su #切换至root
    • #在此输入你的root密码
    • #cd /etc/apt/
    • #cp -p sources.list sources.list_bak # 备份原文件
    • #vi sources.list #编辑配置文件
    • 在配置文件最前面添加如下信息:
    • deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    • deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    • deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    • deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    • deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    • deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    • deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    • deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    • deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    • deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
  2. 使用以下命令更新系统和工具
    • #apt-get update # 刷新系统
    • #apt-get dist-upgrade #安装更新
1.打开Ubuntu自带的Firefox浏览器,输入下面网址
  • https://pinyin.sogou.com/linux/
在这里插入图片描述
2. 选择适合于自己Linux版本的版本软件,保存文件
在这里插入图片描述
3.打开终端,进入到下载目录,输入以下命令(建议在root下操作)
  • #sudo dpkg -i sogopinyin_2.2.0.0108_amd64.deb
  • # sudo apt-get install -f
方便获取更多学习、工作、生活信息请关注本站微信公众号城东书院 微信服务号城东书院 微信订阅号
推荐内容
相关内容
栏目更新
栏目热门