unable to delete folder in Mandriva 2007
I installed Java to a folder on the desktop since I couldnt figure out how to gain permissions in the usr/ folder. I figured it out, but only after I installed java. according to the website, these are the directions for uninstalling it.
2. Self-extracting file uninstallation 1. Find out if Java is installed in some folder. Common locations are /usr/java/jre_<version> or /opt/jre_nb/jre_<version>/bin/java/ 2. When you have located the folder, you may delete folder. Warning: You should be certain that Java is not already installed using RPM before removing the folder. 3. Type: rm -r name. For example: rm -r jre1.5.0 However, whenever I type that, I go through this agonizingly long list of files, and folders, which the console asks me to remove. Even if I press y to every single one, nothing gets deleted. what am I doing wrong? I am in the Home.desktop/, the java folder is Home.desktop/jre1.0.5_10 So once in the Home.desktop/ I should type rm - r jre1.0.5_10 am I missing something? p.s. How do I copy the .bin file to usr/java? The copy command doesnt work in the console (msdos), and the Gui wont let me copy it either "access denied", but I gave the folder write permissions for all users under root in the console. any help? |
You have to be the root user to delete them, so switch over to the root user using su. looks something like:
su - (The dash is optional, it tells the computer to use the root user's PATH variable) (enter password) rm -r name However, one other thing is kind of bothering me. I don't understand what you mean by Home.desktop. Your desktop folder should be located at /home/(username)/Desktop/. |
Ya, your right I just figured that out. Anyways, I was logged in as root (#), and It goes through the motions of deleting the folder/files, but it doesnt.
|
try launching your file manager as root (konqueror or nautilus) and then try to delete them.
|
Hello,
Since it's a directory the below command will work. Quote:
|
All times are GMT -5. The time now is 09:00 AM. |