There are various way of managing ports, using utilities. The usual “cd /usr/ports/<ports directory>; make; make install; make clean“, portmaster, portupgrade and others. Today, this post will brief on how to use portmanager to install, upgrade and delete ports.
Using portmanager to manage ports have a few advantage :
portmanager scans for what dependencies are needed and [...]
The default download program for ports is using fetch. fetch is fine but my personal preference is wget. wget uses 1 connection to download, unlike my previous post that mentioned “Download ports simultaneously with multiple connections“.
But wget gives extra bell and whistle like date/time of the download, log to file, continue from a partially downloaded [...]
Ports gets it’s sources from internet. If the sources is big or there are multiple tens of sources, the tendency to fail in the mid of the ports installation increases.
Scenario 1:
Bumpy internet broadband internet connection, like mine, will disconnect halfway when downloading big files (> 10 MB)
Scenario 2:
Large ports that depends on tens if not [...]
Ports randomly gets it’s source server list from /usr/ports/Mk/bsd.sites.mk, as defined by the port maintainer. But the top 1st choice of the list may not be the one physically near to us and thus the download speed is much desirable. Most of the time compiling ports doesn’t necessary takes a long time (like my 3 [...]
While adding GUI Desktop environment into my development box, an error encountered when compiling KDE4, the stable and nice looking Desktop environment. Compiling KDE4 can take quite some time as it depends on few hundred other ports. Alternatively, you can install KDE4 from the packages by using the command :
pkg_add -r kde4
But installing programs using [...]
Use the command :
swapinfo
Specified the parameter “-h” to convert the bytes to “h”uman readable form :
swapinfo -h
Sayonara !!!
The FreeBSD Ports repository have a rich base of software. As of today, it has 21000 ++ ports. As we all know, all software have bugs. Some bugs leads to vulnerabilities. Vulnerabilities opens door to unwanted access, at least not to those have ill intentions.
Every now and then, FreeBSD sysadm tends to install or upgrade [...]
For the love of the world, please do this.
Step 1 :
cd /usr/src
Step 2 :
make love
Enjoy the output
World Peace !!!
By default, ports uses 1 connection to download and thus unbearably slow when a server rate limit the connection. Alternatively, we can tell ports to use external utility in order to open multiple connections and download simultaneously.
Often, after a fresh new installation of FreeBSD, we have a set of programs we want to install. The conventional method would be installing it one by one in /usr/ports. Today, we will use meta ports to install the set of applications by just one “make install clean” rather then “cd” into individual directories and [...]