使用apt-file 命令可以通过lib文件名查找其所属的系统package,在配置软件的dependence时十分好用: 使用apt-file之前首先需要进行安装: sudo apt-get install apt-file 安装成功后必须要进行一次跟新操作: sudo apt-file update 查找库文件所属的package: sudo apt-file search libz.so.1 =======================================
使用apt-file 命令可以通过lib文件名查找其所属的系统package,在配置软件的dependence时十分好用: 使用apt-file之前首先需要进行安装: sudo apt-get install apt-file 1. 安装成功后必须要进行一次跟新操作: sudo apt-file update 1. 查找库文件所属的package: sudo apt-file search libz.so.1 1. ===...
search Search in which package a file is included. A list of all packages containing the pattern pattern is returned. Since Contents files does not contain directories, the pattern must match (part of a) file name. By default, thesearchaction interprets its pattern as if--substring-matchwas...
contains - List packages containing a file content - List files contained in a package deb - Install a .deb package depends - Show raw dependency information for a package dist-upgrade - Upgrade the system by removing/installing/upgrading packages download - Download the .deb file for a package...
apt search package_name The apt show command provides detailed information on a package: apt show package_name The commands don’t require you tobe root in Ubuntu. Here’s an example of these commands: Why would you want to use apt search or apt show command?
contains- List packages containing a file content- List files contained in a package deb- Install a .deb package depends- Show raw dependency information for a package dist-upgrade- Upgrade the system by removing/installing/upgrading packages ...
changelog - View a package's changelog check - Verify that there are no broken dependencies clean - Erase downloaded archive files contains - List packages containing a file content - List files contained in a package deb - Install a .deb package ...
http://blog.51osos.com/linux/ubuntu-apt-cache-search-package/ 本文GoFace给大家讲解下在Ubuntu及相同包管理的linux系统下如何查找可用软件包。在Ubuntu上大家一般使用apt-get安装软件,如果想查找某一包软件仓库中是否有,并不是使用apt-get search或apt-get –list,而使用apt-cache命令。
package's changelog check - Verify that there are no broken dependencies clean - Erase downloaded archive files contains - List packages containing a file content - List files contained in a package deb - Install a .deb package depends - Show raw dependency information for a package dist-...
Linux中的apt-cache search searched-package有什么用呢?Linux中的apt-cache search searched-package有...