LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2004, 08:57 PM   #1
Chris Murphy
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Question Debian: You know the command, but don't know the package


I have set up a minimal (by packages) Debian machine. I want to run the command "ip", as in:

#ip link show

My research shows that this command is all about IPv4. (I am wanting to follow the FireHOL documentation). I have tried everywhere to work out which package this command might be in. One of the first things I did was to install the iptables package, but I still only get this response from whereis:

# whereis ip
ip: /usr/share/man/man7/ip.7.gz

Thus my simple question is - how do I find out the name of a package given the name of a command? I have done searches based on description from packages.debian.org, and come up with a URL for the package libnetwork-ipv4addr-perl, but I don't think I got to the right place.

Often dselect turns something up for me, but this didn't help either.

Also if anyone knows the name of the package that would be great!

thanks - Chris Murphy
 
Old 11-15-2004, 09:46 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
http://developer.osdl.org/dev/iproute2/
 
Old 11-15-2004, 10:25 PM   #3
Chris Murphy
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks!

I used the (Debian) dselect tool to install iproute. iproute2 not available from the CD set, but I could
easily get it. Anyway for better or worse I installed the iproute package. Now the command ip works,
but I get a strange result:

# ip link show
Cannot send dump request: Connection refused

I've done a quick --help, but I don't want to get into the hole of finding out too much information, so
thought I'd come back here and ask the pretty obvious question - anyway I'll get hold of iproute2
and come back if any problems. Maybe my kernel will be too old for it. Are there packages on debian for
upgrading your kernel? I assume there are.
 
Old 03-30-2005, 03:01 AM   #4
Chris Murphy
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
About two hops away from the main debian page you get to here:

http://www.debian.org/distrib/packages#search_contents

I just entered 'ip' and pressed search and hey presto - got the answer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
debian package mithereal Debian 7 09-12-2005 03:17 AM
help with a do-it-all command/package xiongnu Mandriva 1 05-25-2005 05:48 PM
which package a command belongs to Tuttle Slackware 3 07-13-2004 01:03 PM
Which package has 'portsclean' command satimis *BSD 1 05-25-2004 08:55 PM
How do I find out what package a given command comes from? WeNdeL Linux - Newbie 2 05-19-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration