Back to Conky

Compiling

web/documents/compiling.mdx

1.999824 B
Original Source

Building Conky with CMake is straightforward:

  1. From the top-level source directory, create a build directory and change into it:
shell-session
mkdir build
cd build
  1. Run the CMake configuration step:
shell-session
cmake ../ # pass the path to the sources to cmake

OR

shell-session
ccmake ../ # use the ncurses interface instead, or try cmake-gui
  1. Build and install as usual:
shell-session
make
sudo make install # optional

Conky provides a number of build options. The easiest way to explore them is to use ccmake or cmake-gui.

Some build-time features, such as documentation generation, require third-party tools. CMake will usually tell you when one is missing. For documentation generation, you will need the docbook2X package, which is available on most distributions.