当前位置:网站首页>[Deepin] 常用集合
[Deepin] 常用集合
2022-07-01 00:40:00 【九幽小怪】
日常系统/软件/操作
提示:集合
目录
前言
例如:支持国产
提示:以下是本篇文章正文内容,下面案例可供参考
一、安装Fcitx5输入法
安装Fcitx5输入法需要删除原所有输入法
1.卸载fcitx输入法
# 卸载相关软件包
sudo apt purge fcitx*
# 清理依赖包
sudo apt autoremove
# 删除配置文件目录
rm -rf ~/.config/fcitx
2.安装输入法
sudo apt update
sudo apt install fcitx5 fcitx5-chinese-addons
注销后重新登录即可享用
二、安装Docker和docker-compose
1.卸载老版本
sudo apt-get remove docker.io docker-engine
2.安装相关依赖
sudo apt-get install apt-transport-https ca-certificates curl python-software-properties software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
# 检测是否成功安装
sudo apt-key fingerprint 0EBFCD88
3.添加软件源
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian jessie stable"
# 或国内
sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian jessie stable"
4.安装软件
# 更新源
sudo apt-get update
sudo apt-get install docker-ce
# 查看版本
sudo docker version
5.完善账户情况(vscode无法识别docker)
sudo usermod -aG docker username(你的用户名)
6.安装docker-compose
sudo wget -c -t 0 https://github.com/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -O /usr/local/bin/docker-compose
# 添加执行权限
sudo chmod a+rx /usr/local/bin/docker-compose
docker-compose -v
# 卸载
sudo rm /usr/local/bin/docker-compose
三、解决手提外接键盘后无法按F1-F12
echo "options hid_apple fnmode=2" | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u
四、apt相关命令
1.安装软件
apt-get install PackageName // 普通安装
apt-get install PackageName=VersionName // 安装指定包的指定版
apt-get --reinstall install PackageName // 从新安装
apt-get build-dep PackageName // 安装源码包所须要的编译环境
apt-get -f install // 修复依赖关系
apt-get source PackageName // 下载软件包的源码
2.卸载
apt-get remove PackageName // 删除软件包, 保留配置文件
apt-get --purge remove PackageName // 删除软件包, 同时删除配置文件
apt-get purge PackageName // 删除软件包, 同时删除配置文件
apt-get autoremove PackageName // 删除软件包, 同时删除为知足依赖
// 而自动安装且再也不使用的软件包
apt-get --purge autoremove PackageName // 删除软件包, 删除配置文件,
// 删除再也不使用的依赖包
apt-get clean && apt-get autoclean // 清除 已下载的软件包 和 旧软件包
3.更新
apt-get update // 更新安装源(Source)
apt-get upgrade (PackageName) // 更新已安装的软件包
apt-get dist-upgrade //更新已安装的软件包(识别并处理依赖关系的改变)
4.查询
dpkg -l // 列出已安装的全部软件包
apt-cache search PackageName // 搜索软件包
apt-cache show PackageName // 获取软件包的相关信息, 如说明、大小、版本等
apt-cache depends PackageName // 查看该软件包须要哪些依赖
apt-cache rdepends PackageName // 查看该软件包被哪些包依
apt-get check // 检查是否有损坏的依赖
总结
多学习,多尝试
边栏推荐
- How to do the performance pressure test of "Health Code"
- 人穷志不短,穷学生也能玩转树莓派
- 染色法判断二分图
- [learning notes] simple DP
- What is product thinking
- Analysis of blocktoken principle
- Exploring the road of steam education innovation in the Internet Era
- The question of IBL precomputation is finally solved
- 【网络丢包,网络延迟?这款神器帮你搞定所有!】
- How to scroll uitableview to a specific position - how to scroll uitableview to specific position
猜你喜欢
双位置继电器ST2-2L/AC220V
High quality pump SolidWorks model material recommended, not to be missed
Oracle table creation and management
Practical shell knowledge
Using C language to realize the exchange between the contents of two arrays (provided that the array is the same size)
Sword finger offer 18 Delete the node of the linked list
Split the linked list [take next first and then cut the linked list to prevent chain breakage]
Win11安装redis 数据库以及redis desktop manager的下载
XJY-220/43AC220V静态信号继电器
Q play soft large toast to bring more comfortable sleep
随机推荐
Dls-20 double position relay 220VDC
Installing mongodb database in Windows Environment
Usage of C set
染色法判断二分图
技术人进阶画业务大图,手把手教学来了
Packing and unpacking of C #
Two position relay st2-2l/ac220v
[original] PLSQL index sorting optimization
软硬件基础知识学习--小日记(1)
Some views on libco
Install redis database and download redis Desktop Manager in win11
冲击继电器ZC-23/DC220V
Vnctf 2022 cm CM1 re reproduction
Length of the longest integrable subarray
Day31-t1380-2022-02-15-not answer by yourself
【网络丢包,网络延迟?这款神器帮你搞定所有!】
K210门禁毕设
uniapp官方组件点击item无效,解决方案
Double linked list: initialize insert delete traversal
K210 access control complete