Hi
How can I install rrdtool rpm? lt seems that this is only available in fedora
How can I know what is this execution file eg: system-config-network coming from which rpm?
Thank you
--------------------------------- Looking for the perfect gift? Give the gift of Flickr!
Chloe K wrote on Tue, 9 Dec 2008 08:03:12 -0500 (EST):
How can I install rrdtool rpm? lt seems that this is only available in fedora
rpmforge
How can I know what is this execution file eg: system-config-network coming from which rpm?
yum whatprovides
Kai
1/ ls it rpmforge.net? I can't find it!
2/ I know "yum install package" but how can I know the binary eg: set up coming from what package name?
Thank you
Kai Schaetzl maillists@conactive.com wrote: Chloe K wrote on Tue, 9 Dec 2008 08:03:12 -0500 (EST):
How can I install rrdtool rpm? lt seems that this is only available in fedora
rpmforge
How can I know what is this execution file eg: system-config-network coming from which rpm?
yum whatprovides
Kai
chloe K wrote:
1/ ls it rpmforge.net? I can't find it!
http://wiki.centos.org/AdditionalResources/Repositories
2/ I know "yum install package" but how can I know the binary eg: set up coming from what package name?
How about reading the manual page then? Kai already gave you the command so now you can go and read what that command does?
Ralph
chloe K wrote:
Hi
How can I install rrdtool rpm? lt seems that this is only available in fedora
Chloe,
As Kai Schaetzl said, rpmforge. For help on configuring that repo see:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
How can I know what is this execution file eg: system-config-network coming from which rpm?
Perhaps this is what you're looking for:
# which system-config-network /usr/sbin/system-config-network # rpm -qf /usr/sbin/system-config-network system-config-network-tui-1.3.99.10-2.el5
Or as a one-liner: # rpm -qf $(which system-config-network)
Thank you
HTH
Phil
Very nice info
But I don't have this binary file "system-config-network" on the system, I only know this file name. the command which can't be applied
how can I know what the package name I install ?
yum install packagename
Thank you again
=============================== Perhaps this is what you're looking for:
# which system-config-network /usr/sbin/system-config-network # rpm -qf /usr/sbin/system-config-network system-config-network-tui-1.3.99.10-2.el5
Or as a one-liner: # rpm -qf $(which system-config-network)
Thank you
HTH
Phil _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--------------------------------- Now with a new friend-happy design! Try the new Yahoo! Canada Messenger
chloe K wrote:
Very nice info
But I don't have this binary file "system-config-network" on the system, I only know this file name. the command which can't be applied
how can I know what the package name I install ?
I believe your looking for 'yum provides system-config-network'.
Though none of my centos systems have access to working repositories so I can't test it, according to the man page it should work.
nate
Thank you
But I am trying to the locate command
but it can't find the package "mlocate"
yum provides locate No Matches found
nate centos@linuxpowered.net wrote: chloe K wrote:
Very nice info
But I don't have this binary file "system-config-network" on the system, I only know this file name. the command which can't be applied
how can I know what the package name I install ?
I believe your looking for 'yum provides system-config-network'.
Though none of my centos systems have access to working repositories so I can't test it, according to the man page it should work.
nate
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--------------------------------- Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail
Chloe K wrote on Tue, 9 Dec 2008 14:50:41 -0500 (EST):
But I am trying to the locate command
but it can't find the package "mlocate"
yum provides locate No Matches found
As you already know the package name (mlocate) - why don't you use it?
You need to "yum provides /path/to/file". As you don't know that path you would use search: "yum search locate" or "yum list" in case you at least know parts of the package name.
This is really all RTFM and RTFW(iki).
Kai
On Tue, Dec 9, 2008 at 11:50 AM, chloe K chloekcy2000@yahoo.ca wrote:
Thank you
But I am trying to the locate command
but it can't find the package "mlocate"
yum provides locate No Matches found
1) Please stop top posting on this list. Use bottom posting like this and per the group posting guidelines (see http://www.centos.org/modules/tinycontent/index.php?id=16 and please read all of the page).
2) If you're going to look for a package using only part of the package name, use yum list piped to a grep for the partial package name, or use yum search.
3) Since you already know the package name, use it for your yum provides command.
4) Please do some research on your problem before posting to this list. You have already been given step-by-step instructions on some really basic stuff that your could much more easily have found with google or man or the CentOS wiki. (IOW, RTFM, RTFW & STFW....)
HTH
mhr
Nate wrote on Tue, 9 Dec 2008 11:20:37 -0800 (PST):
I believe your looking for 'yum provides system-config-network'.
provides is doing the same as whatprovides. However, there are quite different results whether you just search for the name or for the complete path:
yum whatprovides system-config-network system-config-network.noarch : The GUI of the NEtwork Adminstration Tool
yum whatprovides /usr/sbin/system-config-network system-config-network-tui.noarch : The NEtwork Adminstration Tool
no. 1 depends on no. 2.
Kai
Chloe K wrote on Tue, 9 Dec 2008 13:29:11 -0500 (EST):
how can I know what the package name I install ?
he just showed you:
system-config-network-tui-1.3.99.10-2.el5
Kai