I PM 'd Dason today and asked him about installing yaourt becasue I was having trouble with it. I also asked him about how to boot the DE at startup. Anyway, I figured for those reading this, adnd those also interested in trying arch that this info. would be more useful in the thread so here it is:
ME: Hi Dason
I was hoping you could help me with another arch issue?
I am trying to install yaourt and I run the following:
sudo pacman -S package-query
sudo pacman -S yaourt
both come back with "error: target not found: package-query..."
any pointers?
Is this to do with mirrors?
Dason:
Hi,
Not quite. package-query is stored on AUR and you can't just download from AUR using pacman. Downloading from the AUR requires you either follow the steps here:
https://wiki.archlinux.org/index.php...lling_packages
... or use a aur-helper (like yaourt). It's not a bad idea to install at least one package from the AUR using the steps listed in that link just so you're familiar with what is going on behind the scenes though.
But to be honest I just installed yaourt using their repository. The steps to do that are listed in the wiki page for yaourt:
https://wiki.archlinux.org/index.php/Yaourt
It's pretty simple to get yaourt installed and then after that it's pretty simple to build from the AUR. Let me know if you have other questions - and don't be afraid to post this kind of stuff in the thread either.
No problem. It's pretty simple. I don't know what your preferred text editor is but I'll assume you're ok using nano - if not then just replace nano with whatever text editor you prefer (I typically use vim for command line editing).
I'm also assuming you have sudo installed? If not the following will need to be modified slightly (you just need root power to modify the file of interest)
Run
Code:
sudo nano /etc/pacman.conf
then we want to add the following to the end of the file:
Code:
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
When you added the text (if you're using nano) do Ctrl-o (to save the file) and then Ctrl-x to quit.
After that you should be able to update:
sudo pacman -Syy
then you can install yaourt
sudo pacman -S yaourt
Once yaourt is installed you can install directly from the AUR using yaourt and since package-query is something you want from the AUR apparently you could use yaourt to install it. When running yaourt you typically don't use sudo to gain root privileges.
yaourt -S package-query
It will probably ask you if you want to edit the PKGBUILD. It's not a bad idea to take a look at the PKGBUILD to get an idea of what it is going to do to your system but you won't typically need to change anything in there.