FreeBSD how to search and install apps from ports

Of course everyone know, how to do it. 🙂 except me, old Linux geek. 🙂
First, search for it, second install

ms2# whereis nmap
nmap: /usr/ports/security/nmap
ms2# cd /usr/ports/security/nmap
ms2# make install


Second way, how to search:

# cd /usr/ports
# make search name=nmap

Port:   nmap-5.61.t5
Path:   /usr/ports/security/nmap
Info:   Port scanning utility for large networks
Maint:  ohauer@FreeBSD.org
B-deps: gettext-0.18.1.1 gmake-3.82 libiconv-1.14 lua-5.1.5_4 pcre-8.30_1 pkg-config-0.25_1
R-deps: lua-5.1.5_4 pcre-8.30_1 pkg-config-0.25_1
WWW:    http://nmap.org/

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>