Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] What files belong to what packages?



Erin D. Hughes wrote:

[...] But I want to know the packages that are related to the libraries. I can look them up individually on Google but I am sure there is a more eloquent way of doing it. I did also try:


[root@?? Desktop]# rpm -qa | grep libz.so.1
Debian/ Ubuntu (.deb):
sigurdur@??:~$ dpkg -S /bin/login
login: /bin/login

Suse/ RedHat (.rpm):
sigurdur@??:~> rpm -qf /bin/login
pwdutils-2.6.4-2.30

Gentoo ( don't have a Gentoo box, so this is just of the Internet):
"Let me know what package /netstat/ belongs to:

    qpkg -f `which netstat`"
	
	(http://www.karkomaonline.com/article.php?story=20040222000525810)

FreeBSD (I don't have a FreeBSD-boxen so this is also untested)
	'Tip: To find out what package a file belongs to, use
         " |pkg_add -W filename| ". '
	(http://www.lugatgt.org/articles/freebsd_update/)


kind regards, -sig




-- Sigurd Urdahl Linux, goofing, cooking, making fire, computer security, having a beer. Give me good music.



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links