Page 1 of 2

AUR package manager for archlinux

Posted: 01 Nov 2015, 21:03
by francois
Not that easy to install AUR helpers:
https://wiki.archlinux.org/index.php/AUR_helpers

YAOURT (this was the easiest to install):
https://www.digitalocean.com/community/ ... y-packages

APACMAN
Looking for an AUR package manager for archlinux, I thought that apacman, a clone of packer no longer maintained could do the job. I was not able to set it up. AUR helpers wiki page:
https://wiki.archlinux.org/index.php/AUR_helpers

However once yaourt installed, it was an easy job to install apacman:

Code: Select all

yaourt -S apacman
yaourt -S apacman-deps
yaourt -S apacman-utils
sudo pacman -S customizepkg
PACAUR.
Searching more in depth, it seems that pacaur relying on cower would would be a very good alternative:
http://cdavis.us/wiki/index.php?title=A ... g_from_AUR
As there is a problem with the gpg signature in the procedure, there is a turnaround with makepkg -s --skippgpcheck:
https://bbs.archlinux.org/viewtopic.php?id=191954

Code: Select all

$ sudo pacman -S expac yajl bash-completion curl openssl

Code: Select all

$ cd ~
$ curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
$ tar -zxvf cower.tzr.gz
$ cd cower
$ makepkg
$ sudo pacman -U cower-10-2-x86_64.pkg.tar.xz

Code: Select all

$ cd ~
$ curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz
$ tar -zxvf pacaur.tar.gz
$ cd pacaur
$ makepkg -s --skippgpcheck
$ sudo pacman -U pacaur-*.pkg.tar.xz 
Parcaur man pages:
https://github.com/rmarquis/pacaur/blob ... README.pod

Pacaur thread:
https://bbs.archlinux.org/viewtopic.php?id=119473

TKPACMAN.
This is a pacman gui interface:
[fl@toshiba build]$ yaourt -S tkpacman

Re: AUR package manager for archlinux

Posted: 02 Nov 2015, 01:42
by brokenman
I am including yaourt in today's release so people don't have to build it. It will most probably need the devel module in order to build stuff though.

Re: AUR package manager for archlinux

Posted: 02 Nov 2015, 02:20
by francois
@ brokenman:
ncmprhnsbl knows better than me. He is the experienced arch linux user. Maybe the solution would be apacman:
http://bbs.archbang.org/viewtopic.php?id=5324

Re: AUR package manager for archlinux

Posted: 02 Nov 2015, 16:16
by brokenman
Thanks. I will check out apacman.

Re: AUR package manager for archlinux

Posted: 02 Nov 2015, 19:14
by francois
Sorry but finally, the decision is not that easy. Here is one of the few discussions on the different AUR package managers. The title was What AUR package manager are you using?
https://www.reddit.com/r/archlinux/comm ... you_using/

I am summarizing the discussion of this very good post. pacaur seems the preffered one. See the precedent post. Do not mix with packer deprecated, which as been replaced by apacman.

PACKER
Packer resorts to cower and seems to be the preffered one:
- difference between pacaur and yaourt:
The difference is that yaourt needs a shit ton of babysitting.
yaourt:
Review PKGBUILD
Build the package
Install package
Figure out that something else form the AUR needs to be built
Interrupt installation process again to review the PKGBUILD
pacaur:
Review all PKGBUILDs in one go
Lean back
Let everything build and install
Done

...
...
pacaur lets you review PKGBUILDs in a non annyoing way that doesn't make you want to just skip the whole process which is retarded and dangerous.
permalinkparent
[–]acet0pgun 1 point 6 months ago
i'm with blackout24 on this one. with yaourt i've found it wants you to edit the PKGBUILDs for each packet in a sequence whereas pacaur allow thats all to be done in one shot for all of them and sit back, watch it compile and install for you while sipping tea or use that time depending on the number of packages you're installing to do other things without being nagged for each package to edit. IMO its just a much more streamlined approach to automation for building the aur packages


YAOURT
Some people are satisfied with yaourt. However, some assert that it is almost an heresia to work with it. Pamac the manjaro package manager is based on yaourt.
https://www.digitalocean.com/community/ ... y-packages

