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 01-27-2017, 12:50 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 516

Rep: Reputation: 34
Cannot download dependencies for Perl


I'm attempting to install ClamTK but cannot download the needed Perl Dependencies. Perl is intalled and appears to be at the most current level. Below is list of what's happening when trying to install the rpm.

System is CentOS 7.2

Any help will be appreciated in resolving this issue. Thanks

[root@localhost rifkinho]# rpm -ivh clamtk-5.20-1.el7.noarch.rpm
error: Failed dependencies:
perl(Glib) is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2) is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2) >= 1.248 is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2::Gdk::Keysyms) is needed by clamtk-5.20-1.el7.noarch
perl(LWP::Protocol::https) is needed by clamtk-5.20-1.el7.noarch
perl(Locale::gettext) is needed by clamtk-5.20-1.el7.noarch
perl(Text::CSV) is needed by clamtk-5.20-1.el7.noarch
perl(Time::Piece) is needed by clamtk-5.20-1.el7.noarch


[root@localhost rifkinho]# yum upgrade perl
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
* base: mirror.math.princeton.edu
* epel: mirror.math.princeton.edu
* extras: mirror.math.princeton.edu
* updates: centos.chi.host-engine.com
279 packages excluded due to repository priority protections
No packages marked for update
[root@localhost rifkinho]#

Last edited by swamprat; 01-27-2017 at 12:51 PM.
 
Old 01-27-2017, 01:35 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,821
Blog Entries: 15

Rep: Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664
Perl uses modules for various functions. Several modules come in with the default Perl package but many are in separate packages.

If you run "yum list perl*" you'll see multiple packages for Perl one of which is one you need per your error:
perl-LWP-Protocol-https.noarch

On my 7.2 system that package isn't installed so I'd have to run "yum install perl-LWP-Protocol-https" to get that package from the RedHat repositories.

In the past I've needed various Perl Modules that are NOT provided by RedHat repositories. You can search other locations (e.g. the EPEL) to see if you can find the ones you need there.

Failing that you can try to get them via the Comprehensive Perl Archive Network (CPAN)
http://www.cpan.org/
 
Old 01-27-2017, 05:13 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
-tk is the gui. Schmooey on the GUI!
 
Old 01-28-2017, 06:03 PM   #4
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 516

Original Poster
Rep: Reputation: 34
I have installed CPAN on my CentOS 7 system now what.

I followed the CPAN install instructions and it's O.K.

If I use the command shown there to download a Perl module, how do I know what directory it will be download into?

Thanks to all for helping me out with this issue.
 
Old 01-28-2017, 07:28 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by swamprat View Post
I have installed CPAN on my CentOS 7 system now what.

I followed the CPAN install instructions and it's O.K.

If I use the command shown there to download a Perl module, how do I know what directory it will be download into?

Thanks to all for helping me out with this issue.
If you are using cpan to install it, it will "tell perl what directory".
It handles it.

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


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
Perl Module Dependencies jhall1990 Linux - Software 3 04-19-2012 11:32 PM
Script to determine perl dependencies gnashley Programming 4 02-10-2012 09:32 AM
Linux and Perl module dependencies?? niner710 Linux - Newbie 5 04-29-2008 10:18 AM
Dependencies Download??? venkat3271 Linux - Newbie 4 02-07-2008 03:36 PM
perl modules failed dependencies ziggie216 Linux - Software 5 01-14-2005 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

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