Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Ubuntu 6.06 - How to install Activestate Perl

  • Subject: Re: Ubuntu 6.06 - How to install Activestate Perl
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Sat, 26 Aug 2006 17:03:08 +0100
  • Newsgroups: comp.os.linux.advocacy
  • Organization: schestowitz.com / ISBE, Manchester University / ITS
  • References: <1156601261.673450.327330@m79g2000cwm.googlegroups.com> <7LZHg.19801$d15.12983@fe40.usenetserver.com>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ yttrx ] on Saturday 26 August 2006 16:26 \__

> tuser <tuser3@xxxxxxxxx> wrote:
>> Hello everybody,
>> 
>> I am in the process of converting from Windows XP to Linux.
>> 
>> Yesterday I got hold of a distribution on DVD for Ubuntu 6.06 LTS (the
>> drapper drake) which I installed with no problems at all -- lovely
>> stuff !
>> 
>> The first thing I noticed was that it had Perl version 5.8.7-10
>> (ubuntu1) already installed which worked ok, but I prefer a nice
>> installation of Activestate Perl (I was using Activestate Perl on
>> Windows XP with all the documentation in *.html format)
>> 
>> So I downloaded the latest Activestate Perl installation
>> ("ActivePerl-5.8.8.817-i686-linux-2.2.17-gcc-257965.deb") and installed
>> it.
>> 
>> The installation process of Activestate on my Ubuntu Linux did not show
>> any error, however, if I type "perl -V", I can see the old Ubuntu Perl
>> version still active and also, I don't see any files from Activestate
>> Perl, in particular I can't find any of the *.html documentation.
>> 
>> I tried uninstalling the active Ubuntu Perl version with the "Synaptic
>> Package Manager" (drop-down menu "System/Administration/Synaptic
>> Package Manager"), but it reported "broken packages" (message: Error
>> pkgProblemResolver::Resolve generated breaks, this maybe caused by held
>> packages).
>> 
>> Perl being an integral part of many utilities in Linux, I can fully
>> understand the problems when uninstalling such a vital component.
>> 
>> But here comes my question: How can I replace the active Perl version
>> in Ubuntu Linux with a new Activestate Perl ?
>> 
> 
> What you need to do is understand that linux is not windows, and that
> you already installed it correctly.
> 
> What you did not do correctly was set up your path.  Your problem is
> that the perl executable from the original install is in your path
> before the activestate perl executable, if the activestate perl
> executable is in your path at all.
> 
> All you need to know is where your activestate perl binary is.  In
> order to do that, youll need to read these:
> 
> man find
> man locate
> man dpkg
> man aptitude
> 
> Once you find it, do an "echo $PATH" at a bash prompt, and figure out
> where to put the path to the activestate perl binary--which can be
> just about anywhere in a regular user path.
> 
> Your path is a shell variable, and it can be set like this in bash:
> 
> export PATH=blahblahblah:blahblahblah:blahblahblah

Might it be worth getting GCC from Synaptic and compile the package rather
than rely on the .deb? Don't get me wrong. Your advice is very
well-expressed, but I just can't see how it relates to the error that's
coughed out during installtion. I could, of course, just be incapable of
understanding this because I don't program in Perl. I was only taught how to
get packages with/from CPAN last year...

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index