Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: The code or CLI to retrieve list of repos (Read 318 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

The code or CLI to retrieve list of repos

How/what is  the code or CLI to retrieve this list / repos e.g:

system
lib32
omniverse
world
galaxy
extra


(or the more complete one alike)

Re: The code or CLI to retrieve list of repos

Reply #1
Code: [Select]
pacman -Sl <repo>
ARMtix

Re: The code or CLI to retrieve list of repos

Reply #2
I think the only way to get that list is parsing of pacman.conf, something like that:

Code: [Select]
grep -v "^#\|options" /etc/pacman.conf | grep -F "["

[system]
[world]
[galaxy]
[lib32]