Manjaro Difference between revisions of "Arch User Repository"

Difference between revisions of "Arch User Repository"

From Manjaro
imported>Chatan
imported>Cscs
(Getting rid of yaourt)
Line 17: Line 17:
= Accessing the AUR =
= Accessing the AUR =


'''The AUR can be accessed with the GUI tools Pamac and Octopi (via yaourt). This is the easiest way for beginners. '''
'''The AUR can be accessed with the GUI tools Pamac and Octopi (via trizen). This is the easiest way for beginners. '''


The necessary software needed to access and use the AUR within a terminal:
The necessary software needed to access and use the AUR within a terminal:
Line 23: Line 23:
'''1. The base-developer group of packages:''' Rather than downloading pre-compiled software packages for installation, you will instead be downloading the instructions for Manjaro to build and compile them on your system. The ''base-devel'' package is required to do this.  
'''1. The base-developer group of packages:''' Rather than downloading pre-compiled software packages for installation, you will instead be downloading the instructions for Manjaro to build and compile them on your system. The ''base-devel'' package is required to do this.  


'''2. yaourt''': This is used to search and download from the AUR, rather like '''[[pacman]]''' is used to search and download from Manjaro's official repositories. Just like ''pacman'' it will also automatically find and download the necessary dependencies for downloaded software as well, provided that the software packages themselves have properly stated which dependencies are needed.  
'''2. Aur Helper''': ''yay'', ''aurman'', or ''trizen''.  These are used to search and download from the AUR, rather like '''[[pacman]]''' is used to search and download from Manjaro's official repositories. Just like ''pacman'' it will also automatically find and download the necessary dependencies for downloaded software as well, provided that the software packages themselves have properly stated which dependencies are needed. Please see [https://wiki.archlinux.org/index.php/AUR_helpers this comparison table] of Aur helpers to help you choose one.


(<u>Note for KDE Edition users</u>: The default install includes most of the base-devel package, so in most cases you can skip installing base-devel in command below)   
(<u>Note for Octopi users</u>: Octopi can only use ''trizen'' or ''yaourt'' to access the AUR.)   
    
    
To install the base-developer group and yaourt, enter the following command in your terminal:
To install the base-developer group and yay, enter the following command in your terminal:


  sudo pacman -S base-devel yaourt
  sudo pacman -S base-devel yay




Line 39: Line 39:
{{tip|It is '''strongly''' recommended to first visit the [http://aur.archlinux.org/ AUR website] and examine the relevant page(s) for any and all software intended to be installed. These pages contain comments from both existing users and package developers, which may provide valuable information (such as, warnings and/or solutions to problems). The AUR website can be found '''[http://aur.archlinux.org/ here]'''}}
{{tip|It is '''strongly''' recommended to first visit the [http://aur.archlinux.org/ AUR website] and examine the relevant page(s) for any and all software intended to be installed. These pages contain comments from both existing users and package developers, which may provide valuable information (such as, warnings and/or solutions to problems). The AUR website can be found '''[http://aur.archlinux.org/ here]'''}}


Yaourt must be used in the terminal (or via [[Octopi]] as mention above, which will still lead you to a terminal session) and is itself very similar to pacman to use; furthermore, as with pacman, it is not necessary to specify precise or complete package names in order to search for or download software. To search for and install software packages from the AUR, the syntax is:
Yay must be used in the terminal and is itself very similar to pacman to use; furthermore, as with pacman, it is not necessary to specify precise or complete package names in order to search for or download software. To search for and install software packages from the AUR, the syntax is:


  yaourt [software package name]
  yay [software package name]


For example, if wishing the download the ''Avant Window Navigator'' (a popular dock/toolbar), simply entering 'avant' will yield a list of potential matches to browse and select from. While the use of the ''sudo'' command is a convention when using pacman to install files (for example: sudo pacman -S [software package name]), it is '''not necessary''' to use this with yaourt.
For example, if wishing the download the ''Avant Window Navigator'' (a popular dock/toolbar), simply entering 'avant' will yield a list of potential matches to browse and select from. While the use of the ''sudo'' command is a convention when using pacman to install files (for example: sudo pacman -S [software package name]), it is '''not necessary''' to use this with yay.


  yaourt avant
  yay avant


[[File:yaourtsearch.png|thumb|left|375px]]
[[File:yaourtsearch.png|thumb|left|375px]]
Line 60: Line 60:
[[file:yaourtdownload.png|thumb|left|375px]]
[[file:yaourtdownload.png|thumb|left|375px]]


Once the number(s) of your chosen software package(s) have been entered, and the installation process has begun, user comments from the AUR website will also be displayed. You may also be presented with a standard warning that the download package is unsupported and potentially dangerous.  
Once the number(s) of your chosen software package(s) have been entered, and the installation process has begun, you may be presented with a standard warning that the download package is unsupported and potentially dangerous.  


You may also be asked if you wish to '''Edit PKGBUILD'''. Unless you know what you are doing, always type '''n''' for 'no' when asked. The purpose of this option is to allow experienced users to inspect the instructions that will be used to build the package(s) to be installed. As dependencies may also have to be installed first in the process, it is possible to be prompted to edit these as well.  
You may also be asked if you wish to '''Edit PKGBUILD'''. Unless you know what you are doing, always type '''n''' for 'no' when asked. The purpose of this option is to allow experienced users to inspect the instructions that will be used to build the package(s) to be installed. As dependencies may also have to be installed first in the process, it is possible to be prompted to edit these as well.  
Line 121: Line 121:
The following command will upgrade '''all''' packages downloaded from the AUR.
The following command will upgrade '''all''' packages downloaded from the AUR.


  yaourt -Syua
  yay -Syua


=Support=
Following is a link to this page's forum counterpart where you can post any related feedback: [http://forum.manjaro.org/index.php?topic=7299.0]


=See Also=
=See Also=
Cookies help us deliver our services. By using our services, you agree to our use of cookies.