BURGAUR
Burgaur is a new and very cool AUR helper. Its simple and clear based. A frontend for cower.

AURA
Has an important missing dependency.

PAMAC (gui front end)
If you're GUI guy, then definitely pamac. Which is a frontend for pacman and yaourt. Used on manjaro and antergos.

APACMAN
Installing apacman a fork from packer (as I wrote up there, I was not able to install apacman with the following instructions):
https://topher1kenobe.com/installing-ap ... rch-linux/

Re: AUR package manager for archlinux

Posted: 02 Nov 2015, 21:41
by francois
AURA (not available with many around, needs abs which is a missing package prerequisite)

Though I have not been able to install aura. It might be a contender to work with pman.

Seems to separe packages and AUR builds. In the same thread as above:
https://www.reddit.com/r/archlinux/comm ... you_using/
I have pacman aliased to aura.
EDIT: I feel I have to justify this:
It keeps official and AUR packages separate; -S for Arch things, -A for AUR.
It installs the dependencies (if any) in batches, not one at a time - first the offical ones, then AUR dependencies, then the target in question itself - if something messes up it's (relatively) easy to revert.
Security wise, it builds as user and THEN installs as root; some managers just do the whole thing as root.
It keeps track of orphaned packages.
permalink
[–]parnmatt 3 points 6 months ago
I use the aura-bin version to remove the haskell dependencies. Certainly the best from what I've seen. I like the separate nature of things. The user build and effort install. The ease of downgrading.

alias pacman=aura
Then:
pacman -S <package> # For official packages
pacman -A <package> # For AUR packages.

Re: AUR package manager for archlinux

Posted: 03 Nov 2015, 00:59
by brokenman
I took a look at pacaur which I think is a much better alternative to yaourt.

Re: AUR package manager for archlinux

Posted: 03 Nov 2015, 02:23
by francois
From the thread cited in my last post, the only of the type, archlinux forum members exchanging with very few words, it seems to be the most popular and most established.

Re: AUR package manager for archlinux

Posted: 07 Nov 2015, 02:56
by francois
In this same thread, although pamac is not often mentioned, it should be the gui frontend of choice as it is used by manjaro. Maybe arch linux users are too snob to recognize that pamac is a great frontend or just that they do not want any frontend:
https://www.reddit.com/r/archlinux/comm ... you_using/
... Pamac is just Manjaro's GUI for pacman.
It's comes with Antergos as well (depending on which DE you choose). It's definitely more than just for Manjaro.
I think he's saying it's just a GUI for pacman (and yaourt). Not that it's only on manjaro. Octopi is on KDE flavors.
But more specifically it is a frontend for pacman/yaourt, and some of the other programs listed in this thread are also frontends. So I see no reason to discredit it...


Pamac should be a good frontend. It seems that there is no funded rationale to discredit yaourt as pamac uses it:
https://aur.archlinux.org/packages/pamac-aur/

Re: AUR package manager for archlinux

Posted: 08 Nov 2015, 06:11
by aus9
francois

Rather than pollute your thread with my dribble I have started a new thread with minor relevance as pamac not found
If you care to comment feel free to do so
feel free to have a laugh at my first attempts at Arch package management, we need a laugh or two and am on a learning curve so no problems either way you react

http://forum.porteus.org/viewtopic.php?f=137&t=5196

Re: AUR package manager for archlinux

Posted: 10 Nov 2015, 18:39
by francois
@brokenman:
1.0

Code: Select all

guest ~ $ yaourt -Sb --export <destination dir> <package>
This is the command to produce and install a package under yaourt. I imagine that this could be useful to integrate to pman.

2.0 pamac. Here I need some troubleshooting:

Code: Select all

guest ~ $ yaourt -Sb --export ~ pamac-aur --insecure
...

...
==> Retrieving sources...
  -> Downloading pamac-2.4.3-3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
==> ERROR: Failure while downloading pamac-2.4.3-3.tar.gz
    Aborting...
==> ERROR: Makepkg was unable to build pamac-aur.
==> Restart building pamac-aur ? [y/N]
==> -------------------------------

Re: AUR package manager for archlinux

