Ubuntu equivalent of Yum's WhatProvides, to find which package provides a file

前端 未结 2 1512
渐次进展
渐次进展 2020-12-29 22:21

Fedora\'s yum package management tool has a nice option called whatprovides, which lets you find what package has installed a specific binary or fi

2条回答
  •  梦谈多话
    2020-12-29 22:50

    I use dpkg -S filename for that. It can't search for files that are not installed on your system with it, but it's shipped in all dpkg distros by default while apt-file is not.

    You also can look that up for files that are not installed on your system using http://packages.ubuntu.com/ website.

提交回复
热议问题