You are not logged in.

#1 2009-03-28 09:13:13

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

What is you favourite program to update packages installed by aur?

I used aurbuild, but I saw there are many... So what is your pacman for AUR? And overall why?

Offline

#2 2009-03-28 09:20:50

Alxe
Member
From: /home/alex
Registered: 2009-01-20
Posts: 102

Re: What is you favourite program to update packages installed by aur?

I think Yaourt is the best one, because it's like a Pacman with more options smile
But I'd really like to install things manually, altrought I don't need anything by now.


Arch64

Offline

#3 2009-03-28 09:22:13

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: What is you favourite program to update packages installed by aur?

I still like yaourt very much because it integrates the AUR with the rest of the repositories. But Yaourt keeps adding stuff I don't want, like the new version and new release shizzle.

Offline

#4 2009-03-28 09:30:28

Alxe
Member
From: /home/alex
Registered: 2009-01-20
Posts: 102

Re: What is you favourite program to update packages installed by aur?

@Vintendo: I really think Pacman should include an official and optional "extension" for more features like AUR and colors (without manual tweaking) that could be choseable on a configuration file, but leaving the basic on a normal install for ease of use and things.


Arch64

Offline

#5 2009-03-28 09:46:04

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: What is you favourite program to update packages installed by aur?

I think so too, but the Arch devs don't want that. They don't want too make it too easy to install packages from the aur.

Offline

#6 2009-03-28 09:51:22

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: What is you favourite program to update packages installed by aur?

I really cannot understand the reason... Ok, Arch is a distro for advanced users, but 'not too easy' sounds always strange.

Offline

#7 2009-03-28 10:15:16

mike_93
Member
Registered: 2009-01-31
Posts: 60

Re: What is you favourite program to update packages installed by aur?

I think that it is because the packaged in [unsupported] are not 'official' and could potentially mess up your system. So the devs just don't want you to install a ton of untrusted stuff without really knowing what you're doing.


Double booting Arch Linux and Linux Mint
Reader of XKCD

Offline

#8 2009-03-28 10:18:16

Alxe
Member
From: /home/alex
Registered: 2009-01-20
Posts: 102

Re: What is you favourite program to update packages installed by aur?

@mike_93: You are right, a novice could always mess it with pacman at hands if he had that "extension". But yeah, it could be nice if it could be easier to get packages in [unsupported] via pacman... Or like making more [unsupported] going to community at hands of trusted people. Maybe some people should track those packages and see if they are correct and harmless.


Arch64

Offline

#9 2009-03-28 10:35:31

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: What is you favourite program to update packages installed by aur?

Alxe wrote:

Or like making more [unsupported] going to community at hands of trusted people. Maybe some people should track those packages and see if they are correct and harmless.

You mean like the Trusted Users? wink
http://wiki.archlinux.org/index.php/AUR … Guidelines

*edit*
Btw, to answer the question, I write my own tools (e.g. pbget & paconky) to handle AUR packages.

Last edited by Xyne (2009-03-28 10:37:05)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#10 2009-03-28 10:47:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: What is you favourite program to update packages installed by aur?

The "why doesn't pacman support the AUR" question has been discussed to death, and the dev decision is not going to change, so try to keep this thread on topic please i.e. about AUR tools and utilities.

Offline

#11 2009-03-28 10:55:37

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,006
Website

Re: What is you favourite program to update packages installed by aur?

wget && tar && makepkg && pacman -U

no not really, i use yaourt, but yaourt is just a wrapper around the above programs.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#12 2009-03-28 11:21:10

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: What is you favourite program to update packages installed by aur?

I think every aur helper is that wink

Offline

#13 2009-03-28 16:40:01

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: What is you favourite program to update packages installed by aur?

+ 1 for yaourt smile

Offline

#14 2009-03-28 16:44:50

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,329

Re: What is you favourite program to update packages installed by aur?

arson

Offline

#15 2009-03-28 16:49:19

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: What is you favourite program to update packages installed by aur?

