Hilfe durchsuchen

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to check for dependencies on Linux/BSD?

  • Keine Antworten
  • 1 hat dieses Problem
  • 4 Aufrufe
more options

Hi, so i found this excellent article https://support.mozilla.org/en-US/kb/install-firefox-linux and I unzipped/extracted the firefox-77.0.1.tar.bz2 file.

By the way, am glad to know I don't have to compile it. Tis a relief :)

So the article above says to check this list @ https://www.mozilla.org/en-US/firefox/77.0.1/system-requirements/#software-requirements for "required libraries". I am really good at the command line except for checking library dependencies. :/

Last link shows these 5:

  • Bulleted list item GTK+ 3.4 or higher
   * Bulleted list item    GLib 2.22 or higher
   * Bulleted list item    Pango 1.22 or higher
   * Bulleted list item    X.Org 1.0 or higher (1.7 or higher is recommended)
  • Bulleted list item libstdc++ 4.7 or higher

My fear is i'll have to search around a while for the exact package name since sometimes capitalization and dashes matter when using apt, aptitude, or synaptic.

Here's what I am trying so far. I started with libstdc++ since that's all lower case. ++++++++++++++++++++++++++++ $ apt list | grep libstdc++ | grep -v unstable ... ... (super long list of lots of different libstdc++) ... libstdc++6/stable 8.3.0-6 i386 ++++++++++++++++++++++++++++ So since that ends with version 8.3 and that's higher than the "4.7 or higher" in the official list above, then I'm good. (By the way, just a plain `apt list libstdc++` returned no results.)

And substituting the word 'pango' in the above command gives a similarly long list that looks good, i think. Same with 'gtk3', 'glib2', and 'xorg'.

Oh, i think i've answered my own question :) but maybe went the scenic route with my command since i did not know the exact package names.

Anybody have a faster way of checking for these? Pretty please? :)

P.S. By the way, I'm using Debian but in my experience it wouldn't matter if i was using Arch or even one of the BSD's right now. Yes, tools are slightly different like apt/dpkg, or ports but am mostly curious for what exact package names to search for to save me time. :)

Thanks, you all rock. Love the community here though,

Roger Brown

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.