installing perl packages.
2
0
Entering edit mode
7.1 years ago
KVC_bioinfo ▴ 600

Hello,

I am trying to install

Config::General 
Tie::IxHash
Parallel::ForkManager

packages in Perl for using SVDetect. I am completely unknown to Perl. But I need to use that package.can someone help me?

perl SVDetect • 4.9k views
ADD COMMENT
0
Entering edit mode

I have cpan installed

ADD REPLY
0
Entering edit mode
7.1 years ago
h.mon 35k

Install with cpan - both a package manager and a site.

ADD COMMENT
0
Entering edit mode

You may have to su to root to install the package (Or you may want to run something like o conf make_install_make_command 'sudo make' to raise your permissions.Warning (usually harmless): 'YAML' not installed, will not store persistent state

Failed during this command:

EXODIST/Test-Simple-1.302098.tar.gz : install NO

RJBS/Carp-1.38.tar.gz : install NO

DAGOLDEN/Sub-Uplevel-0.2800.tar.gz : install NO

BIGJ/Test-Warn-0.32.tar.gz : install NO

YANICK/Parallel-ForkManager-1.19.tar.gz : install NO

I got this error when I tried.

ADD REPLY
0
Entering edit mode

Which Linux you have?

ADD REPLY
0
Entering edit mode

we use RedHat Linux OS

ADD REPLY
0
Entering edit mode

You should also try with yum install to install the perl packages

like yum install perl-Parallel-ForkManager-1.190.0-1.mga7.noarch

yum install perl-Tie-IxHash-1.230.0-6.mga6.noarch

yum install perl-Config-General-2.630.0-1.mga7.noarch

Note: you need to have root permission to install these packages unless installing in local dir. If the package name is not correct you can search the package repo by keywords.

ADD REPLY
0
Entering edit mode

Thank you.

I get following error::

yum install perl-Parallel-ForkManager-1.190.0-1.mga7.noarch Loaded plugins: refresh-packagekit, rhnplugin, security Note Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories. You need to be root to perform this command.

I do not have root access.

ADD REPLY
0
Entering edit mode

If you do not have root access, you may:

1) ask the admin to install it for you, either through cpan or yum.

2) install it yourself, reasonably painless ways of doing it would be perlbrew or conda. Then you use the locally installed cpan to install modules to your locally installed perl.

ADD REPLY
0
Entering edit mode
7.1 years ago
Renesh ★ 2.2k

You can use capnm to install the Perl packages.

You can type following command on window, Linux, Mac terminal to install cpanm

cpan App::cpanminus

After installing cpanm use follwing command to install Perl modules,

cpanm Config::General

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

ADD COMMENT

Login before adding your answer.

Traffic: 2701 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6