[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: user based package manager?



Am 2007-03-19 07:51:28, schrieb Jeff Zhang:
> >dpkg/apt/aptitude are designed to install *system* packages.
> >
> >If you want to install user-specific packages, build from source.
> 
> 
> Yes, it is what I'm mean about things after building and installing.

You need to reverse engineer the "debhelper", e.g. "dh_manpages" which
normaly install in /usr/share/man which must be changed to /man and if
installed in the HOME it is ${HOME}/man and a standad location.

Also dpkg-buildpackage so it can extract the files into a temporary location and then there
must be a script (in addition to "preinst" and "postinst") which move
the temporary target to $HOME.

It is possibel since I have one, but I must say: "It works for me!"
and it is not for public use.  I call it tdinstall which simply create
renamed tgz archives => .tdd

Please look <http://www.freedesktop.org/> for an implemantation of
$USER install pathes inside of ${HOME} like

${HOME}/bin
        etc
        fonts
        log
        man
        tmp
        var

Other standard pathes are:

${HOME}/.Xresources
        .Xresources/de
        .Xresources/de_DE
        .Xresources/de_DE@uUTF-8
        .icons
        .icons/default
        .icons/default/cursors
        .icons/<xresource>/cursors


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: