Files contained in the installed software package: 12dpkg-Lmysql-serverrpm-qlmysql-server. find the local software package that the file belongs to: 12
Files contained in the installed software package:
12 |
dpkg -L mysql-serverrpm -ql mysql-server |
Find the local software package of the file:
12 |
dpkg -S /usr/bin/mysqlrpm -qf /usr/bin/mysql |
Find the software package for which the file belongs to the network Source:
1234 |
yum whatprovides */bin/mysqlyum whatprovides *mysqlapt-file search /usr/bin/mysqlapt-file search mysql |
List the files of the network source package:
123 |
yum install yum-utilsrepoquery -ql mysql-serverapt-file list mysql-server |
List the files contained in the local software package:
12 |
rpm -qlp mysql-server.rpmdpkg -c mysql-server.deb |
List locally installed software packages:
View the dependency of the software package:
123 |
yum deplist vim-enhancedapt-rdepends vimapt-cache rdepends vim |