cwidget/ documentation/ Installing cwidget from source
  1. Prerequisites
  2. Compiling cwidget
  3. Installing cwidget

Once you have downloaded the cwidget source code, you probably will want to compile and install it.


In order to compile cwidget, you must have the following packages installed:

In order to generate the included documentation, the following additional packages are required:

OS-specific instructions

This section describes how to acquire the prerequisites of cwidget on various operating systems.

If your operating system is not listed here, please email with instructions on how to install the prerequisites on your operating system.

Debian unstable

Compiling cwidget

To compile cwidget, run the following command in the root of the source distribution:

sh ./configure && make

This will autodetect libraries and utilities on your system, then compile the source code. By default, cwidget will be configured to be installed in the directory /usr/local/; to place it in another directory, run

sh ./configure --prefix=$PREFIX && make

where $PREFIX is the directory under which cwidget should be installed. For instance, to install in your home directory, you could pass --prefix=$HOME on the command-line.

If you also want to build documentation, run:

make doc

after building the source.

Installing cwidget

Once you have compiled cwidget, you can install it with the command:

make install

If you are installing in a system directory, this command has to be run as root.

Once cwidget is installed, you may want to use it in some of your own programs.