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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-27-2017, 11:50 AM
|
#1
|
Member
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 567
Rep:
|
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 11:51 AM.
|
|
|
01-27-2017, 12:35 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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/
|
|
|
01-27-2017, 04:13 PM
|
#3
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
-tk is the gui. Schmooey on the GUI!
|
|
|
01-28-2017, 05:03 PM
|
#4
|
Member
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 567
Original Poster
Rep:
|
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.
|
|
|
01-28-2017, 06:28 PM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by swamprat
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
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|