Installing Wt on Ubuntu » History » Version 62
Wim Dumon, 03/21/2025 10:42 PM
1 | 62 | Wim Dumon | Installing Wt on Ubuntu |
---|---|---|---|
2 | ======================= |
||
3 | 1 | Pieter Libin | |
4 | {{toc}} |
||
5 | |||
6 | For installation of Wt on Ubuntu, you have to install Wt from source. |
||
7 | |||
8 | 62 | Wim Dumon | Installing from Sources |
9 | ----------------------- |
||
10 | 1 | Pieter Libin | |
11 | 62 | Wim Dumon | ### Installing System Dependencies |
12 | 42 | Wim Dumon | |
13 | 51 | Zhora Melezhko | Minimal dependencies: |
14 | 42 | Wim Dumon | |
15 | 62 | Wim Dumon | sudo apt-get install gcc g++ libboost-all-dev cmake |
16 | |||
17 | 1 | Pieter Libin | Optional dependencies (among others): |
18 | |||
19 | 62 | Wim Dumon | sudo apt-get install doxygen libgraphicsmagick3 libssl-dev libpq-dev libssl-dev libfcgi-dev |
20 | |||
21 | 46 | Wim Dumon | Get Wt: |
22 | 1 | Pieter Libin | |
23 | 58 | Christian Meyer | Go to http://www.webtoolkit.eu/wt/download or download using wget: |
24 | 1 | Pieter Libin | |
25 | 62 | Wim Dumon | wget -c https://github.com/emweb/wt/archive/x.y.z.tar.gz |
26 | tar xvxf wt-x.y.z.tar.gz |
||
27 | 47 | Wim Dumon | |
28 | 62 | Wim Dumon | ### Build Wt from sources |
29 | 48 | Wim Dumon | |
30 | See also http://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html |
||
31 | |||
32 | 62 | Wim Dumon | cd wt-x.y.z |
33 | mkdir build; cd build |
||
34 | cmake .. |
||
35 | make |
||
36 | make -C examples |
||
37 | |||
38 | |||
39 | 47 | Wim Dumon | To install wt in /usr/local: |
40 | 33 | Anonymous | |
41 | 62 | Wim Dumon | sudo make install |
42 | sudo ldconfig |
||
43 | 35 | Anonymous | |
44 | 62 | Wim Dumon | Try the Examples |
45 | ---------------- |
||
46 | 51 | Zhora Melezhko | |
47 | 62 | Wim Dumon | You can find instructions on how to run the examples in the file **INSTALL.html** that is included in the main directory of the respective source package. |
48 | 33 | Anonymous | |
49 | 62 | Wim Dumon | #### Special Cases |
50 | 24 | Charles Brockman | |
51 | 62 | Wim Dumon | - Please note the widget gallery example will not run properly unless you download tinymce and extract it the proper place. |
52 | - Please note the wtwithqt example needs Qt to run |