Project

General

Profile

Actions

Installing Wt on Ubuntu

For installation of Wt on Ubuntu, you have to install Wt from source.

Installing from Sources

Installing System Dependencies

Minimal dependencies:

sudo apt-get install gcc g++ libboost-all-dev cmake

Optional dependencies (among others):

sudo apt-get install doxygen libgraphicsmagick3 libssl-dev libpq-dev libssl-dev libfcgi-dev

Get Wt:

Go to http://www.webtoolkit.eu/wt/download or download using wget:

 wget -c https://github.com/emweb/wt/archive/x.y.z.tar.gz
 tar xvxf wt-x.y.z.tar.gz

Build Wt from sources

See also http://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html

cd wt-x.y.z
mkdir build; cd build
cmake ..
make
make -C examples

To install wt in /usr/local:

 sudo make install
 sudo ldconfig

Try the Examples

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.

Special Cases

  • Please note the widget gallery example will not run properly unless you download tinymce and extract it the proper place.
  • Please note the wtwithqt example needs Qt to run

Updated by Wim Dumon 4 days ago ยท 62 revisions