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?
About this post
- Posted
- Archived
- Score
- 1 · 57% up
- Kind
- Text
- ID
- ny66db
Base package is not in aur.. where do I find packages like so?
8 comments
For repo packages you can get the PKGBUILD from the Arch Build System, then run
makepkg --nobuildto download the source without building the package. See the Wiki.https://github.com/archlinux/svntogit-packages/tree/packages/base
not just the base.. is there a collection of all those packages for arch
All packages in the core repositories are in that Git repository. Every package has its own
packages/<package name>branch, for legacy SVN reasons.Will download the Arch building sources of a package. That's in most cases only a PKGBUILD.
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.
paru -Gwill get the pkgbuild for a repo package, which you can then inspect and see where it downloads the source from.Github, Gitlab, other git repositories. Try to googling : gcc source code (gcc for example). You can find any package sources code...