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

0 Members and 1 Guest are viewing this topic.

Offline ocalasun

  • Neuling
  • *
  • Posts: 6
  • I'm new. Be nice!
  • Branch: stable
  • Desktop: OB,FB.LXDE
  • GPU Card: Nvidia GT610
  • Skill: Intermediate
Re: How to install packages from the AUR
« Reply #15 on: 06. November 2015, 15:00:16 »
I followed the above instructions and I have not had a successful AUR install. Forgive me, this is my first experience with an Arch-based distro, I do check the wiki and forums before posting :)
Here is an example in which the end result is the same for any package I have tried to build from AUR:

wbarconf 0.7.2.2-1  (2015-06-20 11:11)
( Unsupported package: Potentially dangerous ! )
==> wbarconf dependencies:
 - python2 (already installed)
 - pygtk (already installed)
 - pygobject (already installed)
 - wbar (already installed)


==> Continue building wbarconf ? [Y/n]
==> ----------------------------------
==>
==> Building and installing package
==> ERROR: Missing package() function in /tmp/yaourt-tmp-john/aur-wbarconf/./PKGBUILD
==> ERROR: Makepkg was unable to build wbarconf.
==> Restart building wbarconf ? [y/N]
==> ---------------------------------
==>

Offline francois.e

  • Jr. Mitglied
  • **
  • Posts: 59
Re: How to install packages from the AUR.
« Reply #16 on: 15. November 2015, 11:10:19 »
Yes, thats also an option :)
Is there a way to get octopus to work with packer pacaur instead of yaourt.  Some reports that packer is safer than yaourt:
https://www.reddit.com/r/archlinux/comments/34w0p3/what_aur_package_manager_are_you_using/
« Last Edit: 15. November 2015, 16:42:40 by francois.e »

Offline c00ter

  • Held Mitglied
  • *****
  • Posts: 1534
  • Towelie's cupcake
  • Branch: ☮Olive☮
  • Desktop: Depends©
  • GPU Card: Intel HD4400M CPU: Core i7-4510U
  • GPU driver: Intel/Free
  • Kernel: 4.4-lts & 4.5
  • Skill: Novice
Re: How to install packages from the AUR
« Reply #17 on: 15. November 2015, 18:30:35 »
I followed the above instructions and I have not had a successful AUR install. Forgive me, this is my first experience with an Arch-based distro, I do check the wiki and forums before posting :)
Here is an example in which the end result is the same for any package I have tried to build from AUR:

wbarconf 0.7.2.2-1  (2015-06-20 11:11)
( Unsupported package: Potentially dangerous ! )
==> wbarconf dependencies:
 - python2 (already installed)
 - pygtk (already installed)
 - pygobject (already installed)
 - wbar (already installed)


==> Continue building wbarconf ? [Y/n]
==> ----------------------------------
==>
==> Building and installing package
==> ERROR: Missing package() function in /tmp/yaourt-tmp-john/aur-wbarconf/./PKGBUILD
==> ERROR: Makepkg was unable to build wbarconf.
==> Restart building wbarconf ? [y/N]
==> ---------------------------------
==>

Did you install thre base development package group? It is needed to build packages.

Regards.
“What, me worry?” ― Alfred E. Newman

Manjaro Wiki: https://wiki.manjaro.org/
Arch Wiki: https://wiki.archlinux.org/
Pacman Rosetta: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Offline arnt

  • Core Team
  • *****
  • Posts: 188
Re: How to install packages from the AUR.
« Reply #18 on: 15. November 2015, 19:16:40 »
Is there a way to get octopus to work with packer pacaur instead of yaourt.  Some reports that packer is safer than yaourt:
https://www.reddit.com/r/archlinux/comments/34w0p3/what_aur_package_manager_are_you_using/

Hi. francois.e,

Yes, you can remove "yaourt" package and install "pacaur". Octopi chooses Yaourt first to deal with AUR.

Offline Orbmiser

  • Sr. Mitglied
  • ****
  • Posts: 415
  • Photographer / Techy Ole' Fart
  • Branch: Stable
  • Desktop: Netrunner Plasma 5
  • GPU Card: Ati 4350 Dual Displays
  • GPU driver: Free Open Driver
  • Kernel: 4.1.16-1
  • Skill: Novice
Re: How to install packages from the AUR
« Reply #19 on: 15. November 2015, 19:45:16 »
Just trying to learn here. But isn't yaourt already built-in Octopi by default?



I just click on the Green Alien Head then search and install the Aur package of choice.
And even informs me of Aur packages when they need to be updated.

