Please support VectorLinux!

Author Topic: gz and gz2  (Read 4392 times)

firedudechad

  • Member
  • *
  • Posts: 37
gz and gz2
« on: May 13, 2007, 08:31:35 am »
how do i install gz and gz2 packages
i have Soho 5.8 RC3

Chad C

Colonel Panic

  • Vectorian
  • ****
  • Posts: 526
Re: gz and gz2
« Reply #1 on: May 13, 2007, 08:40:56 am »
I don't know about .gz2, but for .gz packages you have to ungzip and untar them and then compile them.

Supose you have a file like cream.tar.gz.

Do the following;

gzip -d cream.tar.gz

and then

tar -xvf cream.tar.

That should give you a directory called /cream. Move to that in this way;

cd /cream

and then do the following (waiting for each step to complete before attempting the next, and some may take a while);

./configure

make

make install

That should do it.

« Last Edit: May 13, 2007, 08:46:48 am by Colonel Panic »

firedudechad

  • Member
  • *
  • Posts: 37
Re: gz and gz2
« Reply #2 on: May 13, 2007, 08:49:39 am »
i ment to say gz and bz2
i have Soho 5.8 RC3

Chad C

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: gz and gz2
« Reply #3 on: May 13, 2007, 09:00:37 am »
usually tar.gz and tar.bz2 are source packages so after unpacking them, you have to ./configure && make install, but it's not always true.

To unpack tar.gz you can:

Code: [Select]
tar -zxvf cream-X.Y.tar.gz
To unpack tar.bz2 you can

Code: [Select]
tar -xjvf cream-X.Y.tar.bz2
for more info
Code: [Select]
man tar
then if there's a README, or  INSTALL file, there should explain dependencies, or way to install the package.

If there's no unmet dependency,

Code: [Select]
./configure

make

as root

Code: [Select]
make install

HTH