We are still actively working on the spam issue.

Difference between revisions of "Yaourt"

From InstallGentoo Wiki
Jump to: navigation, search
m
Line 1: Line 1:
AUR packages are, simply put, just install scripts which fetch the source code, compile and package, for installing with Pacman. Yaourt automates, but must be installed manually through this process.
+
''This article is for [[Arch]] users.''
 +
 
 +
'''yaourt''' is wrapper for pacman that allows easy installation of packages from the AUR.  AUR packages are, simply put, just install scripts which fetch the source code, compile and package, for installing with Pacman. Yaourt automates, but must be installed manually through this process.
  
 
First, make sure you have the '''base-devel''' group installed, plus the package '''yajl'''.
 
First, make sure you have the '''base-devel''' group installed, plus the package '''yajl'''.
Line 29: Line 31:
 
  # ...
 
  # ...
 
</code>
 
</code>
 +
 +
==The Easier Way==
 +
 +
Install Manjaro - it has yaourt pre-installed.
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 06:05, 5 February 2014

This article is for Arch users.

yaourt is wrapper for pacman that allows easy installation of packages from the AUR. AUR packages are, simply put, just install scripts which fetch the source code, compile and package, for installing with Pacman. Yaourt automates, but must be installed manually through this process.

First, make sure you have the base-devel group installed, plus the package yajl.

sudo pacman -S --needed base-devel yajl

Afterwards, get the PKGBUILD (the install script) for yaourt's dependency, package-query and run makepkg which more or less "executes" the script.

# Let's not bloat the current directory.
mkdir tmp
cd tmp
# This will download the PKGBUILD file.
curl -O https://aur.archlinux.org/packages/pa/package-query/PKGBUILD
# This will build the package according to the PKGBUILD. The -i option makes it get installed with Pacman.
makepkg -i
cd ..
rm -r /tmp

Now do the same for yaourt.

# ...
curl -O https://aur.archlinux.org/packages/ya/yaourt/PKGBUILD
makepkg -i
# ...

The Easier Way

Install Manjaro - it has yaourt pre-installed.