| | 1 | = Ubuntu Install of Libbarrett-1.2.0 = |
| | 2 | Instructions for Debian and Source Libbarrett Installations. |
| | 3 | |
| | 4 | == Ubuntu 12.04 Debian Installation - 32-Bit PC (PC/104 or external) == |
| | 5 | |
| | 6 | === Install Depedendencies === |
| | 7 | |
| | 8 | ** Standard Libbarrett Dependencies ** |
| | 9 | {{{ |
| | 10 | sudo apt-get install libeigen2-dev libboost1.46-all-dev libgsl0-dev libxenomai-dev |
| | 11 | }}} |
| | 12 | |
| | 13 | ** Barrett Modified Libconfig Debian ** |
| | 14 | {{{ |
| | 15 | wget http://web.barrett.com/support/WAM_Installer/libconfig-barrett_1.4.5-1_i386.deb |
| | 16 | sudo dpkg -i libconfig-barrett_1.4.5-1_i386.deb |
| | 17 | rm libconfig-barrett_1.4.5-1_i386.deb |
| | 18 | }}} |
| | 19 | |
| | 20 | === Install Libbarrett === |
| | 21 | |
| | 22 | ** Libbarrett-1.2.0 ** |
| | 23 | {{{ |
| | 24 | wget http://web.barrett.com/support/WAM_Installer/libbarrett-1.2.0_i686.deb |
| | 25 | sudo dpkg -i libbarrett-1.2.0_i686.deb |
| | 26 | rm libbarrett-1.2.0_i686.deb |
| | 27 | }}} |
| | 28 | |
| | 29 | == Ubuntu 12.04 Debian Installation - 64-Bit PC == |
| | 30 | |
| | 31 | === Install Depedendencies === |
| | 32 | |
| | 33 | ** Standard Libbarrett Dependencies ** |
| | 34 | {{{ |
| | 35 | sudo apt-get install libeigen2-dev libboost1.46-all-dev libgsl0-dev libxenomai-dev |
| | 36 | }}} |
| | 37 | |
| | 38 | ** Barrett Modified Libconfig Debian ** |
| | 39 | {{{ |
| | 40 | wget http://web.barrett.com/support/WAM_Installer/libconfig-barrett_1.4.5-1_amd64.deb |
| | 41 | sudo dpkg -i libconfig-barrett_1.4.5-1_amd64.deb |
| | 42 | rm libconfig-barrett_1.4.5-1_amd64.deb |
| | 43 | }}} |
| | 44 | |
| | 45 | === Install Libbarrett === |
| | 46 | |
| | 47 | ** Libbarrett-1.2.0 ** |
| | 48 | {{{ |
| | 49 | wget http://web.barrett.com/support/WAM_Installer/libbarrett-1.2.0_x86_64.deb |
| | 50 | sudo dpkg -i libbarrett-1.2.0_x86_64.deb |
| | 51 | rm libbarrett-1.2.0_x86_64.deb |
| | 52 | }}} |
| | 53 | |
| | 54 | |
| | 55 | == Ubuntu Libbarrett Installation From Source - Architecture Independent (32 or 64-bit) == |
| | 56 | |
| | 57 | === Install Depedendencies (Pre-installed on Barrett Technology Distributed OSes) === |
| | 58 | {{{ |
| | 59 | svn co http://web.barrett.com/svn/libbarrett/dependencies/ ~/dependencies |
| | 60 | cd ~/dependencies |
| | 61 | |
| | 62 | tar xjf eigen-2.0.12.tar.bz2 |
| | 63 | cd eigen |
| | 64 | cmake . && make && sudo make install |
| | 65 | cd .. |
| | 66 | |
| | 67 | tar xzf libconfig-1.4.5-PATCHED.tar.gz |
| | 68 | cd libconfig-1.4.5 |
| | 69 | ./configure && make && sudo make install |
| | 70 | cd .. |
| | 71 | |
| | 72 | tar xjf boost_1_46_1.tar.bz2 |
| | 73 | cd boost_1_46_1/ |
| | 74 | ./bootstrap.sh |
| | 75 | sudo ./bjam --with-program_options --with-python --with-thread --with-signals --with-math --with-regex --with filesystem --with-date_time install |
| | 76 | cd .. |
| | 77 | |
| | 78 | tar xzf gsl-1.14.tar.gz |
| | 79 | cd gsl-1.14 |
| | 80 | ./configure && make && sudo make install |
| | 81 | cd .. |
| | 82 | |
| | 83 | sudo rm -Rf ~/dependencies |
| | 84 | }}} |
| | 85 | |
| | 86 | === Install Libbarrett === |
| | 87 | ** Libbarrett-1.2.0 ** |
| | 88 | {{{ |
| | 89 | wget http://web.barrett.com/support/WAM_Installer/libbarrett-1.2.0.tar.gz |
| | 90 | tar -xf libbarrett-1.2.0.tar.gz |
| | 91 | cd libbarrett-1.2.0 |
| | 92 | cmake . |
| | 93 | make |
| | 94 | sudo make install |
| | 95 | }}} |