Some projects only give you .tar.gz, what am I supposed to do with them? Is this what people call building from source? Am I supposed to move it to /opt and extract it in Debian based distros? Does this also work on Arch based ones?

Kinetix
link
fedilink
16
edit-2
urte bat

That’s a gzipped tarball (a compress archive, like a zip), that’s all. It doesn’t determine anything about what’s contained inside of it.

On modern distributions a “tar xvf <filename.tar.gz>” should unpack it.

Check to see if one of the extracted files is a README or INSTALL file of some sort. If there’s just a binary there to run, then that might be all that was included.

Jack
link
fedilink
5
edit-2
urte bat

Yes, this is building from source. You extract it and build it with whatever instructions come with it; there should be documentation from the git page or possibly in the tar.

You choose where to put it, but most distros have general spots they put it. You can also use the AUR if you use Arch by using pikaur or yay

Kinetix
link
fedilink
10urte bat

It is not necessarily building from source. It’s a compressed tarball, that’s all.

明-3 NOMAD
creator
link
fedilink
4urte bat

Well, I meant when you download it from a project’s repo, which is pretty much always the code.

Kinetix
link
fedilink
5urte bat

Sure, if that’s where it’s from, that makes sense that’s what it would be.

If they don’t provide build instructions, you may be on your own.

明-3 NOMAD
creator
link
fedilink
2urte bat

What if it doesnt have any instructions?

What do you mean about using the AUR?

Jack
link
fedilink
0
edit-2
urte bat

Hmm, then it sort of depends on the project. And I mean the AUR might already have it compiled for you or in an easier form for Arch users. But if you are using Debian and your your question was “will this compile the same way on Arch and Debian” then the answer is simply yes!

What project are you trying to compile?

明-3 NOMAD
creator
link
fedilink
2urte bat

I am trying to install Foxit Reader and WineGUI for a friend on Manjaro, I found the latter on the AUR I think, so I should run yay install wine-gui-git?

And why do you want to install windows software on linux? Foxit Reader is a pdf viewer there are a lot of linux native applications https://wiki.archlinux.org/title/PDF,_PS_and_DjVu i use zathura. Don’t use wine …

明-3 NOMAD
creator
link
fedilink
3urte bat

Foxit Reader provides a tarball for Linux, I don’t want to install that with WineGUI, and what if I wanted to? I didn’t came here for someone to give me a lecture about libre software, I know how it works. It’s his first time into Linux, if he wants to install shitty fucking Foxit Reader I’ll do it, as long as he doesn’t switch back to shitdows. BTW he wants it because allows for PDF edition and also allows to insert images and text within the highlights.

Helix
link
fedilink
1
edit-2
urte bat

BTW he wants it because allows for PDF edition and also allows to insert images and text within the highlights.

I think Okular can insert images and text within highlights and LibreOffice Draw can edit PDFs.

Apart from that, it’s OK to want specific Windows software on Linux, they just asked why and misunderstood that you want the Linux version, not install it through WINE. If you had provided links to the software you want to install that would have been clearer.

@saitan@lemmy.161.social
link
fedilink
1
edit-2
urte bat

Sorry i didn’t realize you want both software. There is also an AUR Package for foxit https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=foxitreader and the package maintainer will update the package. Or you can

Ephera
link
fedilink
1urte bat

Well, if it’s a Foxit Reader tar.gz, that’s hardly going to be the source code. Just extract it into some directory and see if there’s a file in there to start it (probably called something like “foxit-reader”).

If that works, I would recommend moving the extracted folder to /opt and then making it available in the application menu. Some desktops, e.g. KDE Plasma, have a GUI to edit the applications. If you don’t have that, you’ll have to manually create a .desktop file: https://wiki.archlinux.org/title/Desktop_entries

Manjaro is an Archlinux based Linux Distro. So you can install an UNTRUSTED user package like wine-gui-git with an AUR helper like yay/paru/… like you mentioned.

But please install not software you don’t understand how to build. It can be dangerous code.

For the package wine-gui-git the building script is https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wine-gui-git . So you can look and learn how to build the software by yourself.

Jack
link
fedilink
1urte bat

You can do that, but like the other users said, you should be wary of obscure packages because the AUR can be used to spread malware. You can check what the script does to make sure.

And I’d be surprised if you need WineGUI for that, but maybe it’s specifically necessary for how they want to use it. You could also just install WINE and use it to run the program; it will open the program’s GUI.

@nogerine@lemmy.ml
link
fedilink
1
edit-2
urte bat

deleted by creator

@stopit@lemmy.ml
link
fedilink
1urte bat

tar -xz <filename>

Helix
link
fedilink
1
edit-2
urte bat

It’s a compressed archive just like .zip, .rar or .7z on Windows. Compressed archives can contain executables (like on Windows, you just run them) or code (like on Windows, you need to compile them) or other data.

Am I supposed to move it to /opt and extract it in Debian based distros?

If that’s where you like to put it, sure.

Does this also work on Arch based ones?

If they’re binary compatible and you installed all required dependencies in the correct version, probably yes.

@ksynwa@lemmy.ml
link
fedilink
1urte bat

It can either be precompiled executables or the source code. What you do depends on which one it is.

Halce
link
fedilink
0urte bat

It’s the source (code) of a package. To install it, you still need to create/download a distribution specific specs file (it’s called a PKGBUILD on Arch Linux for example).

This distribution specific specs file for an application (the PKGBUILD on Arch) is a text file describing where to find and download the source from (where on the internet this tar.gz is located). It also describes what the program’s dependencies (other programs it requires to run) are, (such as git to be able to download the sources, or gnutar to unpack them).

The package manager (pacman for Arch, apt for Debian) each can read and understand only a specs file written exclusively for that one package manager (distribution), read this specs file and installs the software.

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 4 users / day
  • 13 users / week
  • 70 users / month
  • 233 users / 6 months
  • 19 subscribers
  • 1.68K Posts
  • 5.35K Comments
  • Modlog