How can I determine if a package can be installed with pamac
command line interface, or if I need to use a tool like yay
?
For example, I can install the AUR package tuxedo-control-center , using the command:
$ pamac install -Syu --no-confirm tuxedo-control-center
However, if I try installing the AUR package postman-bin , no target is found:
$ pamac install -Syu --no-confirm postman-bin
Error: target not found: postman-bin
Note, I have updated the mirrors beforehand:
$ sudo pacman-mirrors --fasttrack
NGr
31 March 2021 08:07
2
To install AUR packages with pamac you have to use build
rather than install
, e.g.:
pamac build vorta
I have never used yay
This will have installed the package from the official Manjaro repo (extra) not the AUR package.
In addition, to update installed AUR packages use:
pamac update -a
1 Like
Thanks, @NGr !
What is confusing then is why I can install the AUR package tuxedo-control-cente without using the build
option. The following command works just fine:
$ pamac install -Syu --no-confirm tuxedo-control-center
NGr
31 March 2021 08:16
5
tuxedo-control-center
is in the offical Manjaro repo, that is what you installed with that command, not the AUR package.
1 Like
Ah, that explains. Thanks again, @NGr !
All packages can be installed using command line.
But you have to know if it is AUR or official repo.
One way is to try and install using pacman
sudo pacman -Syu postman-bin
This will fail because it is a package script from AUR
pamac build postman-bin
If you want to know beforehand use the search function provided by pamac
pamac search --aur postman-bin
Then you will see it is listed as being a package script from AUR
3 Likes
Thanks a lot, @linux-aarhus !
Having corrected a small typo (missing dash):
pamac search --aur postman-bin
If you enabled AUR support in Pamac GUI preferences, pamac install postman-bin
will also work fine.
1 Like
That’s nice to know as well. Thanks, @guinux !
@Aragorn and @Yochanan
Hiya. I see that you’re removing “[solved]” from the title. I’ve created a new post on that topic. Please, chime in here:
When searching, via search engines, for solutions to issues, I personally find it very handy when the title is including a phrase like “solved”. That’s why I’m adding this to the topic after a solution is found. I can’t see any forum guidelines against this practice. However, based on earlier posts it looks like this practice is OK:
Is this behaviour still OK? The reason for me asking is that some forum members are removing “[solved]” from some of my titles. If it’s still OK to prepend “[so…
1 Like
system
Closed
16 April 2021 05:16
12
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.