You are not logged in.

#1 2010-11-03 11:08:05

b0f00narch
Member
Registered: 2010-11-03
Posts: 14

[S]Is there an easy way to change install directory for package foo ?

For package sage-mathematics I would like to change the install folder from /opt to /home/user/sage-mathematics/.
Something like

 pacman -S sage-mathematics --InstallFilesHere=/home/user/sage-mathematics/ 

Is this possible ?
Why: my root partition is not big enough(7.5GB default). Installing foo package is possible but I end up with having 500MB free or my / partition.     

Kind Regards
Boris

Last edited by b0f00narch (2010-11-03 18:04:52)

Offline

#2 2010-11-03 11:18:30

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

Re: [S]Is there an easy way to change install directory for package foo ?

Not really...  you can rebuild it using ABS.

Offline

#3 2010-11-03 18:02:54

b0f00narch
Member
Registered: 2010-11-03
Posts: 14

Re: [S]Is there an easy way to change install directory for package foo ?

Yes abs is fun  I am building a package with makepkg to see if my changes in PKGBUILD take any effect later when I will try to do

 pacman -U NewPackageThatInstallsFilesToHomeDirectory 

thanks

Fastest way is to download the package with pacman and also get the dependency stuff and than just extract the tar file to any dir you want

 tar xvfJ /var/cache/pacman/pkg/foo.pkg.tar.xz -C /home/user/foo 

with this I can avoid compiling from source

Regards

Last edited by b0f00narch (2010-11-03 18:06:43)

Offline

Board footer

Powered by FluxBB