Difference between revisions of "Slicer3:Debian"

From Slicer Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Intro ==
 
== Intro ==
  
A [http://packages.debian.org/search?keywords=slicer&searchon=names&exact=1&suite=all&section=all Debian package for slicer] and [https://launchpad.net/ubuntu/+source/slicer/ a slicer ubuntu package]have been created to make it easier to install slicer on Debian and Ubuntu machines. This means users can simply do:
+
A [http://packages.debian.org/search?keywords=slicer&searchon=names&exact=1&suite=all&section=all Debian package for slicer] has been created to make it easier to install "3D Slicer" on Debian machines. This means users can simply do:
  
 
  sudo apt-get install slicer
 
  sudo apt-get install slicer
Line 9: Line 9:
 
== Debian "squeeze" ==
 
== Debian "squeeze" ==
  
Debian "squeeze" - the next major Debian release - will contain a slicer package.
+
Debian "squeeze" contains a "3D Slicer 3.4" package.
 
 
For testing purposes there is a Live DVD for a temporary installation and a Installer CD for a permanent installation available. Download the correct image for your architecture, burn to a suitable media and boot from it to install:
 
 
 
=== Live DVD Beta 1 ===
 
* [http://cdimage.debian.org/cdimage/squeeze_live_beta1/amd64/iso-hybrid/debian-squeeze-live-beta1-amd64-gnome-desktop.iso debian-squeeze-live-beta1-amd64-gnome-desktop.iso]
 
* [http://cdimage.debian.org/cdimage/squeeze_live_beta1/i386/iso-hybrid/debian-squeeze-live-beta1-i386-gnome-desktop.iso debian-squeeze-live-beta1-i386-gnome-desktop.iso]
 
 
 
=== Installer CD Beta 1===
 
* http://cdimage.debian.org/cdimage/squeeze_di_beta1/i386/iso-cd/debian-squeeze-di-beta1-i386-netinst.iso
 
* http://cdimage.debian.org/cdimage/squeeze_di_beta1/amd64/iso-cd/debian-squeeze-di-beta1-amd64-netinst.iso
 
 
 
Images for other architectures can be found on
 
* http://cdimage.debian.org/cdimage/squeeze_di_beta1/ and/or
 
* http://www.debian.org/devel/debian-installer/
 
 
 
== Install and Start slicer ==
 
As root perform:
 
apt-get update
 
apt-get install slicer
 
slicer3
 
 
 
== Switching to Debian "unstable" ==
 
* You also could switch to Debian "unstable" to access the bleeding edge version of the slicer package.
 
 
 
1. Boot or Install Debian "squeeze" like described above.
 
 
 
2. Add the following line to /etc/apt/sources.list
 
 
 
deb http://http.us.debian.org/debian/ unstable main
 
 
 
3. As root perform
 
apt-get update
 
apt-get dist-upgrade
 
  
 +
The next major Debian release "wheezy" will contain a "3D Slicer 3.6" package.
  
 
== Dependencies ==
 
== Dependencies ==
 
[[Media:slicer_rdep_squeeze.png]]
 
[[Media:slicer_rdep_squeeze.png]]
  
== 3D Slicer 3.4 in the cloud==
+
== Cloud computing==
  
 +
3D Slicer 3.4
 
  ami-6ca05805  (~ $0.02 per hour)
 
  ami-6ca05805  (~ $0.02 per hour)
  
Line 66: Line 35:
 
or start Slicer's GUI
 
or start Slicer's GUI
 
  $ slicer3
 
  $ slicer3
 +
 +
== Switching to Debian "unstable" ==
 +
* You also could switch to Debian "unstable" to access the bleeding edge version of the slicer package.
 +
 +
1. Boot or Install Debian "squeeze".
 +
 +
2. Add the following line to /etc/apt/sources.list
 +
 +
deb http://http.us.debian.org/debian/ unstable main
 +
 +
3. As root perform
 +
apt-get update
 +
apt-get dist-upgrade
  
  

Revision as of 23:59, 12 June 2011

Home < Slicer3:Debian

Intro

A Debian package for slicer has been created to make it easier to install "3D Slicer" on Debian machines. This means users can simply do:

sudo apt-get install slicer

and the slicer3 command will be available in their path and system menus. All slicer executables and libraries will be installed along with dependencies.

Debian "squeeze"

Debian "squeeze" contains a "3D Slicer 3.4" package.

The next major Debian release "wheezy" will contain a "3D Slicer 3.6" package.

Dependencies

Media:slicer_rdep_squeeze.png

Cloud computing

3D Slicer 3.4
ami-6ca05805  (~ $0.02 per hour)

Example session:

$ AMI=mi-6ca05805
$ ec2-describe-images $AMI
$ ec2-run-instances -t t1.micro $AMI -n1 -k mykey
$ ec2-describe-instances
$ user=...
$ host=...
$ ssh -i id_rsa-mykey -X ${user}@${host}

Use Slicer's command line tools

$ /usr/lib/Slicer3/Plugins/AffineRegistration --help

or start Slicer's GUI

$ slicer3

Switching to Debian "unstable"

  • You also could switch to Debian "unstable" to access the bleeding edge version of the slicer package.

1. Boot or Install Debian "squeeze".

2. Add the following line to /etc/apt/sources.list

deb http://http.us.debian.org/debian/ unstable main

3. As root perform

apt-get update
apt-get dist-upgrade


Ubuntu

The Ubuntu distribution will also contain a slicer package in their universe repository [1]. This package is probably based on the slicer package taken from Debian "unstable".

Thanks!

These packages were the result of a lot of work by Dominique Belhachemi.