Author Topic: How to install packages from the AUR  (Read 21873 times)

0 Members and 1 Guest are viewing this topic.

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
How to install packages from the AUR
« on: 04. October 2013, 18:04:29 »
In Manjaro it is possible to install packages from the AUR (Arch User Repository).

A way to install packages from the AUR is to use a wrapper for pacman, like yaourt, which will download the packages from the AUR, build it, and then install it with pacman.

Note-Using yaourt can be dangerous, if you don't check out the pkgbuild first. One can also read the comments about the package to learn about issues. Some packages, that you can install from the aur, can potentially harm your system if they're faulty.

1.Install yaourt
Code: [Select]
sudo pacman -S yaourt
2.Install base-devel
Code: [Select]
sudo pacman -S base-develThe base-devel package contains tools like gcc and make to compile the packages downloaded from the AUR.

3.Install any package from the AUR.
Code: [Select]
yaourt -S <package>This will install the desired package from the AUR. An example-
Code: [Select]
yaourt -S qbittorrent
4.Update the packages installed from the AUR
Code: [Select]
yaourt -SyuaThis will upgrade all  packages installed from the AUR.

See also-
Arch User Repository: Manjaro Wiki
Pacman: Manjaro Wiki
« Last Edit: 02. May 2014, 20:13:18 by aaditya »

Offline sdch

  • Sr. Mitglied
  • ****
  • Posts: 277
  • Branch: Stable
  • Desktop: KDE
  • GPU Card: nvidia
  • GPU driver: nvidia
  • Kernel: 3.12 LTS x86_64
  • Skill: Novice
Re: How to install packages from the AUR.
« Reply #1 on: 04. October 2013, 19:56:47 »
Or else use Octopi and select AUR group and Install the needed app.......... :)

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #2 on: 04. October 2013, 21:10:15 »
Or else use Octopi and select AUR group and Install the needed app.......... :)
Yes, thats also an option :)
« Last Edit: 02. May 2014, 20:14:48 by aaditya »

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #3 on: 04. October 2013, 21:20:24 »
i always use
Code: [Select]
yaourt <package name>

with this command you can search the AUR for packages. you do not need to know the exact package name.

look here for further information:
http://wiki.manjaro.org/index.php?title=Arch_User_Repository#Installing_from_the_AUR_by_hand
« Last Edit: 04. October 2013, 21:23:14 by excalibur1234 »
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #4 on: 04. October 2013, 21:26:21 »
i always use
Code: [Select]
yaourt <package name>

with this command you can search the AUR for packages. you do not need to know the exact package name.
+1  :)

look here for further information:
http://wiki.manjaro.org/index.php?title=Arch_User_Repository#Installing_from_the_AUR_by_hand

I made this today :)
http://forum.manjaro.org/index.php?topic=7076.msg63499#msg63499

« Last Edit: 04. October 2013, 21:30:49 by aaditya »

Offline mbalazs81

  • Neuling
  • *
  • Posts: 9
  • Desktop: xfce
  • GPU Card: ati
  • GPU driver: open
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #5 on: 13. October 2013, 00:14:59 »

Quote
Or else use Octopi and select AUR group and Install the needed app.......... :)

How can I add AUR repo to octopi?

Offline arnt

  • Core Team
  • *****
  • Posts: 188
Re: How to install packages from the AUR.
« Reply #6 on: 13. October 2013, 00:43:15 »
How can I add AUR repo to octopi?

Hi mbalazs81,

1) First you need to already have yaourt package installed in your Manjaro;
2) Next run Octopi and change the selected group (that combobox in the right beside the search LineEdit) to "< Yaourt >";
3) Then search for some yaourt package;
4) Right click in the desired package and choose "install".

And that's it.

Offline AnonKS

  • Neuling
  • *
  • Posts: 36
    • Less Systemd GNU/Linux
  • Branch: Manjaro / LSD Linux
  • Desktop: xfce
  • GPU driver: nVidia GT220 / non-free
  • Kernel: 3.10
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #7 on: 18. November 2013, 19:33:12 »
Using yaourt can be dangerous, if you don't check out the pkgbuild first. Or at the very least, read the comments in the aur. Some packages, that you can install from the aur, can potentially harm your system if they're faulty.

Sent from my XT890 using Tapatalk


Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #8 on: 18. November 2013, 19:44:15 »
Yeah, I should add a note for it in the original post. Thanks :)
« Last Edit: 18. November 2013, 19:47:57 by aaditya »

