You are not logged in.
I was looking for the equivalent for apt-cache show and from https://wiki.archlinux.org/index.php/Pacman_Rosetta, it found the command
pacman -[S|Q]i
However, when I try to use it I get the error invalid option -- '['
Last edited by Huugin (2015-05-25 00:17:08)
Offline
I was looking for the equivalent for
apt-cache show
and from https://wiki.archlinux.org/index.php/Pacman_Rosetta, it found the command
pacman -[S|Q]i
However, when I try to use it I get the error
invalid option -- '['
Hello, Huugin. It seems that they're meaning for you to choose between -Si and -Qi. -[S|Q]i will not work.
Offline
But the -Qi argument only works for installed packages.
Offline
But the -Qi argument only works for installed packages.
Correct. However, -Si will show details of any package in the binary repositories.
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
But the -Qi argument only works for installed packages.
I've checked what the command does, and you're right. If you need info of a non-installed package, use
pacman -Si
If you need the info of an installed package, use
pacman -Qi
Edit: WorMzy beat me to it. cx
Last edited by SnowyClaw (2015-05-25 00:10:57)
Offline
'[foo]'' means optional argument, ,'<foo>' means mandatory argument. It's a similar to https://en.wikipedia.org/wiki/Backus–Naur_Form
Offline