LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get that Darn Perl working? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-that-darn-perl-working-4175437174/)

pprins 11-14-2012 04:25 PM

How to get that Darn Perl working?
 
Hi,

Yep first post here, I have been installing Perl on a Linux box to get VMWare tools installed @work.
But the instructions on Perl.org suck big time once you passed the tar part.
Perl installed itself in /opt/ActivePerl-5.16 but it does not seem to work or be active, the instructions tells that after installing you should give a command "make" that does not work, so perl -v gives a command not found, now what?

Thanx ,Peter

chrism01 11-14-2012 04:43 PM

I'm curious as to why you're taking this route.
Linux comes with Perl as part of the std install.
Can you tell us what distro this is
Code:

cat /etc/*release*

uname -a


pprins 11-14-2012 05:16 PM

Quote:

Originally Posted by chrism01 (Post 4829571)
I'm curious as to why you're taking this route.
Linux comes with Perl as part of the std install.
Can you tell us what distro this is
Code:

cat /etc/*release*

uname -a


What about the route?
wrong forum?

The distro is a Check Point SecurePlatform R70.40
But there has been whispered that it's a CentOS

The fact you tell that Linux is comming with Perl as std install,.....well i quess not!

But how do i get it running?

chrism01 11-14-2012 05:23 PM

If you ran those cmds, we'd get more detailed info.
Not sure what you mean about 'route'.?
It could well be Centos based, the above is how we find out. Centos does have perl available in its repos and that would definitely be the best way to install it.
If its cmd line only, then as root
Code:

yum provides perl
on my Centos6 returns
Code:

4:perl-5.10.1-127.el6.x86_64 : Practical Extraction and Report Language
Repo        : base
Matched from:



4:perl-5.10.1-127.el6.x86_64 : Practical Extraction and Report Language
Repo        : installed
Matched from:
Other      : Provides-match

so you'd then use
Code:

yum install perl
which will handle dependencies for you automatically.

pprins 11-14-2012 06:00 PM

Quote:

Originally Posted by chrism01 (Post 4829597)
If you ran those cmds, we'd get more detailed info.
Not sure what you mean about 'route'.?
It could well be Centos based, the above is how we find out. Centos does have perl available in its repos and that would definitely be the best way to install it.
If its cmd line only, then as root
Code:

yum provides perl
on my Centos6 returns
Code:

4:perl-5.10.1-127.el6.x86_64 : Practical Extraction and Report Language
Repo        : base
Matched from:


4:perl-5.10.1-127.el6.x86_64 : Practical Extraction and Report Language
Repo        : installed
Matched from:
Other      : Provides-match

so you'd then use
Code:

yum install perl
which will handle dependencies for you automatically.

Yum gives a "command not found" so i quess it's not a CentOS this is getting nowhere.

Check Point SecurePlatform is a Firewall product (former known as Nokia Firewall as i recall) it's a commercial product so somekind of a stripped "whatever" Linux.

Greetz,
Peter.

chrism01 11-14-2012 06:58 PM

To be honest it could be a stripped down any Linux.
Please run my orig requests, so we can find out..
Otherwise, ask Check Point, the reason being that getting the correct tools from the official repositories is a much better idea (easier and more likely to work) than just grabbing something off the web randomly.
Also, doing random installs can invalidate your license / support.


PS: the Perl gurus hang out at www.perlmonks.org


All times are GMT -5. The time now is 11:10 AM.