i don't prefer any of those "apps". i rather do things manually because it is easy enough to look at the build, modify stuff if are out of date and run makepkg.


Give what you have. To someone, it may be better than you dare to think.

Offline

#16 2009-03-28 18:35:10

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: What is you favourite program to update packages installed by aur?

yaourt

Offline

#17 2009-03-28 20:58:52

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: What is you favourite program to update packages installed by aur?

Custom Python script that simply downloads remote PKGBUILDs and compares '%(pkgver)s-%(pkgrel)s' with the output from `pacman -Qm`. If a newer version is found, it will grab the tarball for me.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#18 2009-03-28 21:31:35

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: What is you favourite program to update packages installed by aur?

For downloading packages I use aurdownload from the aurscripts package I maintain in AUR, or autoaur, if I want do download more than one package.

Offline

#19 2009-03-28 22:03:24

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: What is you favourite program to update packages installed by aur?

Usually yaourt (if I am lazy), yet prefering manual PKGBUILD install to learn more about the package in question.


To know or not to know ...
... the questions remain forever.

Offline

#20 2009-03-29 00:14:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: What is you favourite program to update packages installed by aur?

Vintendo wrote:

I think so too, but the Arch devs don't want that. They don't want too make it too easy to install packages from the aur.

That is not the reason pacman does not support the AUR (but is the reason yaourt is not in the repos). The AUR is arch specific, while pacman tries to not be tied to Arch in anyway. 

Anyway, I only have three packages I don't maintain installed from the AUR.  I use a bookmarks folder in firefox and makepkg to keep them updated...

Offline

#21 2009-03-29 09:57:07

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,329

Re: What is you favourite program to update packages installed by aur?

Allan wrote:

Anyway, I only have three packages I don't maintain installed from the AUR.  I use a bookmarks folder in firefox and makepkg to keep them updated...

Well... TU status has its advantages [edit: and disadvantages] wink

Last edited by bender02 (2009-03-29 09:58:04)

Offline

#22 2009-03-30 10:29:06

ProgDan
Member
From: Prague, Czech Republic
Registered: 2007-10-04
Posts: 441
Website

Re: What is you favourite program to update packages installed by aur?

I use yaourt, especially because of possibility to check and update all packages from AUR.
Also, I'm lazy man so installing manually deps from AUR is not my favourite work, yaourt has it all, so it was my natural choice.

Offline

#23 2009-04-02 16:20:29

cmb
Forum Fellow
From: Oklahoma City
Registered: 2008-10-13
Posts: 11
Website

Re: What is you favourite program to update packages installed by aur?

I like aurshell.  The package is named aurshell-git in unsupported.

Offline

#24 2009-04-02 16:59:07

X/ax
Member
From: Oost vlaanderen, Belgium
Registered: 2008-01-13
Posts: 275
Website

Re: What is you favourite program to update packages installed by aur?

I really didn't understand most tools, so I went for yaourt... Tried aurbuild, aurshell, etc... They all seem to do the work, but I don't get around to them...


My coding blog (or an attempt at it)
Archer start page (or an attempt at it)

Offline

#25 2009-04-02 17:18:46

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: What is you favourite program to update packages installed by aur?

i just scripted the wget / tar / makepkg / pacman -U process with prompts between each step.  it also starts with a lynx aur google search to get the package name. 

script:

#!/bin/bash
#
# Aurget V 0.1
# pbrisbin 2009
#
# This script searches google for Arch Linux AUR packages
#
# The user selects from the results and the packages is
# optionally extracted, built, and installed
#
# Packages can be saved or discarded
#
# Usage: aurget [packagename]
#
# ToDo: track version info to see if your due for an update
#       (basically, become yaourt!)
###


## User Config
# just some directories
WD="/tmp/aurget"                # place to do some work
PD="$HOME/Packages"             # place to store built packages
SAFE="$PD/aurget_dump"          # place to dump data if something happens


