Difference between revisions of "GBrowse RPM HOWTO"

From GMOD
Jump to: navigation, search
(Installing Packages)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{NeedsEditing}}
 
{{NeedsEditing}}
  
=Biopackages=
+
'''Important note:''' The instructions below will install a relatively old version of GBrowse (1.54 I think).  To install a newer version, first install the Apache webserver (httpd) and libgd with yum:
  
RPM-based Linux distributions, including [http://fedoraproject.org/wiki/ Fedora Core] and [http://www.centos.org CentOS], can install GBrowse using the RPMs located at http://www.biopackages.net/. These can be installed using the [http://en.wikipedia.org/wiki/Yellow_dog_Updater_Modified yum] installer tool.
+
  sudo yum install gd-devel httpd
  
At the time of this writing (April 2007) complete RPMs for Fedora Core 2, 5, and CentOS 4 are available, and supported architectures included 32- and 64-bit Intel platforms. Check back regularly for updates at the [http://biopackages.net Biopackages] website.  The platform tested for the GMOD community is CentOS 4 and we highly recommend using Biopackages on this distribution.
+
and then follow the directions on [[GBrowse Install HOWTO|the main install page]] for using the net install script. If you don't want or need the 'bleating edge', just ignore this note.
  
=Preliminaries=
+
=Biopackages=
  
Biopackages.net hosts a yum repository for distribution of Linux packages. To configure yum to be aware of the Biopackages.net repository, install one of the following configuration RPMs:
+
RPM-based Linux distributions, including [http://fedoraproject.org/ Fedora] and [http://www.centos.org CentOS], can install GBrowse using the RPMs located at http://www.biopackages.net/. These can be installed using the [http://en.wikipedia.org/wiki/Yellow_dog_Updater_Modified yum] installer tool. For more information please see the [[Biopackages HOWTO]].
  
    * [http://biopackages.net/biopackages/stable/fedora/2/noarch/biopackages-client-config-1.0-1.2.bp.fc2.noarch.rpm  Fedora Core 2]
+
=Preliminaries=
    * [http://biopackages.net/biopackages/stable/fedora/5/noarch/biopackages-client-config-1.0-1.2.bp.fc5.noarch.rpm Fedora Core 5]
+
    * [http://biopackages.net/biopackages/stable/centos/4/noarch/biopackages-client-config-1.0-1.2.bp.centos4.noarch.rpm CentOS 4] (the recommended Linux distribution)
+
  
Alternatively you can manually add the following to your /etc/yum.conf file (customize as appropriate):
+
See the [[Biopackages HOWTO]] for the steps to setup Biopackages on your system.
 
+
[biopackages-stable]
+
name=BioPackages (Stable) for Fedora Core $releasever - $basearch
+
enabled=1
+
gpgkey=file:///etc/pki/rpm-gpg/BIOPACKAGES-RPM-GPG-KEY
+
gpgcheck=1
+
baseurl=http://yum.biopackages.net/biopackages/stable/fedora/$releasever/$basearch/
+
+
[biopackages-stable-noarch]
+
name=BioPackages (Stable) for Fedora Core $releasever - noarch
+
enabled=1
+
gpgkey=file:///etc/pki/rpm-gpg/BIOPACKAGES-RPM-GPG-KEY
+
gpgcheck=1
+
baseurl=http://yum.biopackages.net/biopackages/stable/fedora/$releasever/noarch/
+
 
+
And import the public key from [http://biopackages.net/BIOPACKAGES-RPM-GPG-KEY here], saving it to /etc/pki/rpm-gpg.
+
  
 
=Installing Packages=
 
=Installing Packages=
  
First, as root, freshen your local cache of yum header files. Yum will print something similar to what is below:  
+
First, as root, freshen your local cache of yum header files. Yum will print something similar to what is below:
  
 
  % yum update
 
  % yum update
Line 45: Line 27:
 
  Finding updated packages
 
  Finding updated packages
 
  Downloading needed headers
 
  Downloading needed headers
  genome-Sce-annotation-gen 100% |=========================| 1.1 kB    00:00    
+
  genome-Sce-annotation-gen 100% |=========================| 1.1 kB    00:00
  genome-Sce-nib-0-S228C-3. 100% |=========================| 1.7 kB    00:00    
+
  genome-Sce-nib-0-S228C-3. 100% |=========================| 1.7 kB    00:00
  chado-Sce-0-S228C.0.003-2 100% |=========================| 2.0 kB    00:00    
+
  chado-Sce-0-S228C.0.003-2 100% |=========================| 2.0 kB    00:00
  genome-Sce-annotation-aff 100% |=========================| 1.2 kB    00:00    
+
  genome-Sce-annotation-aff 100% |=========================| 1.2 kB    00:00
  genome-Sce-0-S228C-3.2005 100% |=========================| 1.7 kB    00:00    
+
  genome-Sce-0-S228C-3.2005 100% |=========================| 1.7 kB    00:00
  
 
Then install gbrowse:
 
Then install gbrowse:
Line 56: Line 38:
  
 
You can now visit the documentation and try out the example Yeast database by visiting http://localhost/gbrowse
 
You can now visit the documentation and try out the example Yeast database by visiting http://localhost/gbrowse
 +
 +
NOTE: One problem with the RPM install is it currently installs gbrowse into it's own directory (e.g. /var/www/cgi-bin/gbrowse/).  This means that the yeast example referenced in http://localhost/gbrowse should actually point to http://localhost/cgi-bin/gbrowse/gbrowse/yeast_chr1.
  
 
=Authors=
 
=Authors=
Line 63: Line 47:
 
Some material cut and paste from www.biopackages.net, with permission from Allen Day.
 
Some material cut and paste from www.biopackages.net, with permission from Allen Day.
  
 +
[[User:Boconnor|Brian O'Connor]] 12:12, 19 April 2007 (PDT)
 +
 +
Updated the install description of Biopackages to use our new configuration RPMs.
 +
 +
 +
[[User:Boconnor|Brian O'Connor]] 12:18, 05 June 2007 (PDT)
 +
 +
Added note about install path for gbrowse.
  
 +
[[Category:GBrowse]]
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]
 +
[[Category:Linux]]

Latest revision as of 11:32, 28 October 2008

This page or section needs to be edited. Please help by editing this page to add your revisions or additions.

Important note: The instructions below will install a relatively old version of GBrowse (1.54 I think). To install a newer version, first install the Apache webserver (httpd) and libgd with yum:

 sudo yum install gd-devel httpd

and then follow the directions on the main install page for using the net install script. If you don't want or need the 'bleating edge', just ignore this note.

Biopackages

RPM-based Linux distributions, including Fedora and CentOS, can install GBrowse using the RPMs located at http://www.biopackages.net/. These can be installed using the yum installer tool. For more information please see the Biopackages HOWTO.

Preliminaries

See the Biopackages HOWTO for the steps to setup Biopackages on your system.

Installing Packages

First, as root, freshen your local cache of yum header files. Yum will print something similar to what is below:

% yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - x86_64 - Base
Server: BioPackages (Stable x86_64) for Fedora Core 2 - x86_64
Server: BioPackages (Stable noarch) for Fedora Core 2 - x86_64
Server: Fedora Core 2 - x86_64 - Released Updates
Finding updated packages
Downloading needed headers
genome-Sce-annotation-gen 100% |=========================| 1.1 kB    00:00
genome-Sce-nib-0-S228C-3. 100% |=========================| 1.7 kB    00:00
chado-Sce-0-S228C.0.003-2 100% |=========================| 2.0 kB    00:00
genome-Sce-annotation-aff 100% |=========================| 1.2 kB    00:00
genome-Sce-0-S228C-3.2005 100% |=========================| 1.7 kB    00:00

Then install gbrowse:

% yum install gbrowse

You can now visit the documentation and try out the example Yeast database by visiting http://localhost/gbrowse

NOTE: One problem with the RPM install is it currently installs gbrowse into it's own directory (e.g. /var/www/cgi-bin/gbrowse/). This means that the yeast example referenced in http://localhost/gbrowse should actually point to http://localhost/cgi-bin/gbrowse/gbrowse/yeast_chr1.

Authors

Lincoln Stein 12:51, 17 April 2007 (EDT)

Some material cut and paste from www.biopackages.net, with permission from Allen Day.

Brian O'Connor 12:12, 19 April 2007 (PDT)

Updated the install description of Biopackages to use our new configuration RPMs.


Brian O'Connor 12:18, 05 June 2007 (PDT)

Added note about install path for gbrowse.