Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Cody again. I'm still sort of a noob at installing things so I need your help... Im trying to install hping3 and of course it's a .tar.gz file... I've looked everywhere even on here and no solutions... Please help!!

share|improve this question

marked as duplicate by Eric Carvalho, Seth, Mik, Rafał Cieślak, Raja Mar 17 '13 at 4:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted

AFAIK, it should be already available in Ubuntu repositories (12.10), so simply do this:

sudo apt-get install hping3

In case that it's really tar.gz, then you can extract it by using: tar -xvzf hping3.tar.gz

Then, you have to compile the source code, typically by using "make" command (you'll need installing the build tools):

sudo apt-get install build-essential

Take this as a hint ;-).

share|improve this answer

the above answer is an easy and efficient solution but if you want to install through tar.gz first you need to extract is using

tar -xvvf [filename.tar.gz]

then you need to configure the source code contained in tar.gz with command


after that do

make install

to install your program and you are done.

PS: you need to be present in the specific folder extracted. that's all.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.