Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

equery g "package" not definitive

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

equery g "package" not definitive

  • Quote

Post by ritzmax72 » Thu Nov 07, 2024 5:03 am

The command

Code: Select all

 equery g ffmpeg 
would show dependencies of ffmpeg but I was expecting it to output
only those dependencies which are installed, like how

Code: Select all

 ldd 
does. What other command would show only
currently installed dependencies? Right now, I would do ldd, and reverse search the package but that is bit overkill.
Top
bstaletic
Guru
Guru
Posts: 517
Joined: Sat Apr 05, 2014 5:46 pm

  • Quote

Post by bstaletic » Thu Nov 07, 2024 6:26 am

There's qdepends.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3530
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Thu Nov 07, 2024 7:26 am

Equery never reported on those in any of the queries it supports. You need to check further.

Unfortunately qdepends outputs everything on one line which is inconvenient, but I think it takes into account what's installed and what not.

Best Regards,
Georgi
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Nov 08, 2024 12:48 am

qdepend's `-v` option produces multi-line output, although by default it will show RDEPENDs and BDEPENDs as well, so the `-d` option can be used to limit output to just DEPENDs:

Code: Select all

$ qdepends -vd ffmpeg
media-video/ffmpeg-4.4.5-r1:
DEPEND="
    >=media-libs/alsa-lib-1.0.27.2[abi_x86_64(+)]
    >=app-arch/bzip2-1.0.6-r4[abi_x86_64(+)]
    >=media-libs/dav1d-0.4.0:0/7=[abi_x86_64(+)]
    >=media-sound/lame-3.99.5-r1[abi_x86_64(+)]
    >=media-libs/openh264-1.4.0-r1:0/7=[abi_x86_64(+)]
    >=media-libs/libogg-1.3.0[abi_x86_64(+)]
    >=media-libs/libtheora-1.1.1[encode,abi_x86_64(+)]
    >=media-libs/libwebp-0.3.0:0/7=[abi_x86_64(+)]
    >=media-libs/x264-0.0.20130506:0/164=[abi_x86_64(+)]
    >=media-libs/xvid-1.3.2-r1[abi_x86_64(+)]
    >=media-libs/fontconfig-2.10.92[abi_x86_64(+)]
    >=virtual/libiconv-0-r1[abi_x86_64(+)]
    dev-libs/libxml2:2/2=[abi_x86_64(+)]
    >=media-libs/opus-1.0.2-r2[abi_x86_64(+)]
    >=media-sound/pulseaudio-2.1-r1[abi_x86_64(+)]
    gnome-base/librsvg:2/2=[abi_x86_64(+)]
    x11-libs/cairo[abi_x86_64(+)]
    >=media-libs/freetype-2.5.0.1:2[abi_x86_64(+)]
    >=media-libs/libva-1.2.1-r1:0/2=[abi_x86_64(+)]
    >=x11-libs/libvdpau-0.7[abi_x86_64(+)]
    >=media-libs/libvorbis-1.3.3-r1[abi_x86_64(+)]
    >=media-libs/libogg-1.3.0[abi_x86_64(+)]
    >=media-libs/libvpx-1.4.0:0/9=[abi_x86_64(+)]
    >=media-libs/vulkan-loader-1.1.97:0/0=[abi_x86_64(+)]
    >=x11-libs/libX11-1.6.2[abi_x86_64(+)]
    >=x11-libs/libXext-1.3.2[abi_x86_64(+)]
    >=x11-libs/libXv-1.0.10[abi_x86_64(+)]
    >=x11-libs/libxcb-1.4:0/1.12=[abi_x86_64(+)]
    >=sys-libs/zlib-1.2.8-r1[abi_x86_64(+)]
    >=net-libs/gnutls-2.12.23-r6:0/30.30=[abi_x86_64(+)]
"
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic