Rev 1945 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1653 | runge | 1 | Install Ubuntu required dependencies: |
| 1708 | bjorne | 2 | ===================================== |
| 1653 | runge | 3 | aptitude install cmake libboost-date-time-dev libboost-filesystem-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libreadline-dev libv8-dev |
| 1617 | arune | 4 | |
| 1653 | runge | 5 | Install Ubuntu optional dependencies: |
| 6 | ===================================== |
||
| 1945 | runge | 7 | aptitude install libx11-dev libmysqlclient-dev |
| 1617 | arune | 8 | |
| 2313 | linlun | 9 | Install Ubuntu optional dependencies for mqtt: |
| 10 | ==================================== |
||
| 11 | apt install mosquitto-dev |
||
| 12 | |||
| 1652 | runge | 13 | Build atomd and atomic: |
| 14 | ======================= |
||
| 15 | cd <atom root directory> |
||
| 16 | mkdir build |
||
| 17 | cd build |
||
| 1663 | runge | 18 | cmake ../ |
| 1617 | arune | 19 | make |
| 20 | |||
| 1652 | runge | 21 | Create and install Ubuntu package: (requires cmake 2.8.3 or higher) |
| 22 | ================================== |
||
| 23 | cd <atom root directory> |
||
| 24 | mkdir build |
||
| 25 | cd build |
||
| 1663 | runge | 26 | cpack ../ |
| 27 | sudo dpkg --install *.deb |
||
| 1617 | arune | 28 | |
| 1652 | runge | 29 | Remove installed Ubuntu package: |
| 30 | ================================ |
||
| 1653 | runge | 31 | sudo aptitude remove atom |
| 1708 | bjorne | 32 | |
| 33 | Instructions for Ubuntu 10.04 (Lucid) |
||
| 34 | ===================================== |
||
| 35 | In order to build on Ubuntu 10.04, you need a newer version of |
||
| 36 | libv8. You can obtain one through this PPA: |
||
| 37 | https://launchpad.net/~gezakovacs/+archive/coffeescript |
||
| 38 | |||
| 39 | Issue the following commands: |
||
| 40 | sudo add-apt-repository ppa:gezakovacs/coffeescript |
||
| 41 | sudo apt-get update |
||
| 42 | sudo apt-get install libv8-dev |
||
| 43 | |||
| 44 | Then proceed as normal. |