this post was submitted on 24 Aug 2023
7 points (88.9% liked)

Arch Linux

7732 readers
5 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago* (last edited 1 year ago)

You don't, a tar.gz is an archive format like zip or 7z

Technically it's two formats a tarball - all files combined into one file, tar - and then compressed into a gzip.

To uncompress and release the files run:

tar -xzf filename.tar.gz

More info here: https://www.howtogeek.com/362203/what-is-a-tar.gz-file-and-how-do-i-open-it/

[–] [email protected] 9 points 1 year ago (1 children)

posdibly off topic, but don't confuse them with .pkg.tar.zst, which are actually arch packages that can be installed with pacman -U .pkg.tar.zst . You'll most likely know them from installing manually from the AUR.

[–] [email protected] 1 points 1 year ago

Hey Luna, thanks for the heads up! I will keep it in mind when I see such packages.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

Its probably not a binary inside that archive... So you might need to extract and compile... But did you make sure a package was not available from AUR?

[–] [email protected] 1 points 1 year ago

The AUR was bugged for me, So I went to their original site and downloaded it. What I ended up doing was to extract the folder to /opt and manually create the alias and .desktop file.

[–] [email protected] 6 points 1 year ago

That's a archive. If it was advertised as something to install, then there might be something inside which can be installed, but there are different scenarios. It might be the source of a program, bundled with scripts to configure, compile and install it. It might be the compiled program with our without scripts to copy all the individual files to the right dirs. Maybe it contains just a script which fetches all the files online and installs them. It might contain a virtual enviroment and the program, it might contain another archive...