Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I deleted /opt directory from my Linux machine , will there be any reboot problem for machine?

share|improve this question

migrated from stackoverflow.com 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
add comment

2 Answers

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
2  
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
add comment

/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
add comment

Your Answer

 
discard

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