## Program below
# set up the environment
[ -d $WD ] || (mkdir $WD && chmod 700 $WD)
[ -d $SAFE ] || mkdir -p $SAFE

LNG=$(echo $LANG | cut -d '_' -f 1)
CHARSET=$(echo $LANG | cut -d '.' -f 2)

# minimal error checking
if [ -z $1 ]; then
  echo "Please specify a search term. Ex. ./aurget cairo"
  exit 0
fi

# search google for the AUR package
lynx -accept_all_cookies -dump -hiddenlinks=ignore -nonumbers -assume_charset="$CHARSET" -display_charset="$CHARSET" "http://www.google.com/search?hl=${LNG}&q=${1}+site%3Ahttp%3A%2F%2Faur.archlinux.org%2F&btnG=Search" | grep AUR\ \(en\) > $WD/results
if [ ! -s $WD/results ]; then
  echo "Sorry, no appropriate results."
  exit 0
fi

# display the results
clear
echo ""
echo "Results found:"
echo ""
cat -b $WD/results | awk '{ print "  ", $1, "-", $6 }'
echo ""
echo "Please enter the number to download: (or q to quit)"
echo ""

# read which packages to DL
read NUM
if [ "$NUM" = "q" ]; then
  echo "   Quitting..."
  exit 0
fi

PACK=$(cat -b $WD/results | grep -P "$NUM\t" | awk '{ print $6 }')

# download the tarball
clear
echo ""
echo "Downloading $PACK to $WD..."
echo ""
wget -q -O $WD/$PACK.tar.gz http://aur.archlinux.org/packages/$PACK/$PACK.tar.gz || exit 1

# extract the tarball
clear
echo ""
echo "   Tarball downloaded."
echo ""
echo "   Extract the files? (y/n)"
echo ""

read E
case $E in
  y)
  cd $WD && tar xvzf $PACK.tar.gz || exit 2
  ;;
  n)
  echo "   Quitting..."
  cp $WD/$PACK.tar.gz $SAFE/
  rm -r $WD
  exit 0
  ;;
  *)
  echo "   Invalid, quitting."
  rm -r $WD
  exit 5
  ;;
esac

# use makepkg to build the package
clear
echo ""
echo "   Files extracted."
echo ""
echo "   Build the package? (y/n)"
echo ""

read B
case $B in
  y)
  cd $WD/$PACK && makepkg -s || exit 3
  PACK=$(find $WD/$PACK -name '*pkg.tar.gz')
  ;;
  n)
  echo "   Quitting..."
  cp $WD/$PACK $SAFE/
  rm -r $WD
  exit 0
  ;;
  *)
  echo "   Invalid, quitting."
  rm -r $WD
  exit 5
  ;;
esac

# use pacman -U to install the package
clear
echo ""
echo "   Package built."
echo ""
echo "   Install the package? (y/n)"
echo ""

read I
case $I in
  y)
  sudo pacman -U $PACK || exit 4
  ;;
  n)
  echo "   Quitting..."
  cp $PACK $PD/
  rm -r $WD
  exit 0
  ;;
  *)
  echo "   Invalid, quitting..."
  rm -r $WD
  exit 5
  ;;
esac

# clean up the working directory, save the package if you want
clear
echo ""
echo "   Package was installed."
echo ""
echo "   Keep the Package? (y/n)"
echo ""

read K
case $K in
  y)
  cp $PACK $PD/
  rm -r $WD
  exit 0
  ;;
  n)
  echo "   Quitting..."
  rm -r $WD
  exit 0
  ;;
  *)
  echo "   Invalid, quitting..."
  rm -r $WD
  exit 5
  ;;
esac

# always clean up after yourself
[ -d $WD ] && rm -r $WD

exit 0

i know i could probably search AUR directly but i took the lynx line from another script and just kept it (added the site= term to keep it AUR specific)

Last edited by brisbin33 (2009-04-02 17:19:44)

Offline

Board footer

Powered by FluxBB