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 deleted /opt directory from my Linux machine , will there be any reboot problem for machine?

share|improve this question

migrated from Jun 8 '10 at 12:08

This question came from our site for professional and enthusiast programmers.

Which distribution? – muksie Jun 8 '10 at 12:00

There shouldn't be. /opt should not contain any vital system software, but optional software. As long as you didn't wipe out /usr/bin, or /usr/sbin, you should be okay. Of course, this may vary by distribution.

share|improve this answer
Although if you have added any executables or data from /opt to the startup scripts there could be errors in the scripts but it should still boot. – Mark Jun 8 '10 at 12:31

/opt, traditionally, is defined by the file system hierarchy standard as for 'optional application suite software' back then staroffice used it for installation of software, and usually these software are installed by the user, not bundled in the distribution of linux.

Thus, if you know that there is nothing inside, you can safely delete it. this should not create problem during rebooting as it is really unusual for the init scripts to touch on /opt.

share|improve this answer

You must log in to answer this question.