Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm always googling for the correct package-name and would really like to set up my system so that if I want to install Midnight Commander, for example I can just type

QUERYCOMMAND midnight commander

and it will perform the necessary search for me...if it isn't in the regular repositories, maybe provide a link to the newest AUR tarball? Does anyone have any ideas about how to do this?

share|improve this question
up vote 1 down vote accepted

Just use Yaourt. It automatically searches both the repositories and the AUR by default. It also allows you to install the AUR packages just as easily as normal packages.

To install a package you know the name of (either in AUR or repositories):

yaourt -S <package name>

To search (both name and description) for a package both in AUR and the repositories:


To search and interactively choose which packages to install:


The quickest way to install Yaourt would be to run the command:

bash <(curl -si package-query yaourt

This uses the AUR helper to download Yaourt and its dependencies.

Using pacman -Q <package name> actually just lists programs you already have installed. I don't know why that would be a relevant answer to the question.

share|improve this answer

pacman -Q <package name>

To search the AUR, you can use a tool like Yaourt to accomplish this.

Once installed, the command would be yaourt <package name>.

share|improve this answer
For installing from AUR you can look into the helper programs like pacmatic and yaourt, although the Arch way is preferable: – sbtkd85 Mar 8 '13 at 21:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .