- Use the command whereis to find ports e.g. sudo:
root@FreeBSD:/ # whereis sudo
sudo: /usr/ports/security/sudo
- cd into /usr/ports and use command make search name=program name
root@FreeBSD:/usr/ports # make search name=sudo
Port: sudo-1.8.15
Path: /usr/ports/security/sudo
Info: Allow others to run commands as root
Maint: garga@FreeBSD.org
B-deps: expat-2.1.0_3 gettext-runtime-0.19.6 gettext-tools-0.19.6 indexinfo-0.2.4
R-deps: gettext-runtime-0.19.6 indexinfo-0.2.4
WWW: http://www.sudo.ws/
- Installing sudo:
cd /usr/ports/security/sudo/ && make install clean
References:
- https://www.freebsd.org/doc/handbook/ports-finding-applications.html
No comments:
Post a Comment