[blfs-support] what is “DESTDIR” method

Sainadh J jsainadh at ymail.com
Mon Nov 17 09:08:43 PST 2014

On Tuesday, 18 November 2014 2:00 AM, Armin K. <krejzi at email.com> wrote:

On 17.11.2014 17:55, Sainadh J wrote:

> Hello,
> while installing the packages i saw 
> If you installed the package on to your system using a “DESTDIR” method, an important file was not installed and must be copied and/or generated. Generate it using the following command as the root user: 
> gtk-query-immodules-2.0 --update-cache
> what is meant by?i am confusing about this whether i installed  it or not? could any body please give me a clarity about this?thanks in advance.

TL;DR If you don't know what DESTDIR method is then you probably don't
need to be worrying about the note at all.

>But, I'll try to clarify it a bit:

>DESTDIR method generally means that a package wasn't installed to root
>fs using make install, but rather was installed somwehere else, by using
>"make install DESTDIR=/path/to/whatever" (equivalents to DESTDIR apply
>too, since not every package uses DESTDIR, there are similar env vars
>which do more or less the same) and using certain package managing
>methods (optinonally) modified and copied (read: installed) to the root
>fs (/).

>This is how most, if not all package managers work - they build a
>package, install it to a destdir (sometimes also refered to as "fake
>root"), did some modifications (if any), created a binary package (using
>many ways) and let the user install it to their system (root partition,
>/) using a package manager.

>Note: My last name is not Krejzi.

Thanks for your replay.so this option is our choice right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20141118/c581cce1/attachment.html>

More information about the blfs-support mailing list