LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2006, 06:31 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Easy way to install packages?


I am new to debian and linux. I need to make sure that these packages are installed or install the following perl packages:
Quote:
Compress::Zlib
Archive:Zip
XML::RSS
File::RsyncP
I have confirmed that the Compress::Zlib is not installed. I tried apt-get install and that came up with a package not found. I have looked at cpan.org and have found the packages but there is a manual installation procedure.

Questions:

Is there an easy way to install?
If I need to install manually what directories do the compressed packages go into and what directories do the uncompressed packages go into?
 
Old 12-05-2006, 06:36 PM   #2
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
Do you mean these packages?

Google "Debian perl [zlib,zip,rss,rsyncp]"

http://packages.debian.org/unstable/...ress-zlib-perl
libcompress-zlib-perl

http://packages.debian.org/unstable/...chive-zip-perl
libarchive-zip-perl

http://packages.debian.org/cgi-bin/s...ibxml-rss-perl
libxml-rss-perl

http://packages.debian.org/unstable/...le-rsyncp-perl
libfile-rsyncp-perl

Last edited by truthfatal; 12-05-2006 at 06:39 PM.
 
Old 12-05-2006, 06:48 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
flycast: the apt-cache command can be used to search for available packages. With a little practise and creative use of grep, it's usually possible to narrow down results.

When I read your question, I used this command to search for the zlib perl module:
Code:
apt-cache search perl | grep -i zlib
..which returned a few results. Forgive me for not pasting them, I'm playing with debian via vmware and I didn't work out how to copy-paste between that and my main system.

This is my first port of call when trying to find a package which provides something I want.

Failing that, I might use the synaptic package manager to search. I prefer the command line tools because I find it faster to use them, but you should use whatever you're most comfortable with.
 
Old 12-06-2006, 06:41 PM   #4
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
matthewg42:
This is what I get when I do the search you propose. Apparently, the correct package is not installed as the compression feature does not work in the software.
Quote:
debian:~# apt-cache search perl | grep -i zlib
libcompress-zlib-perl - Perl module for creation and manipulation of gzip files
libio-zlib-perl - IO:: style interface to Compress::Zlib
truthfatal:

I apreciate your reply. I can find the packages at CPAN.org but have only used apt-get to install packages. I do not understand how to install packages like this where the package needs to be compiler manually. I don't understand what folders to place the archive that I download in, I don't understand where in the file system to actually install to. Can you help me understand this?
 
Old 12-06-2006, 06:51 PM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
flycast: apt-cache search will just show packages which are available in the repositories you have set up in your /etc/apt/sources.list file. It doesn't show if they are installed or not. Once you know the package name you're interested in, you can check to see if it's installed with:
Code:
dpkg --list libcompress-zlib-perl
This will list any matching packages if they are installed. You can use wildcards in dpkg --list commands, but make sure you quote them to prevent wildcards matching file names in your current directory, e.g.
Code:
dpkg --list '*zlib*'
If you don't have the libcompress-zlib-perl you want installed, it's easy to install it:
Code:
apt-get install libcompress-zlib-perl
And that will download and install the package.
 
  


Reply



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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
Easy-use, easy-install, fast, minimal KDE distro? lukeprog Linux - Distributions 8 09-08-2007 04:21 PM
Any easy way to add packages to Suse 10 ? Cyrix Linux - Software 1 03-25-2006 07:13 PM
newbie: looking for easy to install distro that I can install new programs on easily m.r.bob Linux - Distributions 25 02-15-2006 05:04 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 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
Open Source Consulting | Domain Registration