You are not logged in.
Pages: 1
Is there any way to untar a .pkg.tar.xz file? If I view with thunar I can go into the directory and see what is in it but I can't untar it in any way.
Offline
See the manpage for xz.
Offline
tar xf package.pkg.tar.xz
works fine here
Offline
The -J or --xz flag to `tar` tells it to decompress using xz.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Ah thanks, got it working now. Also, another quick question. Can you install a package from that uncompressed directory?
Offline
Ah thanks, got it working now. Also, another quick question. Can you install a package from that uncompressed directory?
If you want to update the local database manually, then yes.
If you're asking that because you want to modify something in a package before installing it, then read up about PKGBUILDs and modify the package that way.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
breaksand30 wrote:Ah thanks, got it working now. Also, another quick question. Can you install a package from that uncompressed directory?
If you want to update the local database manually, then yes.
If you're asking that because you want to modify something in a package before installing it, then read up about PKGBUILDs and modify the package that way.
Alright thanks. So I could download the .pkg.tar.xz from a mirror site, unxz it, and move all the files where they need to go?
Offline
Pacman can install .tar packages just fine. I don't compress packages I install from AUR and I have no problems with 'pacman -U foo.pkg.tar'.
Offline
So I could download the .pkg.tar.xz from a mirror site, unxz it, and move all the files where they need to go?
Yes, but it's a bad idea (tm)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Xyne wrote:breaksand30 wrote:Ah thanks, got it working now. Also, another quick question. Can you install a package from that uncompressed directory?
If you want to update the local database manually, then yes.
If you're asking that because you want to modify something in a package before installing it, then read up about PKGBUILDs and modify the package that way.
Alright thanks. So I could download the .pkg.tar.xz from a mirror site, unxz it, and move all the files where they need to go?
You could, but unless you figure out how to update the local database when doing that, those files will not be tracked by pacman.
Never install anything without Pacman. The PKGBUILD system is simple and anything that you need to install can be installed with it. You do not want a large number of untracked files cluttering your system. They will only lead to problems with future installations, upgrades and removals.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Never install anything without Pacman. The PKGBUILD system is simple and anything that you need to install can be installed with it. You do not want a large number of untracked files cluttering your system. They will only lead to problems with future installations, upgrades and removals.
Or if you must install something manually, make sure it installs to /usr/local/ since pacman doesn't touch anything under there (at least it shouldn't if PKGBUILD authors are packaging correctly!)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1