By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,245 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,245 IT Pros & Developers. It's quick & easy.

help with installation

P: 2
hi all,
im trying to install perl in linux OS..
can any one guide me through the it plz...
im new to perl scripting.

thank you....
Jan 3 '08 #1
Share this Question
Share on Google+
4 Replies


KevinADC
Expert 2.5K+
P: 4,059
hi all,
im trying to install perl in linux OS..
can any one guide me through the it plz...
im new to perl scripting.

thank you....
Perl generally comes with Linux distributions.

http://www.cpan.org/ports/index.html#linux
Jan 3 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
hi all,
im trying to install perl in linux OS..
can any one guide me through the it plz...
im new to perl scripting.

thank you....
I agree with Kevin, I believe that Perl should be there by default, unless you chose NOT to install it during installation.

Simply open your command line and type "which perl" and it will tell you where it is. You can also type "perl -v" after that and it will tell you what version it is. The newest version is 5.10, but it may be 5.8.x that is installed.

Regards,

Jeff
Jan 3 '08 #3

P: 2
I agree with Kevin, I believe that Perl should be there by default, unless you chose NOT to install it during installation.

Simply open your command line and type "which perl" and it will tell you where it is. You can also type "perl -v" after that and it will tell you what version it is. The newest version is 5.10, but it may be 5.8.x that is installed.

Regards,

Jeff
hi,
thank you..
i will check im my system...
Jan 5 '08 #4

P: 19
Perl should be installed with your distribution. Which distrobution are you using? I know in Redhat if you install the development tools you are fine.


Here is a sime perl program. Just use the vi editor

# ! /usr/bin/perl
#Simple perl program

print ("This is a simple perl program")


save this

then run ./sample.pl

you may have to change priv to execute.

chmod ugo + x sample.pl
Jan 5 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.