Changes between Version 10 and Version 11 of barSoftwareInstallation
- Timestamp:
- 08/29/11 10:52:43 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
barSoftwareInstallation
v10 v11 6 6 **Note**: This procedure is valid for //Ubuntu 9.04// and //Ubuntu 10.04 LTS// and was tested on 4.08.2011. 7 7 For guides related to //Ubuntu 8.04// see [[barSoftwareInstallation8.04]]. 8 Installation on other Ubuntu versions or other Linux distributions is similar , however not described yet.8 Installation on other Ubuntu versions or other Linux distributions is similar. 9 9 ---- 10 10 [[PageOutline(2-3,, inline)]] … … 12 12 == Installing required packages == 13 13 14 Installation consists of following steps (just paste code blocks into terminal it should be fine (Ubuntu 9.10). 15 1. Installing Visualization Toolkit and other graphic libraries: 14 15 **Installation in Ubuntu 9.10** 16 1. Install the Visualization Toolkit and other graphics libraries: 16 17 {{{ 17 18 sudo apt-get install \ … … 20 21 python-vtk libgtkgl2.0-1 libgtkgl2.0-dev libgtkglext1 librsvg2-2 python-nifti 21 22 }}} 22 2. Install ing python-related packages:23 2. Install python related packages: 23 24 {{{ 24 25 sudo apt-get install \ … … 31 32 }}} 32 33 33 If You are developer,you may also want to install optional packages with documentation:34 If you are a developer you may also want to install optional packages with documentation: 34 35 {{{ 35 36 sudo apt-get install vtkdata vtk-doc vtk-examples 36 37 }}} 37 38 38 If you use Ubuntu 10.04 install following packages: 39 **Installation in Ubuntu 10.04** 40 41 Install the following packages: 39 42 {{{ 40 43 sudo apt-get install \ … … 52 55 }}} 53 56 54 If you use Ubuntu 10.10 install following packages: 57 **Installation in Ubuntu 10.10** 58 59 Install the following packages: 55 60 {{{ 56 61 sudo apt-get install \ … … 68 73 }}} 69 74 75 Once all the packages are installed it is time to create the directory structure. 70 76 71 Once all packages are installed, it's time to create directory structure: 72 == Getting code == 73 It is assumed that main directory dedicated for software is `/home/$USERNAME/3dbar`. 74 if You want to install to another directory, please replace `3dbar` with desired path. 77 == Getting the code == 78 It is assumed that the main directory dedicated for 3dBAR is `/home/$USERNAME/3dbar`. 79 if you want to install it in another directory, replace `3dbar` with the desired path. 75 80 76 In order to get latest stable version of 3dBAR fill out [http://service.3dbar.org/downloadForm following form] then download 3dBAR using link provided via email. 81 82 To get the latest stable version of 3dBAR fill out 83 [http://service.3dbar.org/downloadForm the following form] then download 3dBAR using the link provided via email. 77 84 78 85 Unzip the file to your home directory and go to the 3dBAR directory: 79 86 {{{ 80 unzip -f 3dbar_latest.zip -d ~/3dbar ; cd ~/3dbar;87 mkdir ~/3dbar; unzip 3dbar_latest.zip -d ~/3dbar ; cd ~/3dbar/3dbar_publ; 81 88 }}} 82 89 90 {{{#!comment 83 91 then create directory where datasets will be stored: 84 92 {{{ 85 93 mkdir -p /home/$USERNAME/3dbar/atlases 86 94 }}} 95 }}} 87 96 88 Created directories have following purposes:97 Created directories have the following purposes: 89 98 * **bin**: Holds all executable files, atlas parsers and auxiliary scripts 90 * **lib**: Holds 3dBAR api91 * **atlases**: Directory, where source data, //CAF datasets// and reconstructed models are stored. Each dataset (denoted as DATASET_NAME) containsfollowing subdirectories:92 * atlases/DATASET_NAME/src : Here source data is located. It may be put manually by user or ie. downloaded from internet depending onparticular parser.93 * atlases/DATASET_NAME/caf : Is the directory where CAF dataset is generated by particularparsers.94 * atlases/DATASET_NAME/reconstructions : Directory for reconstructed models.99 * **lib**: Holds the 3dBAR api 100 * **atlases**: Directory, where the source data, //CAF datasets// and reconstructed models are stored. Each dataset (denoted as DATASET_NAME) contains the following subdirectories: 101 * atlases/DATASET_NAME/src : Here the source data is located. It can be placed manually by a user or downloaded from internet depending on a particular parser. 102 * atlases/DATASET_NAME/caf : This is the directory where a CAF dataset is generated by specific parsers. 103 * atlases/DATASET_NAME/reconstructions : The directory for reconstructed models. 95 104 96 105 {{{#!comment