当前位置:网站首页>[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 // 检查是否有损坏的依赖
总结
多学习,多尝试
边栏推荐
- Orb-slam2 source code learning (II) map initialization
- Installing mongodb database in Windows Environment
- 文件服务设计
- (learning power + thinking power) x action power, summary of flywheel effect on the growth of technicians
- 用recyclerReview展示Banner,很简单
- Dls-20 double position relay 220VDC
- K210 site helmet
- 蒹葭苍苍,白露为霜。
- Principes de formation de la programmation robotique
- Green, green the reed. dew and frost gleam.
猜你喜欢

Unhandled Exception: MissingPluginException(No implementation found for method launch on channel)

The quantity and quality of the devil's cold rice 101; Employee management; College entrance examination voluntary filling; Game architecture design

解析创客教育实践中的智慧原理

Docker deployment MySQL 8

Oracle data integrity
![Split the linked list [take next first and then cut the linked list to prevent chain breakage]](/img/eb/708ab20c13df75f4dbd2d6461d3602.png)
Split the linked list [take next first and then cut the linked list to prevent chain breakage]

uniapp官方组件点击item无效,解决方案

Double position relay dls-5/2 dc220v

NE555 waveform generator handle tutorial NE555 internal structure (I)

Green, green the reed. dew and frost gleam.
随机推荐
Practical shell knowledge
Oracle temporary table explanation
Length of the longest integrable subarray
DLS-20型双位置继电器 220VDC
Detailed analysis of operators i++ and ++i in JS, i++ and ++i
ORB-SLAM2源码学习(二)地图初始化
解析融合学科本质的创客教育路径
Training discipline principle of robot programming
Gavin's insight on the transformer live broadcast course - rasa project's actual banking financial BOT Intelligent Business Dialogue robot system startup, language understanding, dialogue decision-mak
[original] PLSQL index sorting optimization
用Steam教育启发学生多元化思维
Chapter 53 overall understanding of procedures from the perspective of business logic implementation
None of the following candidates is applicable because of a receiver type mismatch
酒旅板块复苏,亚朵继续上市梦,距离“新住宿经济第一股“还有多远?
ESP8266 RC522
Metauniverse and virtual reality (II)
冲击继电器ZC-23/DC220V
CSDN common complex formula template record
Left join displays the specified value when the left join matching data is null
ASCII、Unicode、GBK、UTF-8之间的关系