Re:GDB 7.11 released
by rurban on Wednesday February 24, 2016 @01:18PM
(#11168877)
`tar xfJ gdb-7.11.tar.xz` for .xz files
[ Parent
| on HN ]
Good point. GNU tar requires using the correct option, -J, when extracting an xz-compressed tarball.
But OS X tar is bsdtar, which ignores -z and -J when extracting because it automatically recognizes compression and does the right thing. So it turns out both our suggestions happen to work on OS X.
nonsense, gnu tar unpacks anything with tar xf <file> just fine.