Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install CPAN and have downloaded CPAN-2.05.tar.gz .
to the Downloads directory.
As root, have tar -zxvf CPAN-2.05.tar.gz, then to do ./configure
but that is about it. I tried the rest of the installation with
commands - make, test, install but all without much luck. Can anyone
point me to the correct commands to use for a successful installation.
Hi,
I'm trying to install CPAN and have downloaded CPAN-2.05.tar.gz. to the Downloads directory.
As root, have tar -zxvf CPAN-2.05.tar.gz, then to do ./configure but that is about it. I tried the rest of the installation with commands - make, test, install but all without much luck. Can anyone point me to the correct commands to use for a successful installation.
It's helpful if you provide details when asking a question. Just saying you didn't have much luck tells us nothing. You don't tell us what version/distro of Linux you're using, or where you got the instructions you're following.
If you downloaded the .gz file from CPAN, it builds like any perl module builds. That is:
Go into the directory created when you uncompressed the file
Type in "perl Makefile.PL"
Type in "make"
Type in "make test"
Type in "make install" (if not running as root, you may have to type in "sudo make install")
Apology for this late response, just got back from a short trip.
My Linux Distribution is Fedora 19 and have got MySQL installed.
I am trying to install Perl support for MySQL. CPAN was downloaded
from it official website.
I started to learn Linux with Fedora 7 when installation takes 5 cds, but
have pop-in and out a few times. Recently returned to Linux and found it
is amazingly much easier to use than the early versions.
Hi,
Apology for this late response, just got back from a short trip.
My Linux Distribution is Fedora 19 and have got MySQL installed. I am trying to install Perl support for MySQL. CPAN was downloaded from it official website.
I started to learn Linux with Fedora 7 when installation takes 5 cds, but have pop-in and out a few times. Recently returned to Linux and found it is amazingly much easier to use than the early versions.
Will work on your command lines and post soon.
If this is a new installation, stop where you are. Fedora 19 is a bit older...the latest is 20, with 21 being worked on right now. If you're just beginning again, loading the latest version is the best way to go. And you can easily install Perl support for MySQL WITHOUT the CPAN module. Doing a fresh installation, note that you can select different package groups. If you expand them, you can see individual packages, probably under the "Development" header. From there, select the perl modules you want, one of which will be the DBD module.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.