Installing .tar.gz (Suse Linux 10)
Discussion
Vodka Margarine said:
Does anyone know how to install .tar.gz files on Suse Linux 10?
Ive tried many a time and im hopeless!
Thanks
Matt.
It is a unix stylee 'zip' file. Ive tried many a time and im hopeless!
Thanks
Matt.
Use
tar tzf file.tar.gz
to test and see what is inside
When you want to unzip it, change directory to where you want it and type
tar xzf file.tar.gz
gunzip file123.tar.gz | tar -xvf -
Will unpack it, usually in to it's own directories.
cd <directory>
./configure
make
sudo (or su) make install
Will usually build the program and install it in the default location for you.
However (WARNING GEEK TALK AHEAD) Suse is an RPM based distro and often does not install the source packages to build stuff. You might find that ./configure throws out a metric ass tonne of errors about missing dependancies, you will have to hunt through YaST (if they are still using it) for the packages it needs, often marked 'source' or 'dev'. I found it simpler to just hunt for '<program> suse' in google as often someone, somewhere will have a Suse RPM built.
This concludes the geek talk.
Will unpack it, usually in to it's own directories.
cd <directory>
./configure
make
sudo (or su) make install
Will usually build the program and install it in the default location for you.
However (WARNING GEEK TALK AHEAD) Suse is an RPM based distro and often does not install the source packages to build stuff. You might find that ./configure throws out a metric ass tonne of errors about missing dependancies, you will have to hunt through YaST (if they are still using it) for the packages it needs, often marked 'source' or 'dev'. I found it simpler to just hunt for '<program> suse' in google as often someone, somewhere will have a Suse RPM built.
This concludes the geek talk.
<geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
Globulator said:
<geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
<uber-geek-pedant-mode>
Neither the 'z' nor 'j' switches are supported in traditional Unixes, and definitely not on Solaris. Better to learn to do it the "proper" way;
gunzip wibble.tar.gz | tar xvpf -
In the same way that not all the world was a VAX, not all the world is Linux.
</>
zumbruk said:
Globulator said:
<geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
<uber-geek-pedant-mode>
Neither the 'z' nor 'j' switches are supported in traditional Unixes, and definitely not on Solaris. Better to learn to do it the "proper" way;
gunzip wibble.tar.gz | tar xvpf -
In the same way that not all the world was a VAX, not all the world is Linux.
</>
<uberloitnent-geek mode>
..But he said he was using Suze Linux 10
Plus is always bugs me that Solaris is always stuck in the 80's and refuses to countenance useful flags - especially ones like '-h', for instance du -sh * or ls -lash, so I avoid it where possible..
</de-uber>
ThePassenger said:
gunzip file123.tar.gz | tar -xvf -
Will unpack it, usually in to it's own directories.
cd <directory>
./configure
make
sudo (or su) make install
Will usually build the program and install it in the default location for you.
However (WARNING GEEK TALK AHEAD) Suse is an RPM based distro and often does not install the source packages to build stuff. You might find that ./configure throws out a metric ass tonne of errors about missing dependancies, you will have to hunt through YaST (if they are still using it) for the packages it needs, often marked 'source' or 'dev'. I found it simpler to just hunt for '<program> suse' in google as often someone, somewhere will have a Suse RPM built.
This concludes the geek talk.
Will unpack it, usually in to it's own directories.
cd <directory>
./configure
make
sudo (or su) make install
Will usually build the program and install it in the default location for you.
However (WARNING GEEK TALK AHEAD) Suse is an RPM based distro and often does not install the source packages to build stuff. You might find that ./configure throws out a metric ass tonne of errors about missing dependancies, you will have to hunt through YaST (if they are still using it) for the packages it needs, often marked 'source' or 'dev'. I found it simpler to just hunt for '<program> suse' in google as often someone, somewhere will have a Suse RPM built.
This concludes the geek talk.
and depending what your trying to install the lilkleyhood is that there may also be a config file that you need to edit first..
If you dont know how to untar a file (personaly i use tar xzfv file.tar.gz (which untars the file to the same name as the tar.gz but without the .tar.gz extention)) then goto www.rpmfind.net/ or simular and fine an RPM for the program and your distro
Just my 2 pence
Regards
Liam
shocker-z said:
and depending what your trying to install the lilkleyhood is that there may also be a config file that you need to edit first..
If you dont know how to untar a file (personaly i use tar xzfv file.tar.gz (which untars the file to the same name as the tar.gz but without the .tar.gz extention)) then goto www.rpmfind.net/ or simular and fine an RPM for the program and your distro
If you dont know how to untar a file (personaly i use tar xzfv file.tar.gz (which untars the file to the same name as the tar.gz but without the .tar.gz extention)) then goto www.rpmfind.net/ or simular and fine an RPM for the program and your distro
Config file should normally end up in /etc or /etc/<programname>/ hopefully.
Personally, my only experience of Suse was 8.0, which kinda fell apart by installing too much from source (YaST freaked out), so like you I'd head to rpmfind first rather than after.
Globulator said:
zumbruk said:
Globulator said:
<geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
<uber-geek-pedant-mode>
Neither the 'z' nor 'j' switches are supported in traditional Unixes, and definitely not on Solaris. Better to learn to do it the "proper" way;
gunzip wibble.tar.gz | tar xvpf -
In the same way that not all the world was a VAX, not all the world is Linux.
</>
<uberloitnent-geek mode>
..But he said he was using Suze Linux 10
Plus is always bugs me that Solaris is always stuck in the 80's and refuses to countenance useful flags - especially ones like '-h', for instance du -sh * or ls -lash, so I avoid it where possible..
</de-uber>
Ahem.
zumbruk{~}: du -sh
4.8G .
zumbruk{~}: uname -a
SunOS encopresis 5.10 Generic_118822-30 sun4u sparc SUNW,Ultra-60
zumbruk{~}:
'ls -lash' works, too.
Edited by zumbruk on Monday 30th April 11:31
Globulator said:
<geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
The 'z' given to tar (Tape Archive) tells tar to do the gunzip/gzip itself
The normal postfix for this is however .tgz, but .tar.gz is usually the same thing
Using a 'j' instead (not supported on solaris/unix IIRC) uses bzip - a better compression in general but you give those a different extension - so people know - can't recall the convention though!
</geek-pendant-mode-on>
Hmmm, I didn't know that (-z), I will comitt (hopefully) to memory ...
Martin
Installing software on SUSE you should be using YaST, either click the YaST icon if you're using a desktop and go into software management, click search for the software you want to install and click install, nothing else to it, if it needs anything else to get it to work it'll sort all that out for you. Otherwise type yast from the command line and do the same thing.
You don't need to hunt around for software these days unless you're still using Windows.
Don't piss about installing software from source or using tar's that's oldskool Unix/BSD and will just cause you hassle when you want to patch or upgrade anything.
Matthew
You don't need to hunt around for software these days unless you're still using Windows.
Don't piss about installing software from source or using tar's that's oldskool Unix/BSD and will just cause you hassle when you want to patch or upgrade anything.
Matthew
qube_TA said:
Installing software on SUSE you should be using YaST, either click the YaST icon if you're using a desktop and go into software management, click search for the software you want to install and click install, nothing else to it, if it needs anything else to get it to work it'll sort all that out for you. Otherwise type yast from the command line and do the same thing.
You don't need to hunt around for software these days unless you're still using Windows.
Don't piss about installing software from source or using tar's that's oldskool Unix/BSD and will just cause you hassle when you want to patch or upgrade anything.
Matthew
You don't need to hunt around for software these days unless you're still using Windows.
Don't piss about installing software from source or using tar's that's oldskool Unix/BSD and will just cause you hassle when you want to patch or upgrade anything.
Matthew
Will try that when I get home, Thought YAST only did .RPM
Thanks to everyone for the help, just trying to get SUSE to play DVD's.
Oh and just a quick question to settle an argument, are there viruses for Suse?
Vodka Margarine said:
Will try that when I get home, Thought YAST only did .RPM
It does. What you're looking for is libdvdcss2 (usually).
Vodka Margarine said:
Thanks to everyone for the help, just trying to get SUSE to play DVD's.
http://en.opensuse.org/Installing_SuS
The section on multimedia.
Vodka Margarine said:
Oh and just a quick question to settle an argument, are there viruses for Suse?
Linux has no viruses in the wild.
[/quote]
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff





