Tuesday, November 8, 2011

How to find the parent package of a file on Ubuntu

Sponsored Links

We can find the parent package of a file using following command in debian or ubuntu. 

root@host ~ # dpkg -S /usr/sbin/mysqld
percona-server-server-5.5: /usr/sbin/mysqld
root@host ~ #

For the same purpose you can use following command in centos, redbat or fedora 


root@cpaneltest [~]# rpm -qf /usr/sbin/mysqld
MySQL-server-5.0.92-0.glibc23
root@cpaneltest [~]#


Sponsored Links

No comments:

Post a Comment

Be nice. That's all.