Is there versions of Manjaro that doesn't have this by default?

« Last Edit: 15. November 2015, 19:48:56 by Orbmiser »

Offline arnt

  • Core Team
  • *****
  • Posts: 188
Re: How to install packages from the AUR
« Reply #20 on: 15. November 2015, 19:56:47 »
Just trying to learn here. But isn't yaourt already built-in Octopi by default?



I just click on the Green Alien Head then search and install the Aur package of choice.
And even informs me of Aur packages when they need to be updated.

Is there versions of Manjaro that doesn't have this by default?

As I stated before, "yaourt" is the first choice of Octopi if you have it already installed.
If you want to use "pacaur" with Octopi, you'll have to remove "yaourt" from your system and install "pacaur". If you happen to have both installed, Octopi will prefer "yaourt".

Offline francois.e

  • Jr. Mitglied
  • **
  • Posts: 59
Re: How to install packages from the AUR
« Reply #21 on: 30. November 2015, 14:42:57 »
@arnt:
I installed pacaur-git cower-git and then removed yaourt with octopi. Closing octopi and then reopening it was necessary for octopi to use pacaur.
Thanks.

A poll on aur helpers states pacaur as being safer than yaourt. What AUR package manager are you using?
https://www.reddit.com/r/archlinux/comments/34w0p3/what_aur_package_manager_are_you_using/

Do you have any opinion on that? Maybe yaourt is as good as pacaur?

In addition, as I am on the xfce edition which comes with pamac, as I have added octopi, would you recommend that I remove pamac?
« Last Edit: 30. November 2015, 23:27:22 by francois.e »

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 #22 on: 01. December 2015, 00:17:46 »
Unless you are a advanced user pacaur is a trying to carry water in a bucket bucket full of holes, it would be more wise to learn how build packages the arch way 1st that comes as advise from the pacaur developer  Pacaur is targeted at advanced users who want some degree of automation for repetitive tasks. As such, the user is expected to be familiar with the AUR manual build process with makepkg and its configuration options, as well as being knowledgeable about sudo and gpg configuration.
 
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.

Offline c00ter

  • Held Mitglied
  • *****
  • Posts: 1534
  • Towelie's cupcake
  • Branch: ☮Olive☮
  • Desktop: Depends©
  • GPU Card: Intel HD4400M CPU: Core i7-4510U
  • GPU driver: Intel/Free
  • Kernel: 4.4-lts & 4.5
  • Skill: Novice
Re: How to install packages from the AUR
« Reply #23 on: 01. December 2015, 20:35:35 »
Unless you are a advanced user pacaur is a trying to carry water in a bucket bucket full of holes, it would be more wise to learn how build packages the arch way 1st that comes as advise from the pacaur developer  Pacaur is targeted at advanced users who want some degree of automation for repetitive tasks. As such, the user is expected to be familiar with the AUR manual build process with makepkg and its configuration options, as well as being knowledgeable about sudo and gpg configuration.

mandog is absolutely correct. This came directly from the Pacaur developer in a discussion not very long ago.

Regards.
“What, me worry?” ― Alfred E. Newman

Manjaro Wiki: https://wiki.manjaro.org/
Arch Wiki: https://wiki.archlinux.org/
Pacman Rosetta: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Offline anika200

  • Sr. Mitglied
  • ****
  • Posts: 301
  • Branch: stable
  • Desktop: Gnome 3.20-x on PC, Antergos on laptop and another PC.
  • GPU Card: NVIDIA 750Ti, Intel Iris 5200, AMD
  • GPU driver: NV, AMD uses proprietary and the intel is free
  • Kernel: 4.4.8-1-MANJARO
  • Skill: Intermediate
Re: How to install packages from the AUR
« Reply #24 on: 02. December 2015, 14:06:06 »
Quote
==> ERROR: Missing package() function in /tmp/yaourt-tmp-john/aur-wbarconf/./PKGBUILD
This is a problem with the PKGBUILD file not a problem with Octopi or yaourt.
See this thread here maybe it helps you https://forum.manjaro.org/index.php?topic=24652.msg212611#msg212611

Offline francois.e

  • Jr. Mitglied
  • **
  • Posts: 59
Re: How to install packages from the AUR
« Reply #25 on: 09. December 2015, 04:37:39 »
@all:
Thanks for the advice.

@anika:
Real good eye sight.
I have opted for:
changed yaourt config file /etc/yaourtrc to uncomment and change line 15
Thanks.