Difference between revisions of "Yaourt"

From ArchWiki
Jump to: navigation, search
m
Line 11: Line 11:
 
'''Y'''et '''A'''n'''O'''ther '''U'''ser '''R'''epository '''T'''ool. Yaourt is a community-contributed wrapper for pacman which adds seamless access to the [[AUR]], allowing and automating package compilation and installation from your choice of the 11,000+ PKGBUILDs in the [[AUR]], in addition to the many thousands of available Arch binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance, but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more. You will almost certainly want this.   
 
'''Y'''et '''A'''n'''O'''ther '''U'''ser '''R'''epository '''T'''ool. Yaourt is a community-contributed wrapper for pacman which adds seamless access to the [[AUR]], allowing and automating package compilation and installation from your choice of the 11,000+ PKGBUILDs in the [[AUR]], in addition to the many thousands of available Arch binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance, but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more. You will almost certainly want this.   
  
===PKGBUILD Install===
+
=Install=
 +
 
 +
==PKGBUILD Install==
  
 
The traditional way to install Yaourt is through the actual AUR. In learning how to install yaourt this way, you will have the opportunity to learn how the AUR (and PKGBUILD)works.
 
The traditional way to install Yaourt is through the actual AUR. In learning how to install yaourt this way, you will have the opportunity to learn how the AUR (and PKGBUILD)works.
Line 46: Line 48:
 
See the  [http://archlinux.fr/yaourt-en# yaourt] man page for more.
 
See the  [http://archlinux.fr/yaourt-en# yaourt] man page for more.
  
===Easy Install===
+
==Easy Install==
  
 
The easiest way to install Yaourt is to add the yaourt repository to your /etc/pacman.conf:
 
The easiest way to install Yaourt is to add the yaourt repository to your /etc/pacman.conf:
Line 67: Line 69:
 
Save and then source:
 
Save and then source:
 
  source ~/.bashrc
 
  source ~/.bashrc
 +
 +
=Using yaourt=
 +
* [http://www.archlinux.fr/yaourt-en/ yaourt page]

Revision as of 18:40, 13 February 2009

Template:I18n links start

Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry

Template:I18n links end

Yet AnOther User Repository Tool. Yaourt is a community-contributed wrapper for pacman which adds seamless access to the AUR, allowing and automating package compilation and installation from your choice of the 11,000+ PKGBUILDs in the AUR, in addition to the many thousands of available Arch binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance, but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more. You will almost certainly want this.

Install

PKGBUILD Install

The traditional way to install Yaourt is through the actual AUR. In learning how to install yaourt this way, you will have the opportunity to learn how the AUR (and PKGBUILD)works.

Open a web browser and head to the yaourt AUR page

Under package details download the tarball

Unpack the tarball

tar zxvf yaourt.tar.gz

Navigate into the new directory

cd yaourt

At this point; Make sure that you check the contents of the PKGBUILD and the yaourt.install files! This cannot be stressed enough, don't worry, they aren't too complicated. Just take a look, if you see anything suspicious, get on irc or the forum and ask about it.

more yaourt.install
more PKGBUILD

If everything looks good. We are ready to build the packages.

makepkg PKGBUILD

After this process is complete, you will see several new files and directories. You should be interested in the file that ends with *.pkg.tar.gz (in this case mine is named; yaourt-0.9.2-i686.pkg.tar.gz)

Now it's time to use pacman to install yaourt. Be sure to change the package name to the actual name of your package, don't just copy and paste this line

pacman -U yaourt-0.9.2-i686.pkg.tar.gz

Congratulations! You're done! Remember, this is the SAME process for almost all AUR PKGBUILDs.

See the yaourt man page for more.

Easy Install

The easiest way to install Yaourt is to add the yaourt repository to your /etc/pacman.conf:

For i686:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

For x86-64:

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

Sync and install:

pacman -Sy yaourt

If you wish, you may then create your own command aliases in ~/.bashrc to save typing:

nano ~/.bashrc

alias p='pacman'
alias y='yaourt' 

Save and then source:

source ~/.bashrc

Using yaourt