Installing

This tutorial was written for HPKit v0.2.1

This short tutorial explains how to download, compile and install successfully the HPKit suite.

What you need

  • A PC with GNU/Linux installed (every distro can be good, but this tutorial was written for Linux Mint 17/Ubuntu Trusty);
  • Internet connection.

Installing the prerequisites

To download the source code, you have to install git, open a terminal and write this line:

 $ sudo apt-get install git 

Compiling and installing

Once installed git, create a new directory called hpkit, and get into it:

 $ mkdir hpkit
$ cd hpkit
hpkit $ 

Now download the source code from the repository:

 hpkit $ git clone https://github.com/rapgenic/hpkit.git 

Once downloaded, run the configuration script, then make:

 hpkit $ ./configure
hpkit $ make 

If you want to install the binaries into the system, run:

 hpkit $ sudo make install # OPTIONAL

Uninstalling

If you want to delete the binaries from the system, run:

 hpkit $ sudo make uninstall 

Troubleshooting

Downloading source code for later compilation

If you don’t have internet connection enabled in the computer you want to compile this into, download the source code, and extract it in the computer you want to use.

To unzip it run:

 $ unzip hpkit-master.zip 

Note that the working directory is now hpkit-master.

Then, to compile and install, run:

 $ cd hpkit-master
hpkit-master $ ./configure
hpkit-master $ make
hpkit-master $ sudo make install # OPTIONAL 

Configure: Permission denied

If you receive this message while configuring:

 hpkit $ ./configure
sh: ./configure: Permission denied
hpkit $ 

Try to run:

 hpkit $ chmod +x ./configure 

If it doesn’t work, make sure you have the permission to access the file.

Reply