Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

29.14. CGI.pm Perl library

The CGI.pm is a Perl5 library for writing World Wide Web CGI scripts. Older versions of this software exist by default on your system, but they are buggy. It's recommended that you update your copy to version 2.56, at least. To update this module, please follow these steps.

These are the package(s)

CGI.pm Homepage: https://stein.cshl.org/WWW/software/CGI/cgi_docs.html
You must be sure to download: CGI_pm_tar.gz
CGI.pm version number is 2.56

      [root@deep ]/# cp CGI_pm_tar.gz /var/tmp/
      [root@deep ]/# cd /var/tmp/
      [root@deep ]/tmp# tar xzpf CGI_pm_tar.gz
    

First of all, well check the version of CGI.pm installed in our system with the following command:
        [root@deep ]/# perl -e 'use CGI; print $CGI::VERSION."\n";'
      

        2.46
      

Move into the new CGI.pm directory and type the following commands on your terminal to compile and install the updated libraries on your Linux server:
        [root@deep ]/CGI.pm-2.56# perl Makefile.PL
        [root@deep ]/CGI.pm-2.56# make 
        [root@deep ]/CGI.pm-2.56# make test 
        [root@deep ]/CGI.pm-2.56# make install 
      

Please do cleanup later:
        [root@deep ]/# cd /var/tmp
        [root@deep ]/tmp# rm -rf CGI.pm-version/ CGI_pm_tar.gz
      

29.14.1. Installed files

/usr/lib/perl5/5.00503/CGI/Pretty.pm
/usr/lib/perl5/5.00503/i386-linux/auto/CGI
/usr/lib/perl5/5.00503/i386-linux/auto/CGI/.packlist
/usr/lib/perl5/man/man3/CGI::Pretty.3

 
 
  Published under the terms of the Open Publication License Design by Interspire