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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

recipe #158: How to install GetHT

Submitter:  Nick White <njw>
Submitted:  Sat 05 May 2007 10:04:45 PM UTC
   
 
Importance:  4 Status:  Approved
Privacy:  Public Open/Closed:  Open

Sat 05 May 2007 10:04:45 PM UTC, recipe preview:  

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 config.mk 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:

  • libxml2
  • libcurl


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


Download


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.

Verify


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.

Checksums


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'

Signature


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:


 ./configure


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)


 make


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:


 getht


The manual page may be accessed by typing the following:


 man getht


Nick White <njw>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by njw (Submitted the item)
  •  

    Follow 23 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-25 njw RecipeInstalling GetHT from... +221 chars
    2008-07-03 njw RecipeInstalling GetHT from... +1 chars
    2008-04-03 njw RecipeInstalling GetHT from... +159 chars
    2008-04-03 njw RecipeInstalling GetHT from... -52 chars
    2007-12-08 njw RecipeInstalling GetHT from... -23 chars
    2007-11-08 njw Importance3 - Normal 4
    2007-05-07 njw RecipeInstalling GetHT from... +36 chars
    2007-05-07 njw RecipeInstalling GetHT from... +20 chars
    2007-05-07 njw RecipeInstalling GetHT from... +838 chars
    2007-05-05 njw RecipeInstalling GetHT from... +68 chars
    2007-05-05 njw RecipeInstalling GetHT from... +13 chars
    2007-05-05 njw RecipeInstalling GetHT from... +22 chars
    2007-05-05 njw RecipeInstalling GetHT from... +45 chars
    2007-05-05 njw RecipeInstalling GetHT from... +18 chars
    2007-05-05 njw RecipeInstalling GetHT from... -8 chars
    2007-05-05 njw StatusDraft Approved
        RecipeInstalling GetHT from... +13 chars
    2007-05-05 njw RecipeInstalling GetHT from... +13 chars
    2007-05-05 njw StatusApproved Draft
        RecipeInstalling GetHT from... -3 chars
    2007-05-05 njw StatusDraft Approved
        RecipeInstalling GetHT from... +13 chars
    2007-05-05 njw RecipeInstalling GetHT from... +13 chars

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code