Posted: 10 Nov 2015, 22:12
by ncmprhnsbl
try:

Code: Select all

guest ~ $ yaourt -Sb --export ~ --insecure pamac-aur 
tho the curl/ssl certificates stuff is a bug that i expect brokenman is on to...

Re: AUR package manager for archlinux

Posted: 11 Nov 2015, 00:27
by brokenman
ncmprhnsbl what is your opinion on the best package manager?
I liked pacaur. It runs as guest and only elevates when required. It uses cower as a backend.

Secondly, what do you think of the idea of using manjaro's repositories. I like the idea of being stable. I don't like the idea of triple deps. Porteus relying on manjaro relying on arch.

Re: AUR package manager for archlinux

Posted: 11 Nov 2015, 01:39
by francois
Trying to makepkg on cower:

Code: Select all

guest ~/cower-git $ makepkg
==> Making package: cower-git 12.8.g0f374c2-1 (Wed Nov 11 01:15:47 UTC 2015)
==> Checking runtime dependencies...
error: duplicated database entry 'avahi'
error: duplicated database entry 'elfutils'
error: duplicated database entry 'gsettings-desktop-schemas'
error: duplicated database entry 'harfbuzz'
error: duplicated database entry 'libelf'
error: duplicated database entry 'libnm-glib'
error: duplicated database entry 'libpulse'
error: duplicated database entry 'libtiff'
error: duplicated database entry 'mesa'
error: duplicated database entry 'mesa-libgl'
error: duplicated database entry 'sqlite'
error: duplicated database entry 'vte-common'
error: duplicated database entry 'xkeyboard-config'
error: duplicated database entry 'xorg-server'
error: duplicated database entry 'xorg-server-common'
error: duplicated database entry 'polkit'
==> Checking buildtime dependencies...
error: duplicated database entry 'avahi'
error: duplicated database entry 'elfutils'
error: duplicated database entry 'gsettings-desktop-schemas'
error: duplicated database entry 'harfbuzz'
error: duplicated database entry 'libelf'
error: duplicated database entry 'libnm-glib'
error: duplicated database entry 'libpulse'
error: duplicated database entry 'libtiff'
error: duplicated database entry 'mesa'
error: duplicated database entry 'mesa-libgl'
error: duplicated database entry 'sqlite'
error: duplicated database entry 'vte-common'
error: duplicated database entry 'xkeyboard-config'
error: duplicated database entry 'xorg-server'
error: duplicated database entry 'xorg-server-common'
error: duplicated database entry 'polkit'
==> Missing dependencies:
  -> git
==> ERROR: Could not resolve all dependencies.
guest ~/cower-git $ printenv
XDG_VTNR=1
XDG_SESSION_ID=c1
SAL_USE_VCLPLUGIN=gtk
XDG_MENU_PREFIX=lxde-
SHELL=/bin/bash
TERM=xterm
GTK_MODULES=canberra-gtk-module
USER=guest
XDG_CONFIG_DIRS=/etc/xdg
DESKTOP_SESSION=LXDE
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
QT_QPA_PLATFORMTHEME=lxqt
PWD=/home/guest/cower-git
LANG=en_US.UTF-8
BOOTDEV=/mnt/isoloop
DISTRO=nemesis
QT_PLATFORM_PLUGIN=lxqt
_LXSESSION_PID=883
SHLVL=2
HOME=/home/guest
XDG_SEAT=seat0
XDG_CONFIG_HOME=/root/.config
LOGNAME=guest
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
MODDIR=/mnt/isoloop/nemesis/modules
DISPLAY=:0.0
XDG_RUNTIME_DIR=/run/user/0
BASEDIR=/mnt/isoloop
XDG_CURRENT_DESKTOP=LXDE
PORTDIR=/mnt/isoloop/nemesis
_=/usr/bin/printen
I have cower and git. What is happening here?

Thanks.

Re: AUR package manager for archlinux

Posted: 11 Nov 2015, 03:03
by brokenman
Looks like it is complaining that the package already exist in /var/lib/pacman/local (which is true)

Are you sure you have git installed before running this?
==> Missing dependencies:
-> git
==> ERROR: Could not resolve all dependencies.