Page 1 of 2 12 LastLast
Results 1 to 15 of 26

Thread: Perl 5.8.4

  1. #1
    Member LEEnoble's Avatar
    Join Date
    Sep 2004
    Location
    England, UK
    Posts
    34

    Default Perl 5.8.4

    Anyone know what i type in SSH to install perl 5.8.4 onto my server? Thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    Code:
    wget http://layer1.cpanel.net/perl584installer.tar.gz
    tar -zxvf perl584installer.tar.gz
    cd perlinstaller
    ./install

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    129

    Default mistake

    That has a typo it should actually read


    wget http://layer1.cpanel.net/perl584installer.tar.gz
    tar -zxvf perl584installer.tar.gz
    cd perl584installer
    ./install

  4. #4
    Member
    Join Date
    Oct 2003
    Posts
    328
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    You can install Perl 5.8.5 directly from CPAN as well.

    There is only one change you need to make in the default settings to make it work with cpanel.
    Code:
    cpan
    install N/NW/NWCLARK/perl-5.8.5.tar.gz
    Accept all the default answers EXCEPT the following:

    Installation prefix to use? (~name ok) [/usr/local]

    Instead of pressing ENTER/RETURN to accept the default you MUST type:

    /usr

    From there on, you can accept the defaults.

    If you're going to upgrade, you might as well get the latest version.

    I'd also run:
    Code:
    /scripts/upcp
    after the Perl upgrade to make sure CPANEL has all the appropriate Perl modules it needs for the new version.

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    129

    Default Wow

    Aric is on top of things today !!
    Any idea how to repair a broken down YUM on fedora Core 1 ?
    Ive ripped it out of a box several times and put it back in done it text book and the box still wont run updates says there no yum module !!!!!!!!!!!! Never had this happen ever before~~

  6. #6
    Member
    Join Date
    Oct 2003
    Posts
    328
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    lol. No, sorry, I don't have any servers with FC1 on them. I have RHEL 3.3 or CentOS 3,3 on my servers. Perhaps someone else will have some ideas on how to fix it for you.

    Have you tried specifying the location of yum when running it... say something like /usr/local/bin/yum or wherever it happens to be on your machine?

  7. #7
    Member
    Join Date
    Nov 2003
    Posts
    129

    Default Yum Broken

    Actually yes I did figure it out took a while but if anybody else has this problem
    http://forum.ev1servers.net/showthre...+yum+wont+work

    Less the stuff for the redhat 9 to fedora conversion the yum install by these instructions worked like a charm - if you have previously installed make sure you deinstall yum {like mine was damaged} then just install - update and bind it to fedora - upcp per the instructions boom its healed!!!


  8. #8
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    Does cpanel update perl automatically? I currently have 5.8.1 on a RHE server.

  9. #9
    Member
    Join Date
    Oct 2003
    Posts
    328
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    No. CPANEL does not. If you have it set to do so, your OS provider might, but typically they try to "upgrade" you to an older version, which is why it's probably best to stop that from happening (for example in up2date --config)

  10. #10
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    you can also do this:

    wget http://tdknights.com/buildapache/perlinstall
    chmod 755 perlinstall
    ./perlinstall

    this will get you to the latest perl (5.8.5). it is my own script and works quite well on all platforms.

    this will overwrite perl on top of your previous versions.

    you will still need to run /scripts/upcp afterwards to be sure you have the right perl mods.

  11. #11
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    Anyone use the perl installer here: http://layer1.cpanel.net/ to upgrade? If so how did it go, and how would u do it?

  12. #12
    Member
    Join Date
    Oct 2003
    Posts
    328
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    The installer basically just runs the standard perl installer but it saves you from having to select /usr as the install location and pressing ENTER through all the other options. ;-)

    FYI for anyone who missed it, 5.8.6 is now the latest stable release of Perl.

  13. #13
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    is there any benefit to running the latest perl version? It seems I've heard of a number of issues/problems caused by upgrading perl (especially for cpanel), and I haven't particularly heard of any perl vulnerabilities in the past couple years.

  14. #14
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    my instructions posted above will now get 5.8.6.

    nice and simple without worries.

  15. #15
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    Quote Originally Posted by Sinewy
    my instructions posted above will now get 5.8.6.

    nice and simple without worries.
    Just curious, what's the difference/advantage of using your script as to using the perl script from cpanel?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 08-22-2011, 11:03 AM
  2. Perl 5.8.8 install broke my Perl @INC
    By soif in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 01-17-2008, 03:21 PM
  3. Cpanel Perl install overwrote CentOS Perl RPM?
    By dicen in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-31-2007, 01:40 PM
  4. Mimerdesk (Perl based Elo) shows only perl source code
    By lasermen in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-05-2005, 05:42 PM
  5. Replies: 0
    Last Post: 11-05-2003, 12:26 AM