常用命令总结

1. 删除安装的软件

Uninstall just cargo

sudo apt-get remove cargo

Which will remove just the cargo package itself.

Uninstall cargo and its dependencies

sudo apt-get remove --auto-remove cargo

This will remove the cargo package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for cargo then this will work.

   Caution!   Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge cargo  

Or similarly, like this cargo

sudo apt-get purge --auto-remove cargo  

2. 搜索已经安装的包

2.1. apt list --installed 列出所有安装的包

 方案来源:https://www.cnblogs.com/it-tsz/p/11107510.html  (这个方案里还有dpkg和apt的各种找安装包、删除安装包的命令)

 

3. ubuntu  terminal窗口最大化最小化快捷键  alt+F10

 

================================以下内容来自第四期一生一芯计划“Linux入门教程”============================

 

 

 

 

 ================================结束===============================

 

 

 

 

 





posted @ 2022-02-22 12:56  yinhuachen  阅读(41)  评论(0编辑  收藏  举报