Difference between revisions of "Slicer3:Debian"

From Slicer Wiki
Jump to: navigation, search
(ftp.qt-project.org)
(Replaced content with 'Please see [ http://www.slicer.org/slicerWiki/index.php/Slicer:Debian ]')
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Intro ==
+
Please see [ http://www.slicer.org/slicerWiki/index.php/Slicer:Debian ]
 
 
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
 
 
 
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.
 
 
 
== Debian "wheezy" ==
 
 
 
The next major Debian release "wheezy" will contain all tools to compile a local "3D Slicer 4.x" version.
 
 
 
sudo aptitude install libxext-dev libxrender-dev
 
# download the 'supported' Qt version [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions/Prerequisites/Qt]
 
wget ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz
 
mkdir qt-everywhere-opensource-build-4.7.4
 
tar xvfz qt-everywhere-opensource-src-4.7.4.tar.gz
 
cd qt-everywhere-opensource-src-4.7.4
 
./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos
 
make -j8
 
make install
 
 
 
sudo aptitude update
 
sudo aptitude install subversion git gcc g++ make cmake-curses-gui libqt4-dev
 
svn co http://svn.slicer.org/Slicer4/trunk Slicer4
 
mkdir Slicer4-SuperBuild-Debug
 
cd Slicer4-SuperBuild-Debug
 
#cmake ../Slicer4
 
cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=~/qt-everywhere-opensource-build-4.7.4/bin/qmake ../Slicer4
 
make -j5
 
 
 
# runtime dependency:
 
sudo aptitude install python-tk
 
 
 
== Cloud computing==
 
 
 
The EBS AMI '''ami-6ca05805''' contains a ready to use ''3D Slicer 3.4'' installation. The image can be started as a t1.micro instance (~ $0.02 per hour).
 
 
 
Example session:
 
AMI=ami-6ca05805
 
ec2-describe-images $AMI
 
ec2-run-instances -t t1.micro $AMI -n1 -k mykey
 
ec2-describe-instances
 
host=ec2-174-129-170-61.compute-1.amazonaws.com
 
ssh -i id_rsa-mykey -X ubuntu@${host}
 
 
 
Use Slicer's command line tools
 
/usr/lib/Slicer3/Plugins/AffineRegistration --help
 
 
 
or start Slicer's GUI
 
slicer3
 
 
 
== Dependencies ==
 
[[Media:slicer_rdep_squeeze.png]]
 
 
 
== Ubuntu ==
 
 
 
The Ubuntu distribution will also contain a slicer package in their
 
universe repository [https://launchpad.net/ubuntu/+source/slicer].
 
This package is probably based on the slicer package taken from Debian "unstable".
 
 
 
"The MOTU team cares for the packages in universe and multiverse (which are comprised mostly of packages from the Debian archive) on a best-effort basis, as there are a large number of packages relative to the resources of the team. Therefore, a vast majority of these packages are used unchanged from Debian, rebuilt in an Ubuntu build environment, and do not receive personal attention from an Ubuntu developer."
 
[https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers#How_does_Ubuntu_differ_from_Debian.3F]
 
 
 
== Thanks! ==
 
 
 
These packages were the result of a lot of work by Dominique Belhachemi.
 

Latest revision as of 04:27, 20 November 2015

Home < Slicer3:Debian