[英]How to get source packages from dir in /usr/lib/python2.7/dist-packages/
What is the way to get the name of the package which creates specific dir under /usr/lib/python2.7/dist-packages/ on Ubuntu 如何获取在Ubuntu上的/usr/lib/python2.7/dist-packages/下创建特定目录的软件包名称
For example I am trying to get the package name which installs /usr/lib/python2.7/dist-packages/hdinsight_common/
or /usr/lib/python2.7/dist-packages/hdinsight_common/decrypt.sh
例如,我试图获取安装/usr/lib/python2.7/dist-packages/hdinsight_common/
或/usr/lib/python2.7/dist-packages/hdinsight_common/decrypt.sh
的软件包名称。
can anyone help me with this ? 谁能帮我这个 ?
Thanks 谢谢
对于已安装的软件包,请使用dpkg -S <path...>
对于可能未安装的软件包,请使用apt-file search <paths...>
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.