Offline takri

  • Neuling
  • *
  • Posts: 13
  • Branch: stable - testing
  • Desktop: Xfce - KDE
  • Kernel: linux317-x64
  • Skill: Novice
Re: How to install packages from the AUR.
« Reply #9 on: 01. December 2013, 09:38:03 »
Hi all,

I'm a very newbie to Manjaro/Arch. I know that when you install a package with pacman the .pkg file is stored in /var/cache/pacman/pkg/ but I was wondering about the packages built from AUR through yaourt or packer? Is the built package stored somewhere? If not, is there a command to make this happen? It would be nice to be able to uninstall an AUR package but keep a .pkg for further installation without having to download again.

Thanks for your explanations!
Best regards,
Chris

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #10 on: 01. December 2013, 09:46:01 »
Hi all,

I'm a very newbie to Manjaro/Arch. I know that when you install a package with pacman the .pkg file is stored in /var/cache/pacman/pkg/ but I was wondering about the packages built from AUR through yaourt or packer? Is the built package stored somewhere? If not, is there a command to make this happen? It would be nice to be able to uninstall an AUR package but keep a .pkg for further installation without having to download again.

Thanks for your explanations!
Best regards,
Chris
You can download the PKGBUILD from the AUR and then run makepkg on your system.
http://wiki.manjaro.org/index.php?title=Arch_User_Repository#Installing_from_the_AUR_by_hand
https://wiki.archlinux.org/index.php/AUR_User_Guidelines#Installing_packages

Offline dodo3773

  • Jr. Mitglied
  • **
  • Posts: 62
  • Desktop: Openbox
  • Skill: Advanced
Re: How to install packages from the AUR.
« Reply #11 on: 01. December 2013, 09:47:41 »
Hi all,

I'm a very newbie to Manjaro/Arch. I know that when you install a package with pacman the .pkg file is stored in /var/cache/pacman/pkg/ but I was wondering about the packages built from AUR through yaourt or packer? Is the built package stored somewhere? If not, is there a command to make this happen? It would be nice to be able to uninstall an AUR package but keep a .pkg for further installation without having to download again.

Thanks for your explanations!
Best regards,
Chris

EXPORT variable in /etc/yaourtrc look at "man yaourtrc" in section entitled BUILD OPTION

Offline mips

  • Held Mitglied
  • *****
  • Posts: 2892
  • Valkyrja
  • Branch: Testing
  • Desktop: XFCE
  • GPU Card: GTX 960
  • GPU driver: video-nvidia
  • Kernel: 3.16
  • Skill: Intermediate
Re: How to install packages from the AUR.
« Reply #12 on: 01. December 2013, 09:58:17 »
Hi all,

I'm a very newbie to Manjaro/Arch. I know that when you install a package with pacman the .pkg file is stored in /var/cache/pacman/pkg/ but I was wondering about the packages built from AUR through yaourt or packer? Is the built package stored somewhere? If not, is there a command to make this happen? It would be nice to be able to uninstall an AUR package but keep a .pkg for further installation without having to download again.

As far as I know they are not stored anywhere.

See http://forum.manjaro.org/index.php?topic=881.0 and http://forum.manjaro.org/index.php?topic=5079.0

« Last Edit: 01. December 2013, 10:05:40 by mips »

Offline takri

  • Neuling
  • *
  • Posts: 13
  • Branch: stable - testing
  • Desktop: Xfce - KDE
  • Kernel: linux317-x64
  • Skill: Novice
Re: How to install packages from the AUR.
« Reply #13 on: 03. December 2013, 12:32:29 »
Ok, thanks all for your answers!

Offline mandog

  • Held Mitglied
  • *****
  • Posts: 1921
  • Architect Forum And G+ Forum Owner With Daniel S
  • Branch: All
  • Desktop: Gnome, Mate, E19, Openbox,FLuxbox,Budgie, XFCE openRC,
  • GPU Card: nvidia
  • GPU driver: Non Free
  • Kernel: latest
  • Skill: Advanced
Re: How to install packages from the AUR.
« Reply #14 on: 03. December 2013, 13:40:25 »
As far as I know they are not stored anywhere.

See http://forum.manjaro.org/index.php?topic=881.0 and http://forum.manjaro.org/index.php?topic=5079.0
Until you reboot they are stored in temp 
A ENGLISHMAN IN PERU
I'm dyslexic Please do not complain about punctuation or spelling,
FANBOY,Taken from the urban dictionary
 A pathetic insult often used by fanboys themselves to try and put down people who don't like whatever it is they like.