首页 > Linux操作系统 > Linux操作系统 > apt-get用法小记
-h This help text.
-d Download only - do NOT install or unpack archives
-f Attempt to continue if the integrity check fails
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-u Show a list of upgraded packages as well
查找包含某个关键字的软件包
sudo apt-get search <要查找的名字>
卸载软件
1:sudo apt-get install packagename- 这后面有一个‘-’代表卸载
2:sudo apt-get remove packagename
这会卸载相应的软件,同时也会卸载依赖的部分,没办法指定不卸载依赖的。但是软件的配置文件还是会留在系统中
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29227735/viewspace-1143983/ ,如需转载,请注明出处,否则将追究法律责任。