Q. I need Perl programming language to run scripts. How do I install perl on FreeBSD operating system?
A. Practical Extraction and Report Language or Perl can be installed using FreeBSD ports or binary package system. Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal).
Install perl using FreeBSD ports
Perl5 port is located at /usr/ports/lang/perl5.8. Type the command as follows to install Perl5:
# cd /usr/ports/lang/perl5.8
# make;make install;make clean
Now perl will be installed and binary path to perl is /usr/local/bin/perl.
Install perl using FreeBSD pkg_add command
Just type the following command:
# pkg_add -v -r perl
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop











{ 4 comments… read them below or add one }
In release 8.x of FreeBSD command is
pkg_add perl -v -r
If is package not present, it downloads the latest package from Internet ftp server with distribution..
I must add, it connects at http://ftp.freebsd.org always, and on FREEBSD 8.x
in directory /usr/ports/lang/ is perl5.8 and perl5.10
Command make in this directory will instal perl, but it cannot find package and attempt to download it too..
Thank you.
Thank You! :)