LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-06-2011, 11:17 PM   #1
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
where do i untar a module to?


I was having trouble installing IO::Socket::SSL, however from the reasearch that I have done, I learned that the problem is with Net::SSLeay.

So I downloaded the developers version, which is supposed be the better module and it is on my desktop
Net-SSLeay-1.33_01.tar.gz

However I am not really sure what directory I should untar it to.
Where do modules go to - which directory do I untar the module to
 
Old 02-06-2011, 11:50 PM   #2
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
I downloaded the Digest::MD5
module from CPAN and then did a find command.



casper@casper-laptop:~$ find . -name MD5
./.cpan/build/Digest-MD5-2.51-7Jh5jk/blib/lib/auto/Digest/MD5
./.cpan/build/Digest-MD5-2.51-7Jh5jk/blib/arch/auto/Digest/MD5
shortcasper@shortcasper-laptop:~$
 
Old 02-07-2011, 03:36 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Installing IO::Socket::SSL : sudo apt-get install libio-socket-ssl-perl
Or use the 'Package Manager' = Synaptic for the package install.

2300 perl modules are available, the list is here
http://packages.ubuntu.com/maverick/perl/

If you find a module, not listed in Synaptic,
the commands are :
sudo cpan
> cpan install <name> , which will also install dependencies.

Manual install ( which is last resort ) : Extract to /home/<user-name/tmp/
( or other folder in /home/<user-name/ ).
Example libio-socket-ssl-perl_1.33.orig.tar.gz
http://archive.ubuntu.com/ubuntu/poo...33.orig.tar.gz

cd IO-Socket-SSL-1.33/ && perl Makefile.PL && make && make test && sudo make install

..

Last edited by knudfl; 02-07-2011 at 03:40 PM.
 
Old 02-07-2011, 11:45 PM   #4
casperdaghost
Member
 
Registered: Aug 2009
Posts: 349

Original Poster
Rep: Reputation: 16
sudo apt-get install libio-socket-ssl-perl- worked. So if you need to install IO::Socket::SSL just do it as above.

When I tried to install it this way:
perl -MCPAN -e 'install IO::Socket::SSL' there is something wrong with one of the dependencies on CPAN, namely Net::SSLeay.

So I downloaded the new and improved version of NET::SSLeay - the only downside of this new improved version is that you have to manually install it.
So instead of putting it on my desktop, I can put it in my tmp file and then just install it - the module will put the files where they need to be?

There are some good sites on how to install the modules from scratch, however none of them tell you where to initially place the file (when you use apt get or cpan they automatically put the files where they need to be). Ok so put them in the tmp file when you first manually install them.

http://www.cpan.org/modules/INSTALL.html

http://www.rcbowen.com/imho/perl/modules.html

Last edited by casperdaghost; 02-07-2011 at 11:54 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Untar from a CD CJohnM Linux - Newbie 8 03-12-2006 04:39 AM
'untar'? stevesk Linux - Newbie 11 12-20-2004 07:50 PM
Untar Dharma_bum07 Linux - Newbie 2 11-26-2004 11:16 AM
can't untar... spotass Linux - Newbie 4 05-29-2004 01:41 PM
untar imsajjadali Red Hat 3 01-29-2004 02:47 AM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration