Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bcearl on June 18, 2011, 10:27:58 AM



Title: Use .tar.xz instead of .tar.gz
Post by: bcearl on June 18, 2011, 10:27:58 AM
It will push archive size of 0.3.23 (for linux) from 11 M to 6.5 M. This results in 41 % smaller size (and thus traffic).

 It still decompress faster, only compressing takes a little longer.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: wumpus on June 18, 2011, 11:21:28 AM
A lot of people don't know how to handle .xz though, so you'd still have to offer both choices in that case.

I'm not sure how much bandwidth of the download site is a problem at the moment.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: bcearl on June 18, 2011, 11:27:11 AM
A lot of people don't know how to handle .xz though, so you'd still have to offer both choices in that case.

I'm not sure how much bandwidth of the download site is a problem at the moment.

On every linux distribution not older than 5 years there should be no difference for the user at all.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: Luke-Jr on June 18, 2011, 06:19:12 PM
A lot of people don't know how to handle .xz though, so you'd still have to offer both choices in that case.

I'm not sure how much bandwidth of the download site is a problem at the moment.
On every linux distribution not older than 5 years there should be no difference for the user at all.
Nonsense. How many distributions include a xz decompressor by default? Even if you can figure out what to install easily, what command is used to extract? I'm not aware of GNU Tar including an option for xz yet...


Title: Re: Use .tar.xz instead of .tar.gz
Post by: BioMike on June 18, 2011, 06:22:49 PM
bzip2 should be a more sane replacement for gzip.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: gentakin on June 18, 2011, 08:21:08 PM
Nonsense. How many distributions include a xz decompressor by default? Even if you can figure out what to install easily, what command is used to extract? I'm not aware of GNU Tar including an option for xz yet...

GNU tar supports it since 1.22, according to german wikipedia. Ubuntu 11.04 comes with 1.25. The man page seems to indicate -J for .tar.xz.

Although I didn't know that .tar.xz exists, my test download worked like a charm: firefox offered to open the file in file-roller. file-roller displayed the contents. no problems. (using file from http://www.phpmyadmin.net/home_page/downloads.php )



Also,
Code:
tar xvf phpMyAdmin-3.4.2-all-languages.tar.xz
works as expected.

I guess I'm a tar.xz fan now! ;D


Title: Re: Use .tar.xz instead of .tar.gz
Post by: imperi on June 18, 2011, 08:53:05 PM
This is a terrible idea. Stick with gz.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: Yeti on June 18, 2011, 09:00:53 PM
Lempel-Ziv-Markov FTW!!!1!!1!

Use .tar.lzma or .tar.7z!


Title: Re: Use .tar.xz instead of .tar.gz
Post by: prof7bit on June 19, 2011, 02:36:07 PM
Lempel-Ziv-Markov FTW!!!1!!1!

Use .tar.lzma or .tar.7z!

Why not .tar.rar or something even more bizarre?

everybody else (estimated 99.99999%) is using either tar.gz or tar.bz2 nowadays. Everything else would be interpreted as harassment by the majority of users.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: gigitrix on June 19, 2011, 03:10:34 PM
A lot of people don't know how to handle .xz though, so you'd still have to offer both choices in that case.

I'm not sure how much bandwidth of the download site is a problem at the moment.

On every linux distribution not older than 5 years there should be no difference for the user at all.

Bitcoin is not just linux.


Title: Re: Use .tar.xz instead of .tar.gz
Post by: ShadowOfHarbringer on June 19, 2011, 09:18:30 PM
A lot of people don't know how to handle .xz though, so you'd still have to offer both choices in that case.

I'm not sure how much bandwidth of the download site is a problem at the moment.

On every linux distribution not older than 5 years there should be no difference for the user at all.

Bitcoin is not just linux.

You are not listening.
He is only talking about the linux package, not windows/macos.