Difference between revisions of "Slicer3:Debian"

From Slicer Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.
 
and the ''slicer3'' command will be available in their path and system menus.  All slicer executables and libraries will be installed along with dependencies.
 +
 +
slicer3
  
 
== Debian "squeeze" ==
 
== Debian "squeeze" ==
Line 22: Line 24:
  
 
Example session:
 
Example session:
  $ AMI=mi-6ca05805
+
  AMI=mi-6ca05805
  $ ec2-describe-images $AMI
+
  ec2-describe-images $AMI
  $ ec2-run-instances -t t1.micro $AMI -n1 -k mykey
+
  ec2-run-instances -t t1.micro $AMI -n1 -k mykey
  $ ec2-describe-instances
+
  ec2-describe-instances
  $ user=...
+
  user=...
  $ host=...
+
  host=...
  $ ssh -i id_rsa-mykey -X ${user}@${host}
+
  ssh -i id_rsa-mykey -X ${user}@${host}
  
 
Use Slicer's command line tools
 
Use Slicer's command line tools
  $ /usr/lib/Slicer3/Plugins/AffineRegistration --help
+
  /usr/lib/Slicer3/Plugins/AffineRegistration --help
  
 
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
 
 
 
  
 
== Ubuntu ==
 
== Ubuntu ==

Revision as of 00:01, 13 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.

slicer3

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

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.