You are not logged in.
Pages: 1
...I can find command nslookup...
I'm used it so many in many distros that I'm shocked that there is no in #! 
marko@crunchbang:~$ nslookup
bash: nslookup: command not found
So my questions are:
1. How can I install it in #!?
2. Which are alternatives?
Last edited by Unngenant (2012-07-24 14:05:46)
Offline
sudo apt-get install dnsutilsI found this using "apt-file search" -- if you don't have this yet you should get it:
sudo apt-get install apt-filethen whenever you want to see what package a command or library is in, just use (for example)
apt-file search nslookupYou can also search for packages on packages.debian.org:
http://packages.debian.org/search?searc … e&arch=any
Last edited by pidsley (2012-07-24 14:05:02)
Offline
Thank you pidsley!!!
Offline
You're welcome. Mark it [solved] if you're happy (edit the tile of your first post).
Offline
There is no need for the package apt-file ... apt comes with it's own command for searching ...
> apt-cache search nslookup
dnsutils - Mit BIND zur Verfügung gestellte Clients
libnet-nslookup-perl - simple DNS lookup module for perl
Offline
There is no need for the package apt-file ...
In this particular instance, perhaps. But there are times when apt-file can find things apt-cache cannot:
~ $ apt-cache search Xinerama.h
~ $ apt-file search Xinerama.h
fvwm: /usr/share/doc/fvwm/html/commands/Xinerama.html
libghc-x11-dev: /usr/lib/haskell-packages/ghc/lib/X11-1.5.0.0/ghc-7.0.4/Graphics/X11/Xinerama.hi
libghc-x11-doc: /usr/share/doc/libghc-x11-doc/html/Graphics-X11-Xinerama.html
libghc-x11-doc: /usr/share/doc/libghc-x11-doc/html/mini_Graphics-X11-Xinerama.html
libghc-x11-doc: /usr/share/doc/libghc-x11-doc/html/src/Graphics-X11-Xinerama.html
libxinerama-dev: /usr/include/X11/extensions/Xinerama.hAnd other times where apt-file returns more useful information:
~ $ apt-cache search inxi
inxi - System info script for irc (forked from infobash by locsmith)
~ $ apt-file search inxi
calibre: /usr/lib/calibre/calibre/gui2/store/stores/xinxii_plugin.py
python-spyderlib: /usr/lib/python2.6/dist-packages/spyderlib/utils/sphinxify.py
python-spyderlib: /usr/lib/python2.7/dist-packages/spyderlib/utils/sphinxify.py
python-spyderlib: /usr/share/pyshared/spyderlib/utils/sphinxify.py
quassel-data-kde4: /usr/share/kde4/apps/quassel/scripts/inxiLast edited by pidsley (2012-07-24 16:53:55)
Offline
That's correct, pidsley, but for the price of a cache, wasting space ... and time.
> search Xinerama.h
E: The cache is empty. You need to run 'apt-file update' first.
> man apt-file
...
update Resynchronize the package contents from their sources. The lists
of the contents of packages are fetched from the location(s)
specified in /etc/apt/sources.list. This command attempts to
fetch the Contents-<ARCH>.gz files from remote sources. For
downloading these uses either the curl or wget commands as spec‐
ified in apt-file.conf.
...
Offline
But for the price of a cache, I can find libraries I need when I'm building. Small price to me.
Agree to disagree, OK?
Offline
I have to side with pidsley here. On Arch, we also have no file search embedded into the package manager. It is a seperate tool called pkgfile, you can feed it with a file name or a complete file path. Absolutely useful, when there is some broken lib.so.0.foo.bar you need to find, without playing the guessing game with the name. It doesn't search the sources, though.
I'm so meta, even this acronym
Offline
If you don't want the cache, just search the Debian packages site pidsley linked to.
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.