this post was submitted on 04 Feb 2025
115 points (96.7% liked)

Linux

49733 readers
824 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’m planning to install Arch Linux for the first time. Any recommendations on setup, must-have applications, or best practices? Also, what’s something you wish you knew before switching to Arch?

you are viewing a single comment's thread
view the rest of the comments
[–] LeFantome@programming.dev 1 points 2 days ago (1 children)

Ya. Ok. But pacman does not let you use the AUR. Using the AUR is one did the primary reasons to choose Arch.

So, if you want to use the AUR, you need to use something like yay or paru. And, if you do, you no longer need to use pacman.

To be clear to the newbies, pacman -Syu updates your entire system ( except packages from the AUR ). yay -Syu updates your entire system, including packages from the AUR.

If you just ran yay -Syu, running pacman -Syu will report that there is “nothing to do” since your system will already be up to date.

The same is true if you sub paru for yay above.

[–] 9tr6gyp3@lemmy.world 2 points 2 days ago (1 children)

You definitely do not need to use any pacman wrappers to build a package from the AUR. Those tools make it easy, yes, but are not required.

Building a package can be as simple as

  • git clone AURpackagehere
  • cd AURpackagehere
  • makepkg -si
[–] LeFantome@programming.dev 1 points 17 hours ago (1 children)

Um. Ya, I guess. Ok.

First, how do you keep that package up to date?

Real question though is, do you really think that is better than “yay -S AURpackagehere” or even “paru AURpackagehere”?

[–] 9tr6gyp3@lemmy.world 1 points 16 hours ago (1 children)

To update the package, you use git to pull the latest branch code and repeat the process. You should double check if there are dependency changes though.

Like I said, its easier with a pacman wrapper, but not necessary.

[–] LeFantome@programming.dev 1 points 14 hours ago (1 children)

Yes. Thank you. My question (or point) was how you know that the package needs to be updated? As you point out, I need to do that for dependencies as well.

You are certainly correct though. You can pull AUR packages and build them without yay or paru.

[–] 9tr6gyp3@lemmy.world 1 points 13 hours ago* (last edited 13 hours ago)

Per the Arch Wiki:

The AUR is unsupported, so any packages you install are your responsibility to update, not pacman's. If packages in the official repositories are updated, you will need to rebuild any AUR packages that depend on those libraries.

Arch Wiki - Arch User Repository