Skip to content

Where do I find source code for all packages that are not in aur?

Base package is not in aur.. where do I find packages like so?

1 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 57% up
Kind
Text
ID
ny66db

Author

37
posts
83
comments
14
media
View profile

8 comments

For repo packages you can get the PKGBUILD from the Arch Build System, then run makepkg --nobuild to download the source without building the package. See the Wiki.

6 points
asp checkout <pkgname>

Will download the Arch building sources of a package. That's in most cases only a PKGBUILD.

3 points

Look on archlinux.org. There you can search for specific packages. Each package has then a Upstream URL (mostly the website of the software) and a Source Files link. This lets you browse the files needed for building the package and you can inspect the PKGBUILD to see where the source code comes from and how the package is actually built.

PS: I'm not sure if you are looking for the sources for building packages or the actual source code of the software, but with the hints from above you are able to find both.

2 points

paru -G will get the pkgbuild for a repo package, which you can then inspect and see where it downloads the source from.

1 points

Github, Gitlab, other git repositories. Try to googling : gcc source code (gcc for example). You can find any package sources code...

0 points

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.