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

Re: Question: Can dpkg relocate package


I can convert the .rpm to .deb with alien and that works okay, but the scripts that run before and after install/uninstall don't run with dpkg. So I've decided that I'm better off
just creating Debian packages. But now I can't find out how I would go about
installing somewhere other than the default location. I'm even a bit sketchy on specifying the default install location. For example, if I wanted to install in /opt by default would I just create a directory structure /opt/myProgram? And if the user wants to install
it somewhere else, is there an option for this?


At 06/21/2001, Ibraheem Umaru-Mohammed wrote:
[Soraia Paz wrote...]
-| Hi,
-| I'm converting Redhat .rpm to Debian .deb. I was wondering if dpkg allows
-| you to relocate a package
-| at install time. Something similar to RPMs --prefix? If not how does dpkg
-| work? Does it just install where
-| ever you put it or based on the directory structure when the package was
-| first created?

Have you tried using alien? It attempts to handle those issues.

At the foot of the mountain, thunder:
The image of Providing Nourishment.
Thus the superior man is careful of his words
And temperate in eating and drinking.

To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: