this post was submitted on 20 Feb 2024
173 points (95.8% liked)

Linux

47988 readers
1199 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
 

Which one(s) and why?

you are viewing a single comment's thread
view the rest of the comments
[–] pineapplelover@lemm.ee 7 points 8 months ago (11 children)

I've only hopped from Ubuntu to Arch. I'm currently messing with debian in a vm.

Staying on Arch because I love pacman+paru

[–] Jean_Lurk_Picard@lemmy.world 2 points 8 months ago (10 children)
[–] lordnikon@lemmy.world 1 points 8 months ago (8 children)

I have to say I dont get the AUR I have been using Debian for the past 20 years and have tried Arch based out on my steam deck and in Distrobox on my sid gaming PC and I just don't get it.

I hear all these great things about the AUR but when I tried it. It didn't seem to be that much easier than building a Deb pkg or doing a make install from source. the way I hear people talk about it I figured it was just like installing from a source Repo on Debian.

please note I'm not saying anything bad about Arch I personally love the arch wiki it's great to even fix things in Debian. I just personally don't get it. maybe I'm not using it right or distobox does not give me the full experience. Any idea what I'm doing wrong?

[–] I_poop_from_there@lemmy.world 1 points 8 months ago (1 children)

For me, AURs main advantage is the huge library of software available. No mess resolving dependencies like when manually building from source and no issues with 3rd party repos breaking each others dependencies like in PPA

[–] lordnikon@lemmy.world 2 points 8 months ago (3 children)

yeah I get dependency resolution from apt build-dep in Debian but like what commands do you use to build a package with the AUR. From what I read it's

search the AUR website git clone tar xf pag.tar makepkg -csi packagename

am I missing something or is there an easier way that I am just not seeing?

i promise I'm not trolling I really want to learn.

[–] Turtle@aussie.zone 1 points 8 months ago (1 children)

Not sure why noone has pointed this out but if you use paru or yay instead of pacman, installing/searching the AUR is the same as if they are in the main repo. It does all the building etc for you.

[–] lordnikon@lemmy.world 1 points 8 months ago* (last edited 8 months ago) (1 children)

hmm okay thanks I will check those out maybe that is the missing piece.

so paru is the equivalent to apt-build install

but unlike Debian the Repo is outside the distribution.

i think I'm getting it thank you while I have no interest in leaving debian but this will be fun in distrobox.

[–] Turtle@aussie.zone 1 points 8 months ago

To be specific..

Install something from the main repo:

$ paru -S package

Install something from the AUR:

$ paru -S package

To search for a package, in the main repo or the AUR:

$ paru -Ss search-term

With the search results, it clearly labels if something is from the AUR or extras or the main repo, and you can make it show AUR results first or last in the config.

https://github.com/Morganamilo/paru

I don't actually use pacman directly at all, I use paru for everything and it's seamless.

[–] Jean_Lurk_Picard@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

For me the benefit of AUR isn't necessarily the ease of download. It's the fact that it's community based and anyone can build a package for any software. I always git clone and then makepkg. I hate using yay because I want to read the PKGBLD myself and check the hash. I've found some obscure software via AUR that I wouldn't be able to easily download on other distros. Further more the AUR website allows comments from the community which encourages bug fixes and/or a dialogue with specific package issues.

[–] I_poop_from_there@lemmy.world 1 points 8 months ago (1 children)

In Manjaro you just run this command, there's a GU package manager as well, but I've never used it. Pamac takes care of downloading / building any required dependencies and the AUR repo includes any required patches for the application run well on Arch / Manjaro.

pamac build

I haven't used Arch in years, but I believe it was something similar.

The whole system is pretty similar to, (but more refined than) FreeBSDs Ports tree.

[–] lordnikon@lemmy.world 1 points 8 months ago

but can you search the AUR from the CLI or or do you still need to git clone then pacmac build with the package buildID?

load more comments (6 replies)
load more comments (7 replies)
load more comments (7 replies)