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,517
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

#5 2024-04-07 13:23:44

FBDev
Member
Registered: 2024-04-01
Posts: 1

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

sudo pacman -Syu pkgname

Offline

#6 2024-04-07 13:32:15

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

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


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

Board footer

Powered by FluxBB