You are not logged in.

#1 2024-02-13 07:35:08

carryingweight
Member
Registered: 2022-09-18
Posts: 12

Is there a conventional place to install AUR packages to?

Right now I'm installing them to ~/.aur, however I like doing things by convention. As the title suggests, is there such a place?

Offline

#2 2024-02-13 07:43:27

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Is there a conventional place to install AUR packages to?

Packages, sure? Or PKGBUILD?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-02-13 08:38:07

dogknowsnx
Guest

Re: Is there a conventional place to install AUR packages to?

The wiki "suggests" to 'git clone' to your current directory (implying $HOME):
https://wiki.archlinux.org/title/Arch_U … uild_files

Personally I prefer my $HOME a bit tidier, hence I'm using '~/.cache/aur/' and '~/.cache/git/'.

Long story short: There's probably a considerable amount number of Arch users who picked the same path like you did...

Last edited by dogknowsnx (2024-02-13 08:59:13)

#4 2024-02-13 14:09:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Is there a conventional place to install AUR packages to?

To be clear, you're talking about where you *build* packages, not where you install them, right?

Offline

#5 2024-02-13 14:55:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Is there a conventional place to install AUR packages to?

dogknowsnx wrote:

The wiki "suggests" to 'git clone' to your current directory (implying $HOME)

It most certainly does not.  Several places note that it can be any directory of your choosing, and - in fact - the examples in the wiki use a ~/build directory, most definitely not $HOME.

I just use /tmp/.

Last edited by Trilby (2024-02-13 14:56:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#6 2024-02-13 15:09:37

dogknowsnx
Guest

Re: Is there a conventional place to install AUR packages to?

Trilby wrote:

the examples in the wiki use a ~/build directory

Ouch - that's literally one line above the link section I posted. Thanks for clearing that up smile

#7 2024-02-13 15:24:38

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 276

Re: Is there a conventional place to install AUR packages to?

I have a ~/Programs directory where I put a few app images in and other oddities. But in there I have a folder called AUR (~/Programs/AUR) where I put each git directory. I make them using makepkg -src and then use pacaman -U to install.
I also delete the .zst and build files after I build each time.

That's basically how I manage AUR stuff, I don't use any helpers.

You can do what feels right to you, as long as you remain consistent so you can manage and organise everything going forward.

Last edited by Nikolai5 (2024-02-13 15:25:33)


Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma

Offline

#8 2024-02-13 15:59:37

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 258

Re: Is there a conventional place to install AUR packages to?

I am still using /var/abs/local/ because I have been using Arch for a very long time and it just works.

Offline

#9 2024-02-14 06:27:49

carryingweight
Member
Registered: 2022-09-18
Posts: 12

Re: Is there a conventional place to install AUR packages to?

Scimmia wrote:

To be clear, you're talking about where you *build* packages, not where you install them, right?

yes, please excuse that newbie error

Offline

#10 2024-02-14 07:38:46

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: Is there a conventional place to install AUR packages to?

To add to the confusion: I build in a clean chroot using makechrootpkg using an isolated build user.
The package recipe clones lie under /home/build and I build them in /var/build/build (copied by makechrootpkg from /var/build/root).


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB