You are not logged in.

#1 2024-09-26 23:56:10

soueric
Member
Registered: 2022-03-24
Posts: 5

Resolved - Retrieving dependencies when downloading an AUR Package

Hello all,
I hope everyone is having a great day.

I did try to search but been puzzled with this.
Say I am browsing AUR and find a package I would like to install (git clone and compile).
I have been stopped often with missing dependencies.

My question is do I have to get as well all dependencies packages or can I also download/build those as a batch?
Thanks and have a nice evening.
Eric

Last edited by soueric (2024-09-27 13:13:28)

Offline

#2 2024-09-27 01:45:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Resolved - Retrieving dependencies when downloading an AUR Package

If the dependencies are in the main repo, then using the -s flag for makepkg will install them for you.

But any dependencies from the AUR have to be handled separately and installed first.  This is one benefit of some AUR helpers that they manage AUR dependencies for you (to a degree).  But AUR packages with other AUR dependencies are certainly not the majority: most of the time `makepkg -si` will do what you need.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-09-27 01:58:47

soueric
Member
Registered: 2022-03-24
Posts: 5

Re: Resolved - Retrieving dependencies when downloading an AUR Package

Thank you Trilby for your answer!

Offline

#4 2024-09-27 07:01:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: Resolved - Retrieving dependencies when downloading an AUR Package

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2024-09-27 13:14:06

soueric
Member
Registered: 2022-03-24
Posts: 5

Re: Resolved - Retrieving dependencies when downloading an AUR Package

Thanks @seth, I did this now. Have a nice weekend all!

Offline

Board footer

Powered by FluxBB