When I install a program in Windows, it's need to set
one directory.
I would like make the same with packages debian.
How I can do it ?
Best regards,
Faria
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-15-2008, 11:22 AM
Norbert Preining
Change default directory in a package
Hi Faria,
this is a "development" list, not a user support list. You have higher
chances of getting responses when you ask one of the local user groups
or mailing lists.
On Di, 15 Jan 2008, Rodrigo Tavares wrote:
> When I install a program in Windows, it's need to set
> one directory.
>
>
> I would like make the same with packages debian.
I assume you mean the working directory. Changing directory to the place
you want to have as "the directory" should do it.
If you need it automatized, a small script like:
cd /pat/to/dir/you/want
start-the-program-you-want
will do it.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MUNDERFIELD (n.) A meadow selected, whilst driving past, as being
ideal for a picnic which, from a sitting position, turns out to be
full of stubble, dust and cowpats, and almost impossible to enjoy
yourself in.
--- Douglas Adams, The Meaning of Liff
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-15-2008, 12:57 PM
Rodrigo Tavares
Change default directory in a package
Hello,
When I install a program in Windows, it's need to set
one directory.
I would like make the same with packages debian.
How I can do it ?
Is there any tool for this work ?
Best regards,
Faria
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-16-2008, 12:41 PM
Rodrigo Tavares
Change default directory in a package
Hello,
When I install a program in Windows, it's need to
set one directory.
I would like make the same with packages debian.
How I can do it ?
Is there any tool for this work ?
Best regards,
Faria
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-16-2008, 01:06 PM
"Chris Howie"
Change default directory in a package
On Jan 16, 2008 8:41 AM, Rodrigo Tavares <digolinopage@yahoo.com.br> wrote:
*Hello,
*When I install a program in Windows, it's need to
*set *one directory.
*I would like make the same with packages debian.
*How I can do it ?
*Is there any tool for this work ?
The only mechanism I can think of would be to download the source package and reconfigure it with a different prefix.* This can break other packages that depend on it, however.
*
Generally you should not ever need to do this anyway.
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
01-16-2008, 02:10 PM
"Douglas A. Tutty"
Change default directory in a package
On Wed, Jan 16, 2008 at 10:41:07AM -0300, Rodrigo Tavares wrote:
> When I install a program in Windows, it's need to
> set one directory.
>
> I would like make the same with packages debian.
>
> How I can do it ?
>
> Is there any tool for this work ?
>
That's not how unix's work. Packages follow the fhs (see man hier(7)).
The other other place would be to recompile it yourself and put it in
/usr/local (but it still goes into /usr/local/bin, with libs in
/usr/local/lib), or you could put it in /opt with /opt/[package]/usr/bin
and /opt/[package]/usr/lib.
So the question is why would you go to this effort. You'd have to redo
all the work every time it needs upgrading.
Doug.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-16-2008, 02:17 PM
"Sergio Cuéllar Valdés"
Change default directory in a package
2008/1/16, Rodrigo Tavares <digolinopage@yahoo.com.br>:
> When I install a program in Windows, it's need to
> set one directory.
> I would like make the same with packages debian.
> How I can do it ?
> Is there any tool for this work ?
Hello,
Debian uses the Linux File System Standard , you can read about it
here [1] and here [2].