You are not logged in.

#1 2023-10-08 07:27:55

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

List of optional dependencies not installed

Dear fellow forum members.

Someone must have already asked.
But I want a list of which optional dependencies I haven't installed and what they are good for.

Expected result:

Név                     : vlc
Leírás                  : Multi-platform MPEG, VCD/DVD, and DivX player
Opcionális függőségek   :
libva-intel-driver: video backend intel
lua-socket: http interface
live-media: streaming over RTSP


It would be good to query a program and the entire system.

I've been trying to get chatgpt to work for half a day now, but it doesn't want to do it in either awk or python.

Thanks

Offline

#2 2023-10-08 08:29:30

dogknowsnx
Member
Registered: 2021-04-12
Posts: 652

Re: List of optional dependencies not installed

pacman -Qi <pkg>
pacman -Qi

If you've got 'pacman-contrib':

man pactree

Don't know (what you mean) about scatgpt


RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#3 2023-10-10 07:30:50

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: List of optional dependencies not installed

Just for the fun of it. I'll stick my head out and point out that something like

pacman -Qi engrampa | tr "\n" "!" | sed "s/! / /g" | tr "!" "\n" | grep "Optional Deps" | sed "s/Optional Deps//g" | sed 's/ : //g' | sed 's/  /!/g' | tr "!" "\n" | awk 'NF' | grep -v installed

should produce something like

caja: Caja support
unace: ACE archive support

and you should be able to do something like that for each of the outputs in pacman -Qe
It's butt ugly though, so it bound to be better done some other way smile

Offline

Board footer

Powered by FluxBB