apt-get, specify installation dir

Gabriel Dragffy gabe at dragffy.com
Tue May 15 18:10:40 UTC 2007


On Tue, 2007-05-15 at 17:07 +0200, Andreas wrote:
> Hi,
> I'm going to install phpmyadmin for a user on one of the webservers, but 
>    it installs to a default dir, namely /var/www. I want it to install 
> into /data/www/phpmyadmin. I've searched high and low, but I haven't 
> found anything substancial. I can add a -o to apt-get to add 
> configuration options, but I haven't seen any options which state that I 
> can choose an installation directory, just cache and other stuff.
> 
> Is it possible to install to another directory than the default chosen 
> by the package developer?
> 
> Regards,
> Andy
> 
Not sure if it is what you're looking for. But did you look at
dpkg-divert?

-- 
Gabriel Dragffy FdA BA(Hons)


Websites by Gabe:
http://dragffy.com
http://andrew-norman.com






More information about the ubuntu-users mailing list