列出ubuntu软件管理工具apt的一些用法 Linux0406

一、安装软件包

[root@localhost ~]# apt install tree

二、删除软件包

[root@localhost ~]# apt remove tree

三、列出仓库软件包

[root@localhost ~]# apt list

四、搜索软件包

[root@localhost ~]# apt search nginx

五、查看某个软件包的详细信息

[root@localhost ~]# apt show nginx

六、更新包索引

[root@localhost ~]# apt update

posted @ 2021-11-15 02:11  丁丁在线  阅读(47)  评论(0)    收藏  举报