You are not logged in.

#1 2021-01-10 17:00:20

basqs
Member
Registered: 2021-01-10
Posts: 2

[SOLVED] /bin/pacman

So I know I'm dumb but i accidentally removed the pacman from /bin/pacman so when I try to use it it shows command not found: pacman. Can I fix this without another installation?

Last edited by basqs (2021-01-10 17:32:36)

Offline

#2 2021-01-10 17:02:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] /bin/pacman

If it was just that binary, extract it from the cached package you can find in /var/cache/pacman/pkg/. It should be in /usr/bin/, /bin is just a symlink.

Offline

#3 2021-01-10 17:30:08

basqs
Member
Registered: 2021-01-10
Posts: 2

Re: [SOLVED] /bin/pacman

Thank you it was just the binary!

Offline

Board footer

Powered by FluxBB