- Fedora
- $ yum search #search for a file in any package (installed or not)
$ rpm -qf /path/to/file #installed package a file belongs to - Ubuntu
- $ apt-file search autoexpect #search for a file in any package (installed or not)
$ dpkg -S #installed package a file belongs to - Mandriva
- $ urpmf #search for a file in any package (installed or not)
$ rpm -qf /path/to/file #installed package a file belongs to
List package contents
- Fedora
- $ rpm -ql package #installed package
- Ubuntu
- $ dpkg -L package #installed package
- Mandriva
- $ rpm -ql package #installed package
0 件のコメント:
コメントを投稿