How can I install two versions of the same program simultaneously?

Michele m.zarri at gmail.com
Tue Apr 1 20:00:40 UTC 2008


>
>  Did you try the dpkg option --root ?
>
>  Gerald
>
I was thinking about it but I am not sufficiently proficient with
GNU/Linux and I don't know if changing the admindir to something else
is going to cause me troubles I will not be able to solve.


I have also noted the --instdir option. Here's the man entry:


--instdir=dir
              Change default installation directory which refers to the
              directory  where packages are to be installed. instdir is
              also the directory passed  to  chroot(2)  before  running
              package's  installation  scripts,  which  means  that the
              scripts see instdir as a root directory.  (Defaults to /)

       --root=dir
              Changing  root  changes  instdir  to  dir and admindir to
              dir/var/lib/dpkg.

Do you think I can get away with --instdir=/home/michele/ ?

Cheers,

Michele




More information about the ubuntu-users mailing list