I accidentally removed /usr/local/ directory. I have not reboot or anything. I am now root.
Do I have to install ubuntu again or just create a new user?
Thanks.
If you've just removed /usr/local
, it is not critical. That directory is intended for local installations (i.e. packages installed outside the package management system, APT). You do not need to recreate it, programs that need it are supposed to install it themselves.
rm
orrm -r
? ifrm
:/usr/local/
should only have directories so it should not have deleted anything ;)