manGetHT - Cookbook: recipe #158, How to install GetHT


recipe #158: How to install GetHT

Installing GetHT from source is really not as difficult or scary as it may sound.

This guide should help you get GetHT up and running quickly and easily.

Note that this guide applies for all versions before 0.3. Versions 0.3 and later have a simpler process, so checking the variables in and running 'make install' should build and install everything correctly.

Check Dependancies

The first thing to do is to check that you have all of the "dependancies" -- or programs which GetHT uses -- already installed.

The exact procedure will vary depending on your distribution, and most distributions probably package these by default, so if in doubt, continue on and hope for the best :)

The dependancies required by GetHT are:

Any modern version of these packages should work fine, but it's always a good idea to check that you have the most recent version.

In a Debian based system the necessary files may be installed with the command:

 apt-get install libcurl4-openssl-dev libxml2-dev


Now that that's sorted, download the source, by heading over to the downloads page, and downloading the files listed in the Latest Release section. While not essential, it's a good idea to download the GPG Signature and Checksums, so that the following tests may be performed.


To be sure that the download went OK, and everything is as it should be, it's worthwhile spending a few seconds checking the Signature and Checksums of the release.

If any of these checks fail, first re-download the tarball and signature file, and if they persist, please submit a bug report detailing the problems you're having.


First it would be wise to check that the downloads went smoothly, and nothing was corrupted. This can be done by checking that a Checksum matches that given on the website, by entering the following command into a terminal:

 sha1sum --check getht-<version>.tar.bz2.sha1

Each of these commands should report 'getht-<version>.tar.bz2: OK'


Now, to check that it hasn't been tampered by anyone, you can  check the GPG Signature of the source file. This is done by running the following command, from a terminal:

 gpg --verify getht-<version>.tar.bz2.sig

This command should report 'Good signature from "Nick White"...'

Decompress and Open the Archive

Running the following command to decompress the GetHT source files to a directory called getht-<version>:

 tar -xjf getht-<version>.tar.bz2

Build GetHT

You can now change into the directory containing the source files, with the command:

 cd getht-<version>

Now, in order to set up the package for your system, enter the following:


Note that if you want to change features in the program, or change the location to install the program, you should do so here. For more information see:

 ./configure --help

Providing all went smoothly there, you can go on to compile the program with the following command: (if all did not go smoothly, check that you've fulfilled the above dependancies, and if so, please file a bug)


Install GetHT

Now that all is built, all that remains is to install it into the appropriate location. If you're installing to a directory outside of your home directory, you'll probably need "superuser" permissions, easiest gained by prefacing the following command with "sudo":

 make install

You may now delete at your leisure the getht-version directory, and the .tar.bz2 and .sig files.

GetHT can thenceforth be run from any terminal, by running the command:


The manual page may be accessed by typing the following:

 man getht

Last update: Fri 25 Jun 2010 06:13:40 PM UTC


Audience and Context

   Anonymous Users, Logged-in Users, All Project Members, Project Members who are technicians, Project Members who are managers
   Download Area
   Browsing, Doing Searches

Back to the top

Powered by Savane 3.6