Difference between revisions of "Yaourt (Српски)"

From ArchWiki
Jump to: navigation, search
(Created page with 'Category:Package management (English) Category:AUR (English) {{i18n|Yaourt}} Consider before asking for support: *'''''Yaourt is an unofficial, unsupported third-party s…')
 
(Easy Install)
Line 38: Line 38:
 
===Easy Install===
 
===Easy Install===
  
The easiest way to install Yaourt is to add the yaourt repository to your /etc/pacman.conf:
+
Najlakši način da installirate Yaourt je da dodate riznicu u Vaš /etc/pacman.conf:
  
For i686:
+
Za i686:
 
  [archlinuxfr]  
 
  [archlinuxfr]  
 
  Server = http://repo.archlinux.fr/i686
 
  Server = http://repo.archlinux.fr/i686
For x86-64:
+
Za x86-64:
 
  [archlinuxfr]
 
  [archlinuxfr]
 
  Server = http://repo.archlinux.fr/x86_64
 
  Server = http://repo.archlinux.fr/x86_64
  
Sync and install:
+
Sinhronizujte i installirajte:
 
  pacman -Sy yaourt
 
  pacman -Sy yaourt
  

Revision as of 20:58, 5 May 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Consider before asking for support:

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 thousands of 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.

Installation

First, install the "base-devel" package, so that you won't miss utilities like gcc or make later on.

pacman -S base-devel

From the AUR

Install Yaourt through the AUR.

First, install package it depends on:

 wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
 tar zxvf package-query.tar.gz
 cd package-query
 makepkg -si
 cd ..

Then install yaourt:

 wget http://aur.archlinux.org/packages/yaourt/yaourt.tar.gz
 tar zxvf yaourt.tar.gz
 cd yaourt
 makepkg -si
 cd ..

You're done!

See the yaourt man page for more.

Easy Install

Najlakši način da installirate Yaourt je da dodate riznicu u Vaš /etc/pacman.conf:

Za i686:

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

Za x86-64:

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

Sinhronizujte i installirajte:

pacman -Sy yaourt

Proxy Settings

If you access the Internet through HTTP Proxy, you may have to set environnement variable 'http_proxy' in your ~/.bashrc:

 export http_proxy='proxy.hostname.com:port'

For more info check curl's man page.

Using yaourt

Detecting previous builds for dev PKGBUILDs

Julien Mischkowitz's (maintainer of yaourt) directions on how to get yaourt to detect previous build attempts for dev packages (CVS, SVN, Bzr, etc.):

 This part is very old in yaourt and maybe needs to be updated :-)
 Actually, yaourt search for variable ${_bzrtrunk} and ${_bzrmod} to detect if the PKGBUILD is one for a git/svn/bzr/cvs version.
 So just replace "_bzr_branch='http://bzr.savannah.gnu.org/r/emacs/trunk'" by "_bzrtrunk='http://bzr.savannah.gnu.org/r/emacs/trunk'"

That is, be sure to have _${VCS}trunk and _${VCS}mod variables present in your PKGBUILD; i.e., _bzrtrunk and _bzrmod for Bzr packages, _hgtrunk and _hgmod for Mercurial packages, _gittrunk and _gitmod for Git, etc.