Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a .deb which politely installs itself in /opt. For my purposes I would prefer it acted like a first-class citizen and installed itself in the regular filesystem locations.

Is there a way to do this?

This is Ubuntu 10.04.4

update

I have tried --root=/, it doesn't change the installation location.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

This is not possible without rebuilding the Debian package--which is certainly an option if you want to create your own directory hierarchy. The package was--presumably--built and tested based on the directory structure in /opt, and without knowing details about the package, it may not even be ABLE to be run without being in that directory.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.