You are not logged in.

#1 2010-08-23 13:47:17

NewWorld
Member
Registered: 2010-02-15
Posts: 33

[SOLVED] How to install to different directory?

Hello,
I'm trying to install 'calibre' from the AUR but installation trips up on a dependancy, 'python-cssutils-beta'.
After checking that dep with namcap, it complains that it was installed in a non-standard path. Which is why (apparently) calibre compile fails - because it can't find the package.

So how do I install to a path where the dep can be found? And what path is that?

There's pacman's '--root' option, but man pages say:

This should not be used as a way to install software into ``/usr/local'' instead of "/usr".
This option is used if you want to install a package on a temporary mounted partition which is "owned" by another system.

Thank you))

Last edited by NewWorld (2010-08-24 00:55:41)

Offline

#2 2010-08-23 13:52:03

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How to install to different directory?

Is this dependency an AUR package you installed? If so, how did you install it? The PKGBUILD on the AUR looks fine at first sight.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-08-23 14:11:43

NewWorld
Member
Registered: 2010-02-15
Posts: 33

Re: [SOLVED] How to install to different directory?

.:B:. wrote:

Is this dependency an AUR package you installed? If so, how did you install it? The PKGBUILD on the AUR looks fine at first sight.

Yes, it's the dep is an AUR package. I installed as part of the install process of package 'calibre'. I reinstalled it a couple of times with 'yaourt -S'

I just tried installing 'python-cssutils', and it also installs to ~/

Offline

#4 2010-08-23 14:28:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How to install to different directory?

Sounds like something is wrong with your setup...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-08-24 00:54:06

NewWorld
Member
Registered: 2010-02-15
Posts: 33

Re: [SOLVED] How to install to different directory?

Alright, I found a half-assed fix:

In shell:   PYTHONPATH=$HOME/py-lib && export PYTHONPATH

Then I guess add ^^ that line to ~/.bashrc or else it won't find the 'cssutils' module.

EDIT: Would be great to know how to force install to /usr instead of allowing it to install to ~/

Last edited by NewWorld (2010-08-24 00:54:45)

Offline

#6 2010-08-24 05:36:16

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] How to install to different directory?

NewWorld wrote:

Alright, I found a half-assed fix:

In shell:   PYTHONPATH=$HOME/py-lib && export PYTHONPATH

Then I guess add ^^ that line to ~/.bashrc or else it won't find the 'cssutils' module.

EDIT: Would be great to know how to force install to /usr instead of allowing it to install to ~/

You could fetch the PKGBUILD via ABS and edit to your liking.

Offline

Board footer

Powered by FluxBB