Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-21-2014, 09:31 AM
|
#1
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Rep:
|
.xz files: a utility to decompress it?
Hi: I tried with gzip and bzip2 but they gave errors.
|
|
|
01-21-2014, 09:34 AM
|
#2
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by stf92
Hi: I tried with gzip and bzip2 but they gave errors.
|
Use the 'xz' tool. It's been in Slackware since version 13.0 and will already be installed since it's used to unpack the Slackware packages.
To use it:
xz -d <file.xz>
|
|
1 members found this post helpful.
|
01-21-2014, 09:37 AM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Thanks for your answer, but wasn't gzip enough complication for the user to make it greater? Gzip manual: slightly over a hundred lines. xz: over a thousand.
Last edited by stf92; 01-21-2014 at 09:38 AM.
|
|
|
01-21-2014, 10:03 AM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
If the files are tar.xz, then just use tar.
Code:
tar xf whatever.tar.xz
|
|
|
01-21-2014, 10:21 AM
|
#5
|
Member
Registered: May 2010
Posts: 621
Rep:
|
How about ark? Its man is 104 lines. Not that I personally consider it a strength: a longer manual is probably longer because it's more thorough.
|
|
|
01-21-2014, 10:23 AM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by stf92
Thanks for your answer, but wasn't gzip enough complication for the user to make it greater? Gzip manual: slightly over a hundred lines. xz: over a thousand.
|
Given that I gave the answer - xz -d to decompress, and another poster gives an answer to uncompress tar archives compressed with xz, I don't know what your reply is supposed to mean.
|
|
1 members found this post helpful.
|
01-21-2014, 11:01 AM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by stf92
Thanks for your answer, but wasn't gzip enough complication for the user to make it greater? Gzip manual: slightly over a hundred lines. xz: over a thousand.
|
Usually tools are validated by its intended use, not by the length of the manual. xz offers much greater compression, that is why it is used, not because the man-page may be longer or shorter.
|
|
|
01-21-2014, 11:32 AM
|
#8
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Do you not see the world is ever more and more complex? Somebody says: let's study physics! I'd like to understand the place were I live. How illusory a statement. In his entire life he won't be able to understand but a tiny chapter of physics. Do you like that? I don't.
Why the need for more compression? Because software grows larger by the minute. What's the need? Software grows more complex by the minute. What's the need? More complex particle collision simulation. Oh, no! A new multimedia format.
Last edited by stf92; 01-21-2014 at 11:38 AM.
|
|
|
01-21-2014, 12:33 PM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Well, nothing is keeping you from going back to an 8086 and run DOS or CP/M on it, reduces complexity. But then, I guess you like to browse the web with pictures (better picture compression -> faster browsing, but more complexity), ... .
Ranting about increasing complexity in software is useless, it will happen anyways. Having said that, I never needed to even look at the man-page for xz, it behaves exactly like gzip and bzip2 from a user point of view. If you can handle one, you can handle the others
|
|
|
01-21-2014, 12:52 PM
|
#10
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by stf92
Do you not see the world is ever more and more complex? Somebody says: let's study physics! I'd like to understand the place were I live. How illusory a statement. In his entire life he won't be able to understand but a tiny chapter of physics. Do you like that? I don't.
Why the need for more compression? Because software grows larger by the minute. What's the need? Software grows more complex by the minute. What's the need? More complex particle collision simulation. Oh, no! A new multimedia format.
|
A concomitant of complexity can be choice. In this case, xz is usually a better choice for compressing data since it achieves better compression - faster download time, lower storage costs etc. The downside is that for machines which are not as highly powered (ARM for example, which is why the packages are still gzipped) and do not have as much RAM, xz can present problems.
As long as you learn the limitations and benefits of each, you can make well informed choices. Should you become overwhelmed by choice, you just move upwards and think about what it is you want to achieve and what are you prepared to lose or not profit from by not paying attention to certain details. e.g. for some things I just don't care about the fine details, so I might lose out on a few monetary savings from time to time but at the expense of not having to spend time doing something I don't want to.
I personally like to have a multitude of choices for certain situations/topics because it allows me fine control over my experience. For example, I find Windows almost untenable now because it's so much effort to turn off the defaults which are (IMO) intended for less experienced users: I want to be able to make fine adjustments. However, for other things such as making my window manager or X server work, I don't care about fine tuning - it's not relevant to me and I just want 'on and work'. The great thing about Linux distributions (Slackware especially) is that you can always go and change any setting you want without restriction, as the options are open.
Choice is a good thing. Too much choice simply means you need to find ways to deal with it :-)
|
|
|
01-21-2014, 01:22 PM
|
#11
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep:
|
I use an utility called "unp". On your terminal you just have to type "unp file" and it unpacks it. It has support to a lot of filetypes and I believe xz is included.
|
|
1 members found this post helpful.
|
01-21-2014, 01:29 PM
|
#12
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Yes, I see the three of them admit the same -dv option I always use. I have connected an 8086 with one of its pins connected to Vcc to set it in minimum mode, demultiplexed address/data and buffered all the lines, built a dynamic memory controller from scratch, no LSI chip, based on the memory data sheet specifications and used a Motorola 6845 CRT controller to build the video section around it. All 16 bits! How many wires! The predecesors used 8-bit data buses, easy to wire. Then I began to write an editor, then an assembler which was really a set of macros when, well, I had an IBM PC for some days and from then on my little machine was more and more relegated until I forgot it. The IBM ran an 8088, 8-bit only external data bus at 3.58 MHz. Mine ran at 8 MHz! What a fool! I should have stuck to my 8086.
Last edited by stf92; 01-21-2014 at 01:32 PM.
|
|
|
01-21-2014, 01:42 PM
|
#13
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
If you want to compress a file/folder:
tar cfpJ the archivename.tar.xz filename
to decompress do as dugan said above
Last edited by dive; 01-21-2014 at 01:50 PM.
|
|
2 members found this post helpful.
|
01-21-2014, 01:48 PM
|
#14
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,284
Rep:
|
Quote:
Originally Posted by stf92
I should have stuck to my 8086.
|
Well, maybe that was an overkill already just this one would have been enough. Or even that one, but I'm not sure that you can still find one on Ebay
Last edited by Didier Spaier; 01-21-2014 at 02:24 PM.
Reason: wording changed
|
|
|
01-21-2014, 02:03 PM
|
#15
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Don't worry, i have just built a Z80 system to get out of the supercomplexity thing. For all things outside the system it is unable to communicate with them. Too slow, even running at 20MHz. Who cares. Have computers to work interactively? Certainly not.
EDIT: your knowledge of history amazes me! IBM has an original of Pascal's machine. The 8080 once was present in nine of ten desktops and physically larger machines. I worked with some of them. This one started the whole thing.
Last edited by stf92; 01-21-2014 at 02:11 PM.
|
|
|
All times are GMT -5. The time now is 12:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|