You are not logged in.

#1 2010-09-16 02:41:48

onamattuphere
Member
Registered: 2010-09-11
Posts: 7

[SOLVED] OK to remove build directory after installing AUR package?

Howdy.
This is my first attempt at installing AUR - wasn't as intimidating as I first thought and Exfalso working fine.
I would like to know if I can safely remove the build directory with all its files in order to maintain tidyness in my "/home"-dir?

Thank you.

Last edited by onamattuphere (2010-09-16 07:03:22)


-Customer support, how may I help you?
-Hi. The cup holder on my computer isn't working. I'm pressing the button, but it's not coming out.
(True story)

Offline

#2 2010-09-16 02:43:16

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: [SOLVED] OK to remove build directory after installing AUR package?

Yes you can, but I tend to create a directory just for custom packages and place the package directories there in case I need them later on.

Last edited by codycarey (2010-09-16 02:44:09)

Offline

#3 2010-09-16 02:44:47

warenoso
Member
From: Brisbane
Registered: 2010-08-06
Posts: 76

Re: [SOLVED] OK to remove build directory after installing AUR package?

it is ok.

Offline

#4 2010-09-16 04:50:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] OK to remove build directory after installing AUR package?

makepkg has a -c option to do this automatically for you. I commonly like to use makepkg -sic:
-s = install dependencies
-i = install after (successful) build
-c = cleanup

Offline

#5 2010-09-16 06:15:09

onamattuphere
Member
Registered: 2010-09-11
Posts: 7

Re: [SOLVED] OK to remove build directory after installing AUR package?

Thanks for great replies.

codycarey: Will it suffice to just store the pkg.tar.xz-file if I want to keep the package for future offline re-installs?


-Customer support, how may I help you?
-Hi. The cup holder on my computer isn't working. I'm pressing the button, but it's not coming out.
(True story)

Offline

#6 2010-09-16 06:22:50

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: [SOLVED] OK to remove build directory after installing AUR package?

onamattuphere wrote:

Thanks for great replies.

codycarey: Will it suffice to just store the pkg.tar.xz-file if I want to keep the package for future offline re-installs?

Yeah, if you pacman -R the package and then want the exact same thing later on you can just pacman -U the *.tar.gz again.

Offline

#7 2010-09-16 08:36:48

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] OK to remove build directory after installing AUR package?

codycarey wrote:
onamattuphere wrote:

Thanks for great replies.

codycarey: Will it suffice to just store the pkg.tar.xz-file if I want to keep the package for future offline re-installs?

Yeah, if you pacman -R the package and then want the exact same thing later on you can just pacman -U the *.tar.gz again.

However if that's later on and your system has updated some libs the package depends on you may not be able to get it to work. Perhaps better (depending on the package) to keep a copy of the source, because some packages need recompiling to work (for example, the nvidia-beta drivers once a kernel updates need to be re-'compiled'.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2010-09-16 11:50:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] OK to remove build directory after installing AUR package?

onamattuphere wrote:

codycarey: Will it suffice to just store the pkg.tar.xz-file if I want to keep the package for future offline re-installs?

You might like to look at PKGDEST and SRCDEST in /etc/makepkg.conf to have makepkg store all your built packages in a common location for you.

Offline

Board footer

Powered by FluxBB