XZ compressed snapshots
Saturday, November 26, 2011 10:15:59 PM
Recent Opera snapshots are provided in xz compressed tar files. If xz is installed, GNU tar version 1.22 and above will be able to open these packages seamlessly (XZ Utils is pre-installed on many recent distributions or can easily be obtained from their respective repositories). If you have an older version of tar you can still open xz compressed tar files (assuming xz is installed) as follows:
xzcat opera-11.60-1173.i386.linux.tar.xz | tar x(Replace "opera-11.60-1173.i386.linux.tar.xz" with the name of the actual Opera package you wish to extract).
If you are using an older Linux distribution and find that xz is not available directly from your distribution's repositories, you can use these xzdec (XZ Decompressor) packages. Once installed you can now extract xz compressed Opera tar packages as follows:
xzdec opera-11.60-1173.i386.linux.tar.xz | tar x
P.S. I compiled xzdec on 32 and 64 bit Ubuntu 6.06 LTS (Dapper Drake) LiveCDs. Ubuntu 6.06 was released on released in June 2006, so I expect these binaries should run on most distributions produced in the last 5 years. If you have problems using them please tell me your distribution (including version and architecture).














Wojciech EysymonttNasty # Sunday, November 27, 2011 8:06:24 PM
Ruarí Ødegaardruario # Monday, November 28, 2011 8:34:03 AM
These are the switches I used if anyone is interested:
--disable-shared
--disable-nls
--disable-encoders
--enable-small
--disable-threads
--disable-lzmainfo
--disable-scripts
--disable-xz
--disable-lzma-links
EDIT: Here is a video showing the process of creating one of these decompressors:
http://shelr.tv/records/500401c996608020cf000058
Ruarí Ødegaardruario # Monday, November 28, 2011 8:49:38 AM
Ruarí Ødegaardruario # Monday, November 28, 2011 9:10:27 AM
http://packages.debian.org/lenny-backports/xzdec
Note: It is a slightly older version of xzdec than the one I provide (5.0.0 instead of 5.0.3) and may not work on versions of Debian before Lenny.
Ruarí Ødegaardruario # Monday, November 28, 2011 10:03:47 AM
Note: You will need to have version 9.04 beta or above for 7zip to support opening xz compressed files.
Wojciech EysymonttNasty # Tuesday, November 29, 2011 9:29:25 PM
I created an executable file with a universal command inside for unpacking Opera:
Thank you a lot for your tips and help, Ruari.
Ruarí Ødegaardruario # Wednesday, November 30, 2011 6:29:49 AM
Or for something more generic, save this as 'untarxz':
Now you could issue the following to open any .tar.xz file:
Just change 'opera-11.60-1173.i386.linux.tar.xz' to the name of the .tar.xz file you want to extract.
erika # Wednesday, November 30, 2011 7:15:57 PM
Ruarí Ødegaardruario # Wednesday, November 30, 2011 7:37:53 PM
KerenSkyy # Friday, December 2, 2011 10:46:00 PM
Julianjjsl6 # Saturday, December 3, 2011 6:34:32 PM
Interesting I'll test it
PS. Hey so si hablo Español (I speak Spanish) but erika doesn't appear a serious user of MyOpera
Unregistered user # Monday, April 23, 2012 7:39:22 AM
Ruarí Ødegaardruario # Tuesday, June 5, 2012 2:37:10 PM
#!/bin/sh if [ ! -e "$1" ]; then echo "Usage: $0 opera.rpm" >&2 exit 1 fi operadir=$(echo $1 | sed "s/\.rpm$/.linux/") mkdir -p $operadir tail -c $(expr $(ls -l $1 | awk '{ print $5 }') - $(perl -ln0777e 'print (pos() - 13) while /]\x00{2}.{4}\xff{6}/g' $1 | head -n1)) $1 \ | lzma -d \ | (cd $operadir; cpio -idvu) cat << EOF > $operadir/runopera #!/bin/sh export OPERA_DIR=\${OPERA_DIR:-"\${0%/*}"/usr/share/opera-next} export OPERA_PERSONALDIR=\${OPERA_PERSONALDIR:-"\${0%/*}"/profile} exec "\${0%/*}"/usr/lib/opera-next/opera-next "\$@" EOF chmod +x $operadir/runopera echo "To run Opera issue the command: $operadir/runopera &"Ruarí Ødegaardruario # Tuesday, July 3, 2012 1:18:21 PM
Note: Providing an XZ Opera Next tar package, plus the XZ decompressor still makes for a smaller total download than providing a bzip2 compressed Opera Next tar package.