Search Results for: ftp

PERL Scripting: Install a module through CPAN and manually

In this we will see how to install PERL modules in Linux/Unix. Some times it is required to enhance a program capabilities by including a piece of code. Instead of we writing a code we can check if any modules are available at cpan.org which can be downloaded for free of cost. We can even install a module manually too. In this post we will see how to install a module in both ways. Installing a PERL module through CPAN Make sure that CPAN command is installed in your machine and configured. For steps click here. Once you configure cpan command we can use it by just typing cpan at the command prompt. cpan Output: surendra@linuxnix.com :~$ cpan Terminal does not support AddHistory.     cpan shell — CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan[1]> install App::Prove::State or direct cpan install command as shown below. cpan install App::Prove::State Output: surendra@linuxnix.com :~$ cpan install App::Prove::State Reading '/home/surendra/.cpan/Metadata' Database was generated on Thu, 13 Jun 2013 19:41:02 GMT Running install for module 'App::Prove::State' Running make for O/OV/OVID/Test-Harness-3.28.tar.gz Fetching with LWP: http://ftp.lip6.fr/pub/perl/CPAN/authors/id/O/OV/OVID/Test-Harness-3.28.tar.gz Fetching with LWP: http://ftp.lip6.fr/pub/perl/CPAN/authors/id/O/OV/OVID/CHECKSUMS Checksum for /home/surendra/.cpan/sources/authors/id/O/OV/OVID/Test-Harness-3.28.tar.gz ok     CPAN.pm: Building O/OV/OVID/Test-Harness-3.28.tar.gz Checking if your kit is complete… Looks good Writing Makefile for Test::Harness Writing MYMETA.yml and MYMETA.json cp lib/TAP/Parser/Result/Pragma.pm blib/lib/TAP/Parser/Result/Pragma.pm cp lib/TAP/Parser/Iterator/Array.pm blib/lib/TAP/Parser/Iterator/Array.pm cp lib/App/Prove/State/Result.pm blib/lib/App/Prove/State/Result.pm cp lib/TAP/Base.pm blib/lib/TAP/Base.pm cp lib/TAP/Formatter/Console/ParallelSession.pm blib/lib/TAP/Formatter/Console/ParallelSession.pm cp lib/TAP/Parser/Result.pm...

Read More

How to install CPAN package and configure it in Linux?

CPAN(Comprehensive Perl Archive Network) is an online portal(http://www.cpan.org) and a repository of PERL modules written by community. The beauty of this online resource is we can download and install these modules in to your machine with CPAN command. This tutorial show you how to install and configure CPAN in Linux operating systems like Redhat, Fedora, CentOS, Ubuntu etc. Install CPAN package in Ubuntu/Debian apt-get install build-essential Install CPAN package In Redhat/Centos/Fedora Installing CPAN package in Redhat/CentOS/Fedora: yum install perl-CPAN Output: [root@www Desktop]# yum install perl-CPAN Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors * base: centos.mirror.net.in * extras: centos.mirror.net.in * updates: centos.mirror.net.in base | 3.7 kB 00:00 extras | 3.5 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 2.9 MB 00:01 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package perl-CPAN.i686 0:1.9402-131.el6_4 will be installed --> Processing Dependency: perl = 4:5.10.1-131.el6_4 for package: perl-CPAN-1.9402-131.el6_4.i686 --> Processing Dependency: perl(Digest::SHA) for package: perl-CPAN-1.9402-131.el6_4.i686 --> Running transaction check ---> Package perl.i686 4:5.10.1-119.el6_1.1 will be updated --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: 4:perl-devel-5.10.1-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: 1:perl-Pod-Escapes-1.04-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: perl-Test-Simple-0.92-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: 1:perl-Module-Pluggable-3.90-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: perl-ExtUtils-MakeMaker-6.55-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: perl-Test-Harness-3.17-119.el6_1.1.i686 --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: 3:perl-version-0.77-119.el6_1.1.i686...

Read More

Install Linux(Redhat/CentOS/Ubuntu) OS from a USB stick/disk

We have already seen how to install different Linux OS through CD-ROM's. Below are the Linux os installations already covered so far. How to install Fedora Linux 17? How to install Ubuntu 12.10 Linux? How to install Linux Cent OS 6(Community Enterprise Linux OS)? How to install Redhat Enterprise Linux(RHEL) 6 OS? How to install Linux Mint 13 OS? How to install OpenSUSE Linux OS 12.1? From today onwards we will see some other types of Linux installations like Linux OS installation through network, Linux OS installation through kickstart and installing through USB pen drive. First in the series is installing Linux OS from a USB pen drive or key. There are some non reliable methods available on Internet which show you complex procedures and not reliable. I do not say they are bad but they are difficult to implement and remember. And that procedures are not same for different Linux distributions. There is a really easy tool in Ubuntu Linux which makes your work simpler and creates Ubuntu Linux bootable USB pen drive. Have a look at our video on how to do it in Ubuntu with that tool. What is the easiest way to convert a USB device to a bootable device? The simplest way is to convert an ISO image to hybrid ISO by using syslinux tools and write this ISO file onto USB device. Almost all Linux...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.