Pacman commands not working

I wanted to install a software through pacman but when I run the command it shows me the following error:
image
How can I fix my pacman? is it broken or what?

pacman commands are different from apt and dnf commands.
Read this for more details:
https://wiki.archlinux.org/title/Pacman/Rosetta

2 Likes

use simply

yay xclip (without sudo)

and you will be able to install the package

tip: use pacseek

man pacman
2 Likes

Yep, already did that… Haven’t installed packages for a while so forgot how pacman worked :sweat_smile:

1 Like

sudo pacman -S “package name”

or

yay “package name”

Both work. I get confused sometimes myself.

staring blankly into the screen on my prime partners Fedora laptop using yay

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.