Install Perl under Fedora8.0

Source: Internet
Author: User
Tags install perl
Configure cdperl-5.8.8./Configure-demakemaketestmakeinstall Several Notes: 1-de is the configuration parameter, meaning the default configuration; 2 here there is a step

If you want to use perlto analyze the timeline and exceldata in ora 8.0, download perl-5.8.tar.bz2 from chinaunix,

Tar jxvf perl-5.8.8.tar.bz2
Cd perl-5.8.8
./Configure-de
Make
Make test
Make install

Notes:

1-de indicates the default configuration;

2. make test is required;

3. After installation, the Directory of perl is/usr/local/lib/perl5, And the perl execution file is in/usr/local/bin;

4. If the installation is unsuccessful for the first time, remember to delete the config. sh and Policy. sh files when installing the installation again.

5. After the installation is complete, perl can be recognized in shell because environment variables have been registered, that is, it can be automatically completed by tab.

6. edit a simple test script in vim:

#! /Usr/local/bin/perl

Print "Hello, world! \ N ";

Exit, perl test

If: Hello, world!

Congratulations, you have succeeded.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.