Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been installing MySQL on a server recently and I had to edit many files and change ownerships only move the data files from their default location to some other partition.

Why is it different from installing it on Windows for instance ? Specifying MySQL data files is a very reasonable need and the same goes for another applications.

It's very annoying and I need to know why I'll always have to deal with this !

share|improve this question

closed as not constructive by Ignacio Vazquez-Abrams, studiohack Aug 1 '12 at 1:05

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Try using symlinks instead of moving things away from where they should be. – Michael Hampton Aug 1 '12 at 1:32
up vote 2 down vote accepted

That's the Linux way.

The package manager installs all packages. It is essential to do this in order to easily upgrade and remove packages and keep track of dependencies. No package manager uses installer of a specific software package. While configuring packages sometimes users are asked question. But mostly these questions are aimed for understanding desired behavior by the user, or for learning essential information for package to work correctly.

Beyond this, the goal is always to install a package with minimum configuration and providing that a normal user does it without any effort. Linux package managers never ask users questions on non-standard behavior (like storing MySQL data files in a custom directory). If you are willing to do some specific stuff you should go into configuration files.

You might feel that the effort for configuration is too high. But be assured that mostly it is not, and the benefit of simplicity is a worthy gift.

share|improve this answer

Because Linux has the FHS and Windows does not. A place for everything, and everything in its place.

share|improve this answer
I understand that Linux has a FHS and AFAIK even each distribution adds it's own touch. But won't it allow me to relocate MySQL data files for example ? I'm not discussing MySQL in specific, I'm just giving an example. Some applications needs to be configured while installation to serve the user's requirements. – Muhammad Gelbana Jul 31 '12 at 23:45
@Muhammad: This question was already verging on NaRQ; adding that bit pushes it clean over. – Ignacio Vazquez-Abrams Jul 31 '12 at 23:46
NaRQ ? And I really tried to find an answer before posting it here but all I mainly found was "Where is ** installed" or "How to find the installation path for **" – Muhammad Gelbana Jul 31 '12 at 23:49

Not the answer you're looking for? Browse other questions tagged .