Yaourt (Italiano)

From ArchWiki
Revision as of 10:15, 28 July 2008 by Berseker (Talk | contribs) (New page: {{translateme}} {{i18n_links_start}} {{i18n_entry|English|Yaourt}} {{i18n_entry|Italiano|Yaourt_(Italiano)}} {{i18n_entry|简体中文|Yaourt(简体中文)}} {{i18n_links_end}} '''Y''...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Yaourt (Italiano)#)
Template:I18n links start

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 8000+ 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

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 compilcated. 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:

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

for i686 or:

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

for 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