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

From ArchWiki
Jump to: navigation, search
(Proxy Postavke)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Package management (English)]]
+
[[Category:Package management (Српски)]]
[[Category:AUR (English)]]
+
[[Category:AUR (Српски)]]
{{i18n|Yaourt}}
+
[[ar:Yaourt]]
 +
[[cs:Yaourt]]
 +
[[de:Yaourt]]
 +
[[en:Yaourt]]
 +
[[es:Yaourt]]
 +
[[fa:Yaourt]]
 +
[[fr:Yaourt]]
 +
[[it:Yaourt]]
 +
[[lt:Yaourt]]
 +
[[pl:Yaourt]]
 +
[[ru:Yaourt]]
 +
[[tr:Yaourt]]
 +
[[zh-CN:Yaourt]]
 +
[[zh-TW:Yaourt]]
 +
Razmislite pre nego zatražite podršku:
 +
*'''''Yaourt je nezvanična, nepodržana third-party skripta.'''''
 +
*Prijavite greške na [http://bugs.archlinux.fr archlinux.fr bugtracker]
  
Consider before asking for support:
+
'''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 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.
*'''''Yaourt is an unofficial, unsupported third-party script.'''''
+
*Please report bugs at [http://bugs.archlinux.fr archlinux.fr bugtracker]
+
  
'''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 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. 
+
==Instalacija==
  
==Installacija==
+
Prvo installirajte "base-devel" pakete, da Vam ne zafale međuzavisnosti kao gcc,make ili drugi develop paketi.
 +
# pacman -S base-devel
  
Prvo installirajte "base-devel" pakete, da Vam ne zafale međuzavisnosti kao gcc,make ili drugi develop paketi.
+
Zatim pratite dalje uputstvo na http://archlinux.fr/yaourt-en#get_it
pacman -S base-devel
+
  
===Installacija iz AUR===
+
==Proxy Postavke==
  
Installacija Yaourt kroz [[AUR]].
+
Ako pristupate na internet preko HTTP Proxy-a, trebali bi da postavite varijabilu 'http_proxy' i 'https_proxy'  u Vaš ~/.bashrc
 +
export http_proxy='http://proxy.hostname.com:port'
 +
export https_proxy='https://proxy.hostname.com:port'
  
Prvo installirajte međuzavisnosti:
+
Za više informacija pogledajte curl's man stranicu.  
  wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
+
  tar zxvf package-query.tar.gz
+
  cd package-query
+
  makepkg -si
+
  cd ..
+
  
Zatim installirajte yaourt:
+
'sudo' ne držati varijable okruženja kao što su 'http_proxy', pa ako ga koristite, morate dodati:
  wget http://aur.archlinux.org/packages/yaourt/yaourt.tar.gz
+
Defaults env_keep += "http_proxy"
  tar zxvf yaourt.tar.gz
+
Defaults env_keep += "https_proxy"
  cd yaourt
+
u /etc/sudoers ''(Note: Nemojte da dodajte direktno, bolje koristite visudo)''
  makepkg -si
+
  cd ..
+
  
Završili ste!
+
==Korišćenje yaourt==
 
+
Pogledajte na  [http://archlinux.fr/yaourt-en# yaourt]za više informacija.
+
 
+
===Installacija na lak način===
+
 
+
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 Postavke==
+
 
+
Ako pristupate na internet preko HTTP Proxy-a, trebali bi da postavite varijabilu 'http_proxy' u Vaš ~/.bashrc:
+
  export http_proxy='proxy.hostname.com:port'
+
 
+
Za više informacija pogledajte curl's man stranicu.
+
 
+
==Korištenje yaourt==
+
 
* [http://www.archlinux.fr/yaourt-en/ yaourt page]
 
* [http://www.archlinux.fr/yaourt-en/ yaourt page]
  
==Detecting previous builds for dev PKGBUILDs==
+
==Otkrivanje prethodnih builds za 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.):
+
Julien Mischkowitz's (održavalac yaourta) 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 :-)
 
   This part is very old in yaourt and maybe needs to be updated :-)
Line 68: Line 52:
  
 
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.
 
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.
 +
 +
==Yaourt traži lozinku dva puta==
 +
Ako onemogućite timeout sudo lozinka dodavanjem:
 +
Defaults timestamp_timeout=0
 +
u /etc/sudoers, onda yaourt će vas pitati za lozinku dva puta svaki put kada pokušate izvesti operaciju koja zahteva root. Da biste to sprečili, dodajte:
 +
SUDONOVERIF=1
 +
u /etc/yaourtrc ili u $HOME/.yaourtrc

Revision as of 20:01, 5 June 2013

Razmislite pre nego zatražite podršku:

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.

Instalacija

Prvo installirajte "base-devel" pakete, da Vam ne zafale međuzavisnosti kao gcc,make ili drugi develop paketi.

# pacman -S base-devel

Zatim pratite dalje uputstvo na http://archlinux.fr/yaourt-en#get_it

Proxy Postavke

Ako pristupate na internet preko HTTP Proxy-a, trebali bi da postavite varijabilu 'http_proxy' i 'https_proxy' u Vaš ~/.bashrc

export http_proxy='http://proxy.hostname.com:port'
export https_proxy='https://proxy.hostname.com:port'

Za više informacija pogledajte curl's man stranicu.

'sudo' ne držati varijable okruženja kao što su 'http_proxy', pa ako ga koristite, morate dodati:

Defaults env_keep += "http_proxy"
Defaults env_keep += "https_proxy"

u /etc/sudoers (Note: Nemojte da dodajte direktno, bolje koristite visudo)

Korišćenje yaourt

Otkrivanje prethodnih builds za dev PKGBUILDs

Julien Mischkowitz's (održavalac yaourta) 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.

Yaourt traži lozinku dva puta

Ako onemogućite timeout sudo lozinka dodavanjem:

Defaults timestamp_timeout=0

u /etc/sudoers, onda yaourt će vas pitati za lozinku dva puta svaki put kada pokušate izvesti operaciju koja zahteva root. Da biste to sprečili, dodajte:

SUDONOVERIF=1

u /etc/yaourtrc ili u $HOME/.yaourtrc