Installation

From BioRuby

Jump to: navigation, search

For more detailed information, please read the README file in the BioRuby distribution.

Currently, the entire BioRuby package is written in pure Ruby, so there should not be any OS dependent issues.

Contents

RubyGems

If your system supports the RubyGems package manager (User guide), just type

% sudo gem install bio

to install or

% sudo gem update bio

to update the BioRuby library (See also an example session in BioRubyOnRails).

In these cases, please make sure that your script also requires 'rubygems' library.

#!/usr/bin/env ruby
require 'rubygems'
require 'bio'

Linux

If you need to install BioRuby from the source code distribution, obtain the latest package from the archive.

In the bioruby source directory (such as bioruby-x.x.x/), run setup.rb as follows:

% su
# ruby setup.rb

Mac OS X

Mac OS X 10.5 (Leopard) comes with RubyGems (and Ruby on Rails), so it is recommended to use them.

If you need to install from the source code distribution, use the following commands in the source code directory. See instructions in the Linux section above to obtain the source code distribution.

% sudo ruby setup.rb

Windows

Using the gem package is recommended.

BioRuby 1.2.1 or older version

In BioRuby 1.2.1 or older version, see Installation_before_1.2.1.

Personal tools