Skip to content

u/frutiger

In this archive from Oct 2010 to Jan 2021

1
posts
34
comments
0
media
264
score

Top posts

Top comments

The packaging system in arch works like this:

  • someone (or you) writes a PKGBUILD script. This usually has instructions like, get the source code from here, run this compile command, run that install command, etc.
  • you run makepkg, which executes all those commands in a subdirectory (so it doesn't affect your current system) and produces an actual package
  • you can then run pacman -U <package>, and pacman will install and track this package for you

After you make a package, you can also host your own package repository, and anyone that can access the repo can grab the pre-built package straight from that repository, usually using pacman -S <package>.

Some PKGBUILDs have been vetted and are hosted by the official Arch project (and it's mirrors). These are usually very important, or widely used, packages, e.g. gcc, linux, chromium, etc.

The AUR (or Arch User's Repository) is a large collection of PKGBUILD scripts. They don't normally get pre-built - you have to grab the script and run the makepkg and pacman commands yourself.

Additionally, there are some AUR helpes, which can automate the process of doing this for an AUR package (and for all its dependencies).

17 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.