You are not logged in.

#1 Yesterday 09:43:56

freebench
Member
Registered: 2020-06-14
Posts: 52

[SOLVED] Check if package satisfy dependencies

Hi

Is it possible to check whether the package satisfy the dependencies without building/syncing/installing etc
things like that
depends=("electron${_electronVersion}" "nodejs>20" "libvips")

Last edited by freebench (Yesterday 09:58:44)

Offline

#2 Yesterday 09:54:12

5hridhyan
Member
From: Asia
Registered: 2025-12-25
Posts: 760

Re: [SOLVED] Check if package satisfy dependencies

you can use pacman -T (which stands for --deptest), it checks dependencies against your locally installed packages without syncing or installing anything,
if all dependencies are satisfied, it returns ntg & exits with a 0 status. If any are missing or unsatisfied, it prints them out...

Last edited by 5hridhyan (Yesterday 09:56:35)


"Nothing matters" -a Nihilist
"Why bother thinking what matters?" -me

Offline

#3 Yesterday 09:58:20

freebench
Member
Registered: 2020-06-14
Posts: 52

Re: [SOLVED] Check if package satisfy dependencies

Yep, it is.
Many thanks

Offline

Board footer

Powered by FluxBB