System Administration
From Bioinformatics Software
Jump to navigationJump to search
Contents
Generic Ubuntu
Package repositories
The default mirror for machine installed around Nova Scotia is sometime doing wierd things. Switching to another server seems to do the trick. I recommend U Waterloo's repository at http://mirror.csclub.uwaterloo.ca/. To change this:
- backup /etc/apt/sources.list
- replace http://ca.ubuntu.[...] by another server name such as http://mirror.csclub.uwaterloo.ca/ .
- Save the file
- type sudo apt-get update
A list of mirror is available here: https://launchpad.net/ubuntu/+archivemirrors
Mac OS X (kiwi)
Installing new Perl modules from CPAN
To install a Perl module from CPAN, you first need to launch the CPAN shell on kiwi:
sudo -s perl -MCPAN -eshell
At the cpan> prompt, type 'install MODULE_NAME', where MODULE_NAME is the name of the module as listed on CPAN, for example: Example::Module or DBD::mysql
install Example::Module
The CPAN shell should then automatically compile/test/install the given module.