命令 apt-get update 是更新软件列表 命令 apt-get upgrade 是更新软件。
删除ubuntu自带的没啥用的软件,
sudo apt --purge remove libreoffice-common sudo apt --purge remove unity-webapps-common sudo apt --purge remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese gnome-sudoku transmission-common gnome-orca webbrowser-app --purge landscape-client-ui-install sudo apt --purge remove deja-dup sudo apt autoremove libreoffice-common libreoffice(垃圾的很,可以换 WPS) unity-webapps-common Amazon 链接 thunderbird 雷鸟邮件客户端 totem 自带的播放器 rhythmbox 自带的音乐播放器 empathy 自带的即时聊天应用 brasero 自带的光盘刻录器 simple-scan 扫描仪 gnome-mahjongg 对对碰游戏 aisleriot 纸牌游戏 gnome-mines 扫雷游戏 cheese webcam 应用 gnome-sudoku 数独游戏 transmission-common BT 客户端 gnome-orca 屏幕阅读 webbrowser-app Ubuntu 自带的浏览器(有了 chrome 和 Firefox 根本用不到这个) landscape-client-ui-install landscape 远程控制软件 deja-dup 备份 onboard 屏幕键盘 sudo apt-get --purge remove xxxhttps://www.cnblogs.com/zhaopengcheng/p/6040605.html
安装语言包 ibus输入法安装安装ibus输入法 sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4 来安装ibus框架。用 im-config -s ibus 切换到ibus框架。再安装拼音引擎: sudo apt-get install ibus-pinyin 再调出ibus Preference来添加该拼音输入法,一次不行再输入一次试试: sudo ibus-setup 弹出对话框3. 系统输入法设置 在System Settings–Text Entry中添加上ibus拼音输入法,并将Show current input source in the menu bar勾选上,这样就会在系统的菜单条上显示输入法切换的图标了。反复折腾就对了。
首先注意镜像源的内容必须跟ubuntu的版本对应,代号不一致会导致安装依赖库版本不一样,各种乱七八糟问题:
$ lsb_release -a # 查看自己的ubuntu版本 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal Ubuntu 16.04代号为:xenial Ubuntu 17.04代号为:zesty Ubuntu 18.04代号为:bionic Ubuntu 19.04代号为:disco Ubuntu 20.04代号为:focal以Ubuntu 20.04为例:中科大和阿里的ubuntu镜像源,位置为/etc/apt/sources.list:
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiversehttps://www.flash.cn/
根据提示选择匹配的版本: 下载完后,解压.so是我需要的那个库文件: