Pacman error


I am trying to use: pacman -s python for example but it returns

pacman -s python
error: invalid option '-s'

I have also tried the --search but that gave the same result.



It is an uppercase S for “Sync” operations

sudo pacman -S

If you want to search, you use pacman -Ss

BTW…you almost definitely have python installed already.

1 Like

Assuming that you want to install python, it should be pacman -S python. If you want to search for python then it’s pacman -Ss python.

I find this pacman/Rosetta a useful resource.

Edit: ninjaed by @dalto

Sorry guys my bad just back from break a little rusty. :slight_smile:


Happy frog

1 Like
man pacman

I bet that you can’t believe that you posted that!!?!

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