You are not logged in.

#1 2010-07-04 11:33:39

Lowra
Member
Registered: 2009-09-21
Posts: 192

Did I install the AUR packages correctly and safely ?

Hello

I'm interested in several packages in AUR, but to be honest, it's the first time that I install an AUR pkg without using the yaourt frontend.

I just installed archey, I tried to follow the wiki but I would like to know if I followed all the steps correctly or not...

I've done:

sudo pacman -S fakeroot
wget http://aur.archlinux.org/packages/archey/archey.tar.gz
wget http://aur.archlinux.org/packages/archey/archey/PKGBUILD
makepkg -s
[makepkg -s installed git, and perl-error through pacman I supposed]
sudo pacman -U archey-20100704-1-x86_64.pkg.tar.xz

My questions are:
1] I've done "sudo pacman -U archey-20100704-1-x86_64.pkg.tar.xz" but the wiki said "$ pacman -U /path/to/pkg.tar.gz" => because the prompt said something like "only root can perform this action" when I was not using sudo

2] After the installation, I've done "pacman -Qdt" and it appeared that git, and perl-error were not longer used, so I removed them => Is it a mistake ?

3] How can I update the AUR packages when a newer version will be released ?

Sorry for my english, and thank you for helping me understanding wink

Last edited by Lowra (2010-07-04 11:34:03)

Offline

#2 2010-07-04 11:37:26

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

Re: Did I install the AUR packages correctly and safely ?

1) yes, using sudo is fine

2) you can remove them,  They were only needed for making the package

3) there are many helpers to keep AUR packages up to date.   See the wiki.

Offline

#3 2010-07-04 11:47:21

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: Did I install the AUR packages correctly and safely ?

Thank you Allan:

"3) there are many helpers to keep AUR packages up to date.   See the wiki." => Sorry that was not that I wanted to say, I hope I will do this things in the future, but I have not enough experience for that now ^^

In fact, I wanted to say: How can I update the packages installed in my computer from AUR (example: archey) when the maintainer will update his program ?

Thanks again, it's nice to learn news things about Arch, AUR, and Linux ^^

Offline

#4 2010-07-04 11:52:22

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Did I install the AUR packages correctly and safely ?

Lowra wrote:

Thank you Allan:

"3) there are many helpers to keep AUR packages up to date.   See the wiki." => Sorry that was not that I wanted to say, I hope I will do this things in the future, but I have not enough experience for that now ^^

In fact, I wanted to say: How can I update the packages installed in my computer from AUR (example: archey) when the maintainer will update his program ?

Thanks again, it's nice to learn news things about Arch, AUR, and Linux ^^

Read what Allan said again.
You want an AUR helper, like packer, clyde or bauerbill, for example. ;)

Offline

#5 2010-07-04 11:59:43

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

Re: Did I install the AUR packages correctly and safely ?

AUR helper will allow you to do it automatically.   Otherwise, you manually check for an update and just repeat what you have done.

Offline

#6 2010-07-04 12:12:26

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: Did I install the AUR packages correctly and safely ?

Okay, I'm giving a try with packer, I read a lot a good reviews of it

Thanks, problem solved ^^

Offline

#7 2010-07-04 18:55:54

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Did I install the AUR packages correctly and safely ?

You forgot one important step:
$EDITOR PKGBUILD *.install

I've seen lots of strange and/or bad things.

A classic is '<command> /some/path' instead of '<command> $pkgdir/some/path'

Last edited by Mr.Elendig (2010-07-04 18:58:08)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB