Linux Debian support - Opening Tar, Jar files.

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > June 2005 > Opening Tar, Jar files.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Opening Tar, Jar files.
wuberman

2005-06-05, 5:46 pm

Can enyone explain how to do this properly? I download files to install
manualy and the extracter unpacks them to who knows were. Do I have to
cut and paste make files to a terminal window? Any suggestions on
reading up on how to do this for newbies like me?
URL'S for tutorials would be great.
s. keeling

2005-06-05, 5:46 pm

wuberman <wuberman@ca.inter.net>:
> Can enyone explain how to do this properly? I download files to install
> manualy and the extracter unpacks them to who knows were. Do I have to
> cut and paste make files to a terminal window? Any suggestions on
> reading up on how to do this for newbies like me?
> URL'S for tutorials would be great.


"Extracter?"

Given "blah.tar.gz" or "blah.tgz" using Gnu tar:

tar tzf blah.tgz

will list its contents.

tar xzf blah.tgz

will extract. ALWAYS do tzf before xzf, as it might have absolute
paths (/bin/blah as opposed to ./bin/blah). If it was compressed with
bzip, you'll want to use "J" as well. "man tar"

Jar files: don't know, don't care.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.ietf.org/rfc/rfc1855.txt
Spammers! http://www.spots.ab.ca/~keeling/autospam.html
Robert Tucker

2005-06-05, 5:46 pm

wuberman wrote:

>Can enyone explain how to do this properly? I download files to install
>manualy and the extracter unpacks them to who knows were. Do I have to
>cut and paste make files to a terminal window? Any suggestions on
>reading up on how to do this for newbies like me?
>URL'S for tutorials would be great.
>
>


To run or extract jar files?

To run (assuming Java installed and in your PATH) from directory in
which jar file located:

java -jar JARfilename.jar

To extract jar file:

|jar xvf /JARfilename

http://java.sun.com/docs/books/tuto...atsnew/jar.html
/|
Robert Tucker

2005-06-05, 5:46 pm

wuberman wrote:

>Can enyone explain how to do this properly? I download files to install
>manualy and the extracter unpacks them to who knows were. Do I have to
>cut and paste make files to a terminal window? Any suggestions on
>reading up on how to do this for newbies like me?
>URL'S for tutorials would be great.
>
>


To run or extract jar files?

To run (assuming Java installed and in your PATH) from directory in
which jar file located:

java -jar JARfilename.jar

To extract jar file:

jar xvf /JARfilename

http://java.sun.com/docs/books/tuto...atsnew/jar.html
Robert Tucker

2005-06-05, 5:46 pm

wuberman wrote:

>Can enyone explain how to do this properly? I download files to install
>manualy and the extracter unpacks them to who knows were. Do I have to
>cut and paste make files to a terminal window? Any suggestions on
>reading up on how to do this for newbies like me?
>URL'S for tutorials would be great.
>
>


To run or extract jar files?

To run (assuming Java installed and in your PATH) from directory in
which jar file located:

java -jar JARfilename.jar

To extract jar file:

jar xvf JARfilename.jar

http://java.sun.com/docs/books/tuto...atsnew/jar.html
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com