| 11 | | === Installation in Ubuntu 9.10 === |
| 12 | | 1. Install the Visualization Toolkit and other graphics libraries: |
| | 10 | == Getting the code == |
| | 11 | It is assumed that the main directory dedicated for 3dBAR is `/home/$USERNAME/3dbar`. |
| | 12 | if you want to install it in another directory, replace `3dbar` with the desired path. |
| | 13 | |
| | 14 | |
| | 15 | To get the latest stable version of 3dBAR fill out |
| | 16 | [http://service.3dbar.org/downloadForm the following form] then download 3dBAR using the link provided via email. |
| | 17 | |
| | 18 | Unzip the file to your home directory and go to the 3dBAR directory: |
| 30 | | If you are a developer you may also want to install optional packages with documentation: |
| 31 | | {{{ |
| 32 | | sudo apt-get install vtkdata vtk-doc vtk-examples |
| 33 | | }}} |
| | 23 | The directories have the following purposes: |
| | 24 | * **bin**: Holds all executable files, atlas parsers and auxiliary scripts |
| | 25 | * **lib**: Holds the 3dBAR api |
| | 26 | * **atlases**: Directory, where the source data, //CAF datasets// and reconstructed models are stored. Each dataset (denoted as DATASET_NAME) contains the following subdirectories: |
| | 27 | * 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. |
| | 28 | * atlases/DATASET_NAME/caf : This is the directory where a CAF dataset is generated by specific parsers. |
| | 29 | * atlases/DATASET_NAME/reconstructions : The directory for reconstructed models. |
| 95 | | == Getting the code == |
| 96 | | It is assumed that the main directory dedicated for 3dBAR is `/home/$USERNAME/3dbar`. |
| 97 | | if you want to install it in another directory, replace `3dbar` with the desired path. |
| | 76 | === Installation in Ubuntu 10.04 === |
| | 77 | |
| | 78 | 1. Install the Visualization Toolkit and other graphics libraries: |
| | 79 | {{{ |
| | 80 | sudo apt-get install \ |
| | 81 | libvtk5.2 libvtk5-dev libvtk5.2-qt4 libvtk5-qt4-dev \ |
| | 82 | tk8.5 tk8.5-dev \ |
| | 83 | python-vtk libgtkgl2.0-1 libgtkgl2.0-dev libgtkglext1 librsvg2-2 python-nifti |
| | 84 | }}} |
| | 85 | 2. Install python related packages: |
| | 86 | {{{ |
| | 87 | sudo apt-get install \ |
| | 88 | python-gtkglext1 python-rsvg python-opengl python-numpy python-scipy python-wxgtk2.6 |
| | 89 | }}} |
| | 90 | 3. Other packages: |
| | 91 | {{{ |
| | 92 | sudo apt-get install \ |
| | 93 | potrace pstoedit python-setuptools python-epydoc |
| | 94 | }}} |
| 108 | | The directories have the following purposes: |
| 109 | | * **bin**: Holds all executable files, atlas parsers and auxiliary scripts |
| 110 | | * **lib**: Holds the 3dBAR api |
| 111 | | * **atlases**: Directory, where the source data, //CAF datasets// and reconstructed models are stored. Each dataset (denoted as DATASET_NAME) contains the following subdirectories: |
| 112 | | * 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. |
| 113 | | * atlases/DATASET_NAME/caf : This is the directory where a CAF dataset is generated by specific parsers. |
| 114 | | * atlases/DATASET_NAME/reconstructions : The directory for reconstructed models. |
| | 116 | If you are a developer you may also want to install optional packages with documentation: |
| | 117 | {{{ |
| | 118 | sudo apt-get install vtkdata vtk-doc vtk-examples |
| | 119 | }}} |
| 116 | | Then follow instructions from `README` file to verify if the installation was successful. |
| | 121 | === Installation in Ubuntu 8.04 === |
| | 122 | |
| | 123 | Installation consists of following steps (just paste code blocks into terminal it should be fine: |
| | 124 | 1. Installing Visualization Toolkit and other graphic libraries: |
| | 125 | {{{ |
| | 126 | sudo apt-get install \ |
| | 127 | libvtk5 libvtk5-dev libvtk5-qt4 libvtk5-qt4-dev \ |
| | 128 | tk8.5 tk8.5-dev \ |
| | 129 | python-vtk libgtkgl2.0-1 libgtkgl2.0-dev libgtkglext1 librsvg2-2 python-nifti |
| | 130 | }}} |
| | 131 | 2. Installing python-related packages: |
| | 132 | {{{ |
| | 133 | sudo apt-get install \ |
| | 134 | python-gtkglext1 python-opengl python-numpy python-scipy \ |
| | 135 | python-gnome2 python-gnome2-desktop python-gnome2-desktop-dev python-gnome2-dev python-wxgtk2.6 |
| | 136 | }}} |
| | 137 | 3. Other packages: |
| | 138 | {{{ |
| | 139 | sudo apt-get install \ |
| | 140 | potrace pstoedit python-setuptools subversion python-epydoc |
| | 141 | }}} |
| | 142 | |
| | 143 | If You are a developer, you may also want to install optional packages with documentation: |
| | 144 | {{{ |
| | 145 | sudo apt-get install vtkdata vtk-doc vtk-examples |
| | 146 | }}} |