要在安装之前找出包名称及其描述,请使用search旗帜。使用search和apt-cache将显示带有简短描述的匹配包列表。假设你想了解包的描述vsftpd,那么命令就是。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 $ apt-cache search vsftpd 代码语言:javascript 代码运行次数:0 运行 AI代码解释 vsftpd
$ sudo apt-getpurgeapache2(or)$ sudo apt-getremove apache2 The following packages were automatically installed and are no longer required:apache2-utils linux-headers-2.6.28-11libapr1 apache2.2-common linux-headers-2.6.28-11-generic apache2-mpm-worker libpq5 libaprutil1 Use'apt-get autoremove'...
linux@localhost:~$ sudo apt-get clean 上面的命令会清空apt-get所下载的包占用的磁盘空间。 我们也可以使用“autoclean”选项来代替“clean”,两者之间主要的区别是autoclean清理不再使用且没用的下载。 linux@localhost:~$ sudo apt-get autoclean Readingpackage lists...Done Building dependency tree Reading s...
linuxtechi@localhost:~$ apt-cache search"web server"apache2-ApacheHTTPServerapache2-bin-ApacheHTTPServer(binary filesandmodules)apache2-data-ApacheHTTPServer(common files)apache2-dbg-Apachedebugging symbolsapache2-dev-ApacheHTTPServer(development headers)apache2-doc-ApacheHTTPServer(on-site documentation)...
linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded. 13. apt-get -u upgrade: Upgrade all Packages To upgrade all the packages to it’s latest version, use...
Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-headers-generic linux-image-generic wine1.5 wine1.5-i386 The following packages will be upgraded: activity-log-manager-common activity-log-manager-control-center ...
linuxtechi@localhost:~$ apt-cache search "web server" apache2 - Apache HTTP Server apache2-bin - Apache HTTP Server (binary files and modules) apache2-data - Apache HTTP Server (common files) apache2-dbg - Apache debugging symbols
linuxtechi@localhost:~$ apt-cache search "web server" apache2 - Apache HTTP Server apache2-bin - Apache HTTP Server (binary files and modules) apache2-data - Apache HTTP Server (common files) apache2-dbg - Apache debugging symbols
Linux/Ubuntu: apt-cache命令的用法, apt-get apt-cache命令 使用 示例:1 列出所有可用包 1justcode@localhost:~$ apt-cache pkgnames 2account-plugin-yahoojp 3ceph-fuse 4dvd+rw-tools 5e3 6gnome-commander-data 7grub-gfxpayload-lists 8gweled ...