HOW to compile / install / make install any .tar.gz easily?

Booting, installing, newbie
Post Reply
Message
Author
MADMAX
Posts: 3
Joined: Sat 02 Sep 2006, 14:26

HOW to compile / install / make install any .tar.gz easily?

#1 Post by MADMAX »

Hi there guys!

I'm very new to Linux, a couple of days...Puppy 2.02 is great but since I am new to linux I do not know how to install a program...
By now I have already set my wireless connection up succesfully using an app called "rutilt" instead of WAG (not working on 2.02) and installed some .pup files...that's easy, click on them and go..!

But if I want to install, for ex; a compressed file ".tar.gz" like this one:

http://download.aircrack-ng.org/aircrac ... 6.1.tar.gz

(When you click to download this file, it renames itself to ...".tar.tar" (

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#2 Post by Pizzasgood »

It's a source file, so you'll need the devx_xxx.sfs file (found here) installed to compile. The xxx stands for your version of Puppy, so if you have 2.02, you'd want devx_202.sfs. Place it in /mnt/home if you have a live-cd or frugal install, and / if you have a harddrive install (I think). Then reboot and follow the following directions:

First, download the aircrack file to a convienient location (I use /tmp/NewDir, as I can make a mess and Puppy cleans it when rebooting, but you may want to save a copy of the compressed file somewhere else).

Then, go to that directory and open a terminal window (right-click some whitespace and choose "xterm here").

Type

Code: Select all

tar -zxf aircrack-ng-0.6.1.tar.gz
cd aircrack-ng-0.6.1
make
make install
That should compile and install it. You can then remove the directory and package if you want, as they are no longer needed (though you may want to save the compressed file for re-use later).
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#3 Post by Pizzasgood »

Open up /etc/rc.d/rc.local. Go near the bottom and add

Code: Select all

modprobe ndiswrapper
to it. That file is run each time you boot, so that will run ndiswrapper for you.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

#4 Post by Kal »

Your renaming of the download only occurs for me if I send the download to a folder outside of puppy. Like I send the download to my Windows 2000 downloads. If the folder is in Puppy, this doesn't happen. Here is a little more info.

For compiling:

http://puppylinux.org/wikka/Compiling

For harddrive install look at this from MU:

http://www.murga.org/~puppy/viewtopic.php?t=10384

Kal

MADMAX
Posts: 3
Joined: Sat 02 Sep 2006, 14:26

#5 Post by MADMAX »

Thank you pizzasgood and Kal for your quick response...
Ok, I need that .sfs file...you've been very clear pizzasgood, thank you again. I'll follow your directions.
Thanks again.....I'll let you know how it goes...

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#6 Post by trapster »

tar -zxf aircrack-ng-0.6.1.tar.gz
cd aircrack-ng-0.6.1
make
make install
I always do:
./configure
make
make install


is the ./configure not needed?
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#7 Post by Pizzasgood »

That particular package didn't have a configure script. Some do, some don't.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

Post Reply