How to Install and Uninstall tntnet Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "tntnet" package

This tutorial shows how to install tntnet on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install tntnet

2. Uninstall "tntnet" package

This tutorial shows how to uninstall tntnet on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove tntnet $ sudo apt autoclean && sudo apt autoremove

3. Information about the tntnet package on Ubuntu 21.10 (Impish Indri)

Package: tntnet
Architecture: amd64
Version: 2.2.1-4build1
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Kari Pahula
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 208
Provides: httpd, httpd-cgi
Depends: libc6 (>= 2.27), libcxxtools9v5, libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2), libtntnet12v5, net-tools, tntnet-runtime (= 2.2.1-4build1)
Suggests: tntnet-doc, libtntnet-dev
Filename: pool/universe/t/tntnet/tntnet_2.2.1-4build1_amd64.deb
Size: 57924
MD5sum: 4ac2d3693bd0ab7ad526136da9fe9aa8
SHA1: fa4b52535e59aa80b14fe943f67555faf9be3d47
SHA256: 90c25d0efa6e4d42423274fe8b4fdf4d0933ce5845ade4605628fc2680bc0694
SHA512: abbd2179c2d8e89efc26f1ffa759d4a3777c972cb2fd6db3d42e4e4ce095cbce07c04a4107f61d69893a9abc0a3fc66f2b8bf80e9ea4ac503ef024fc53dbc3cc
Homepage: http://www.tntnet.org/
Description-en: modular, multithreaded web application server for C++
Tntnet has a template-language called ecpp similar to PHP, JSP or
Mason, where you can embed c++ code inside a HTML page to generate
active content. The ecpp files are precompiled to C++ classes called
components and compiled and linked into a shared library. This process
is done at compiletime. The web server Tntnet needs only the compiled
component library.
.
Because the web applications are compiled into native code, they are
very fast and compact.
.
Components can call other components. So you can create building blocks
of HTML parts and call them in other pages like subprocesses.
.
Requests are parsed by tntnet and the request information is easily
accessible to the components. It supports GET and POST parameters and
MIME multipart requests for file upload.
.
The template language has also support for internationalized
applications. You can easily create web applications for different
languages.
.
Other features are: cookies, HTTP upload, automatic request parameter
parsing and conversion, automatic session management, scoped variables
(application, request and session), internationalisation and keep-alive.
.
Logging is done through cxxtools, which provides a unique API for
log4cpp, log4cxx or simple logging to files or console.
.
Tntnet is fully multithreaded and much work has been gone into making
it scalable. It uses a dynamic pool of worker threads, which answer
requests from HTTP clients.
Description-md5: a5b9e7f5ba86f52c512533172ddaa4eb