Installing Wt on Ubuntu

Home / Installing Wt on Ubuntu

Installing Wt on Ubuntu

December 9, 2015 | Article | No Comments

Wt (pronounces as witty) is a C++ library for developing web application.

This article will discuss about installation of Wt on Ubuntu Linux, using package manager in specific. The prebuilt packages are made always updated to the newest Wt version so it would be the best for starting learning Wt.

Installing from the Official Package

Since Ubuntu Intrepid (8.10), official packages for Ubuntu are available. To install Wt, run:

aptitude install witty witty-dbg witty-dev witty-doc

This will automatically install all the required dependencies. If you only want the runtime library, you only need to install the witty package. The witty-dbg package contains the debug versions of the libraries. Make sure you install witty-dev (or libwtwhatever-dev) if you want to develop Wt applications.

The official package is usually a bit outdated due to the stabilization periods Debian and Ubuntu need prior to release. If you want to use the newest version of Wt and not build from source, read on.

Installing from Prebuilt Packages ghdg

Since Wt 2.0.3, unofficial packages for Ubuntu are being built by Pau Garcia i Quiles. To install Wt, add the Wt PPA to your repositories (check “Adding this PPA to your system” in the Wt PPA page). After adding the repository to your system, run:

 $ sudo apt-get update
 $ sudo aptitude install libwt*

This will automatically install all the required dependencies. If you only want the runtime library, you only need to install the libwt24, libwthttp24, libwtext24, etc packages (no -dev, -doc or -dbg packages). The libwt-dbg package contains the debug versions of the libraries.

These packages are built by the maintainer of the official Debian and Ubuntu packages and are always updated to the latest version of Wt. If you want to use the newest version of Wt and not build from source, this is the preferred method.

Please note in the past packages were named witty, witty-dev, witty-doc and witty-dbg. These package still exist but only as transitional packages and will be removed in the future. It is recommended that you install libwt*.

,

About Author

about author

xathrya

A man who is obsessed to low level technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial