this post was submitted on 10 Dec 2024
84 points (96.7% liked)
Linux
48624 readers
1671 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
- 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
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Arch really does have the most straightforward packaging system. Can you write a Bash script? Cool. You can package your application for Arch very easily.
Yeah, while lots of people have plenty of other reasons for using Arch. The packaging system is my personal favorite. I have made packages for deb and rpm based systems before, but Arch is just so dead simple with little scripts preinstalled to make it even easier.
Absolutely agree, the whole
apt-get upgrade
(or however, I always messed it up!) was annoying to me, and I switched to an arch distro (Endeavour) and I'm super happy with it. It's my only machine and it is awesomeYou don't need to type apt-get, you can just do
apt upgrade
.Can AUR be used by other distros like Debian or fedora?
Technically yes, but practically no. For the same reasons that manjaro might struggle with the aur even though it is technically arch based.
Unfortunately, no, but you can get kind of close for Debian distros with LURE.
EDIT: Apparently LURE is supposed to be distro-agnostic, so it'd probably work for EL too.
Don't the file structure guidelines differ across distros?
Yeah. I haven't looked at the code that closely, but it looks like they account for various differences between distros.
Unfortunately, from my testing back when I used Arch, a lot of packages in the AUR didn't meet packaging guidelines, so while quickly writing a PKGBUILD is easy, writing it correctly requires a bit more effort, especially regarding the dependencies. IIRC
namcap
is often enough, but ideally packages should be built in clean chroots as well to make sure they build everywhere