FreeBSD install Perl language
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
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- Linux: Find my IP address using Perl at a shell prompt
- How do I install and search FreeBSD ports or a package?
- FreeBSD Install Applications
- FreeBSD find out RAM size including total amount of free and used memory size
- How do I install a Perl Module?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
Tags: freebsd_ports, install_perl, make_command, pkg_add_command ~ Last updated on: August 5, 2007



Recent Comments
Today ~ 2 Comments
Today ~ 37 Comments
Today ~ 46 Comments
Yesterday ~ 2 Comments
Yesterday ~ 9 Comments