Most of the time, ports will install the necessary dependencies to fulfill its requirement. But certain ports installs the X11 (X window system) libraries. Which we don't need it if the installation is meant to run on a server environment.
In this case, we will need to tell ports not to include the X11 libraries. This will certainly save some hard disk space, compilation time and avoid unnecessary security vulnerabilities.
Here is how to specify NOT to include X11 related libraries during ports installation :
Insert the lines below into /etc/make.conf :
WITHOUT_X11=yes WITHOUT_X=yes WITH_X=NO ENABLE_GUI=NO
and proceed to install the ports either using the conventional way of "cd /usr/ports/ ; make; make install; make clean" or using portmanager.
Namaste !!!
No comments:
Post a Comment