You are not logged in.

#1 2022-11-06 19:42:59

D0wnFvll
Member
Registered: 2022-11-06
Posts: 2

[SOLVED] Install all dependencies of a package with pacman

I want to install pandoc package using pacman, but it installs only pandoc without any dependency, so I got many times an error like this:

pandoc: error while loading shared libraries: libHSx509-system-1.6.7-
<...>-ghc9.0.2.so: cannot open shared object file: No such file or
directory

The way I see is parsing the result from...

# pacman -Qi pandoc

and install all deps, but I think there's a better way. Can anybody help?

Last edited by D0wnFvll (2022-11-06 20:12:45)

Offline

#2 2022-11-06 19:49:38

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

Re: [SOLVED] Install all dependencies of a package with pacman

pacman -Syu

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-11-06 19:51:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [SOLVED] Install all dependencies of a package with pacman

When you install a package with pacman (on a non-broken system), all the dependencies will be installed.  That's what a package manager does.  That's the point.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2022-11-06 20:09:15

D0wnFvll
Member
Registered: 2022-11-06
Posts: 2

Re: [SOLVED] Install all dependencies of a package with pacman

jasonwryan wrote:
pacman -Syu

This works, thanks!

Last edited by D0wnFvll (2022-11-06 20:09:29)

Offline

Board footer

Powered by FluxBB