this post was submitted on 09 Apr 2024
299 points (98.7% liked)

Linux

53635 readers
1259 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

I thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I'll try my best to answer any questions here, but I hope others in the community will contribute too!

you are viewing a single comment's thread
view the rest of the comments
[–] Linkerbaan@lemmy.world 5 points 1 year ago (5 children)

How do people not using Debian/Ubuntu follow along with tutorials when their package manager doesn't have a package that's in Apt?

[–] d3Xt3r@lemmy.nz 6 points 1 year ago* (last edited 1 year ago) (1 children)

As an Arch user (btw), that's rarely an issue thanks to the AUR and it's vast package pool :) But on the very rare occasion that it's not there on the AUR but available as a deb, I can use a tool called Debtap to convert the .deb to the Arch's .tar.zst package.

For rpm-based distros like Fedora and OpenSUSE etc, there's a similar tool called alien that can convert the .deb to .rpm.

In both instances though, dependencies can be a pain, sometimes you may need to trawl thru the dependencies and convert/install them, before to do the main package.

Ideally though, you'd just compile from source. It used to be a daunting task in the old days, but with modern CPUs and build systems like meson, it's not really a big deal these days. You'd just follow the build instructions on the package's git repo, and usually it's just a simple copy-paste job.

Finally, if these packages are just regular apps (and not system-level packages like themes etc), then there are multiple options these days such as using containers like Distrobox, or installing a Flatpak/Appimage version of that app, if available.

[–] Linkerbaan@lemmy.world 1 points 1 year ago (1 children)

Thanks for the explanation btw. Ive tried other distros but quickly ran into missing dependencies and drivers and instantly gave up on it and just went back to Ubuntu.

[–] AnUnusualRelic@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Running OpenSuSE Tumbleweed, I can't say that's ever been a real issue. I ran Ubuntu a long time (10 years, at least) ago, but too much stuff was broken and version updates were a chore. Maybe it's gotten better since.

[–] baseless_discourse@mander.xyz 4 points 1 year ago* (last edited 1 year ago)

I typically search the package name + fedora, it will probably tell me the alternative package that is in fedora.

Nowadays, I have moved to an atomic fedora distro, so I would severely limit the amount of package I install on my system for stability and security.

I think I only have two packages installed on my machine: fish, because it is the only popular shell that follows xdg dir; and a latex-like input method to use in slack.

[–] bloodfart@lemmy.ml 2 points 1 year ago

Back in my slackware days I’d just convert other distros packages to the tgz format or compile the package and its requirements.

If the dependencies were really complex I’d draw a picture to help me understand them better.

[–] nyan@sh.itjust.works 1 points 1 year ago

My first step is usually to figure out whether the package should exist as a separate entity under Gentoo (which, for instance, doesn't have separate dev packages). Then I check the overlay masterlist to see if there's an unofficial package (which there often is).

If there is no package, I can package it myself (since I've been working with the same distro for years and can handle the basic packaging cases), install from source, get the .deb and apply alien or deb2targz and proceed from there, or give the whole thing up as a bad job.

[–] jadedwench@lemmy.world 1 points 1 year ago

I usually look at their GitHub or what have you to see if there are packages or instructions there. I have been able to solve most issues this way. Otherwise I see how much of a bitch it will be to compile from source. Depending what it is, I also check to see if there is a docker image instead.