I am trying to run a program from command line in ubuntu and I have a directory that is in the usr/include/ directory that I need to remove so that it will run. How can I do this from command line?
问问题
2165 次
1 回答
1
rm -r /usr/include/...
Just use that. But if you need to do that, there is something wrong with your program. If a package installed the directory, use:
sudo apt-get purge package-name
All in all, the directories directly under /usr
are under the charge of the package manager, and if you want to do things without that, use the /usr/local
dir. Changing other programs resources is a bad idea. Also, don't run anything you don't have to with sudo
. That will end badly. And what program would require the removal of a dir in /usr/include
?
于 2012-06-04T16:59:06.683 回答