Tuesday, January 19, 2016

FreeBSD Virtual Machine: Ports / Installing Perl

One of the ways to install additional software in the FreeBSD system is with ports. Here is a brief explanation on how to download the "ports tree" and install one of then (perl).


1. Use the portsnap command to download the ports tree into the local system:

portsnap fetch extract


2. The ports tree will be created under "/usr/ports/". Once it is populated with all the makefiles and patches, any of the ports can be installed by doing the following e.g. perl:

cd /usr/ports/lang/perl5.20/ && make install clean


3. At last, check whether the installation was successful:

perl -v




















References:
http://www.bsdnow.tv/tutorials/ports
http://www.freshports.org/lang/perl5.20/
http://www.xfiles.dk/guide-on-how-to-install-perl-on-freebsd/

1 comment:

  1. Daytime fans will get to see some of their favorite soap opera stars from Bold and the Beautiful, Days of our Lives, General Hospital and Young and the Restless not only take home a Daytime Emmy Award but also announce the big news and present the famous statuette to their fellow peers. Announced by The National Academy of Television Arts and Sciences (NATAS), Soaps.com has the presenters’ list for this year’s 46th Annual Daytime Emmy Awards , which will be streamed online via Daytime Emmys Facebook Live, Twitter and Instagram on Sunday May 5 live from California’s Pasadena Civic Auditorium with The Talk’s Sheryl Underwood and Extra’s Mario Lopez serving as co-hosts.
    Daytime Emmy Awards 2019 Live

    ReplyDelete