You are not logged in.

#1 2016-06-23 08:18:55

MarthaParkin
Member
Registered: 2016-03-19
Posts: 232

How do I check what this program is a dependency for?

I went to my internet menu in X desktop today and noticed avahi SSH server browser and avahi VNC server browser. I didn't install either of these directly so I am assuming they were installed as a dependency for something though I have no idea what.

So how to check what it got bundled in with?

Offline

#2 2016-06-23 08:22:19

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: How do I check what this program is a dependency for?

'pacman -Qo' tells you which package owns the file. 'pacman -Qi' tells you what depends on that package. See 'man pacman' for more details.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-06-23 08:23:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How do I check what this program is a dependency for?

You could read pacman's log and see when they were installed and what pulled them in.

Or you could query pacman directly to print the RequiredBy details.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-06-23 08:24:39

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: How do I check what this program is a dependency for?

pactree -r <package>
man pactree

Last edited by Slithery (2016-06-23 08:25:29)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB