Search and install ports in FreeBSD
Ports are the collections of system tools that are used in FreeBSD.
How to search a port?
For example, we need to seach a port for ‘wget’ to install it. Use the following commands to search.
# cd /usr/ports
# make search name=wget | grep Path
# make search name=wget | grep Path
How to install a port?
Installing ports is very easy, just execute the command given below. Suppose the path is /usr/ports/www/wget
# cd /usr/ports/www/wget
# make install clean
Or
# make; make install; make clean
# make install clean
Or
# make; make install; make clean
Leave a Reply
You must be logged in to post a comment.