VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: gz and gz2  (Read 4507 times)

firedudechad

  • Member
  • *
  • Posts: 37
gz and gz2
« on: May 13, 2007, 09:31:35 am »

how do i install gz and gz2 packages
Logged
i have Soho 5.8 RC3

Chad C

Colonel Panic

  • Vectorian
  • ****
  • Posts: 526
Re: gz and gz2
« Reply #1 on: May 13, 2007, 09: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, 09:46:48 am by Colonel Panic »
Logged

firedudechad

  • Member
  • *
  • Posts: 37
Re: gz and gz2
« Reply #2 on: May 13, 2007, 09:49:39 am »

i ment to say gz and bz2
Logged
i have Soho 5.8 RC3

Chad C

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: gz and gz2
« Reply #3 on: May 13, 2007, 10: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