You are not logged in.

#1 2008-11-27 18:16:40

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

[Solved] Zenmap automatically installed with nmap??

Hello all,

So far Arch Linux has taught me much about linux. The wiki has been very helpful.

Recently I installed nmap with a simple "pacman -Sy nmap" ..and it installed without problems. nmap works as it is supposed to.

So now, I opened X and found that zenmap was installed as well.
I will not be using the GUI version. Is there any way to get rid of it? I thought it was supposed to be installed separately..

"pacman -Ql nmap" gives me the following:

nmap /usr/share/nmap/scripts/ircZombieTest.nse
nmap /usr/share/nmap/scripts/nbstat.nse
nmap /usr/share/nmap/scripts/netbios-smb-os-discovery.nse
nmap /usr/share/nmap/scripts/popcapa.nse
nmap /usr/share/nmap/scripts/promiscuous.nse
nmap /usr/share/nmap/scripts/ripeQuery.nse
nmap /usr/share/nmap/scripts/robots.nse
........
nmap /usr/share/zenmap/
nmap /usr/share/zenmap/config/
nmap /usr/share/zenmap/config/scan_profile.usp
nmap /usr/share/zenmap/config/zenmap.conf
nmap /usr/share/zenmap/config/zenmap_version
nmap /usr/share/zenmap/docs/
nmap /usr/share/zenmap/docs/help.html
nmap /usr/share/zenmap/locale/
nmap /usr/share/zenmap/locale/pt_BR/
nmap /usr/share/zenmap/locale/pt_BR/LC_MESSAGES/
nmap /usr/share/zenmap/locale/pt_BR/LC_MESSAGES/umit.mo
nmap /usr/share/zenmap/misc/
nmap /usr/share/zenmap/misc/options.xml
nmap /usr/share/zenmap/misc/profile_editor.xml
nmap /usr/share/zenmap/misc/wizard.xml
nmap /usr/share/zenmap/pixmaps/
nmap /usr/share/zenmap/pixmaps/default.svg
nmap /usr/share/zenmap/pixmaps/default_32.png
...

...so as you can see "zenmap" is apparently part of the "nmap" package.

My knowledge of pacman is limited.. is there some way to divide up the package further? Or to simply remove only part of the package?

Currently the only way I can think of solving this is to manually remove everything in the zenmap directory, however I am afraid that I would be missing some dependency or I would be unable to later remove or upgrade nmap.

Is there some way to do this?

Thank you,
LiteHacker


I don't know if it would be of any use, but I'm still posting it just in case, here are the dependencies of nmap taken from "pacman -Qi nmap":
Depends On     : pcre  openssl  libpcap>=0.9.8  lua

Last edited by LiteHacker (2008-11-27 19:17:42)

Offline

#2 2008-11-27 18:23:42

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: [Solved] Zenmap automatically installed with nmap??

--without-zenmap will compile it without gui.. modify the PKGBUILD and install


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2008-11-27 18:37:18

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

Re: [Solved] Zenmap automatically installed with nmap??

Ah.. so simply compile from the sources.

I was thinking that would not be a very good idea since the binary would not be automatically updated with "pacman -Sy" but I guess that there is no other alternative.

Thanks anyway,
LiteHacker

Last edited by LiteHacker (2008-11-27 18:37:45)

Offline

#4 2008-11-27 18:41:50

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [Solved] Zenmap automatically installed with nmap??

u_no_hu doesn't mean to compile it from source and install it separately.

The PKGBUILD is what's used to create packages for pacman. Take a look at ABS in the wiki to learn more about this. What u_no_hu suggested is that you change a line in the PKGBUILD so that you can create a package without the GUI. Once you've done that, you can rebuild the package and install it with pacman and you'll no longer have zenmap.

*edit*
Afaik, there is never any reason to install anything directly on an Arch system. You should always create a package for anything that you need.

Last edited by Xyne (2008-11-27 18:43:30)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2008-11-27 18:52:42

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

Re: [Solved] Zenmap automatically installed with nmap??

Wow, that was helpful.
Sorry about the misinterpretation.

LiteHacker

Offline

Board footer

Powered by FluxBB