This is a test version of Biostars. For the public version, visit https://www.biostars.org.
installing perl packages.

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

2 answers

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

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.

Which Linux you have?

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.

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.

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.

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

Log in to answer this question.