First, install local::lib with bootstrapping method as described here.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install local::lib with boostrapping technique | |
wget http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/local-lib-1.008018.tar.gz #download the tarball | |
tar -zxvf local-lib-1.008018.tar.gz # unpack | |
cd local-lib-1.008018 | |
mkdir -p ~/perl5 # default installation path | |
perl Makefile.PL --bootstrap | |
make test && make install |
Next, put this in your .bashrc so that it's executed every time you log in:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this in your .bashrc: | |
echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' |
Log out then log back in, then download and install BioPerl, answering "yes" to any question asking you to download and install dependencies when necessary:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install bioperl | |
wget http://bioperl.org/DIST/BioPerl-1.6.1.tar.gz # get the tarball | |
tar -zxvf BioPerl-1.6.1.tar.gz # extract | |
cd BioPerl-1.6.1 | |
perl Build.PL | |
./Build test | |
./Build install | |
## Test bioperl installation (you should get a version number) | |
perl -MBio::Root::Version -le 'print $Bio::Root::Version::VERSION' |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.