How to remove opera 7.50 via konsole
I decided to give the Opera 7.50 beta a chance and compiled it via the konsole, as root. Well, can't say that I care for it and now want to remove it, but how? I would like to do it via konsole, though, I'm a bit lost as to how to go about doing it.
I tried just selecting the file folder, which is on my desktop, and deleting it, though I get the following message: Access denied to /home/eek/Desktop/opera/LICENSE. I found and read :study: the article in Linuxquestions.org, under the search Permissions, but I'm still a bit lost on how to change the permissions so that I can just toss the thing is the trash bin. Thanks for the help! Revenge. :newbie: |
su to root and try it.
|
This may seem somewhat silly, but how? What do I enter? I am still getting broken-in, if you will, to linux.
Thanks, Revenge. |
Linux requires that you set up a minimum of two user accounts when you install: the root (superuser, read administrator) and normal user. The normal user can't do serious damage to the system (only his/her own filespace), unless you give the user permissions to access files he/she shouldn't have access to. The root user has access to everything, which is why you should not log in as root for everyday tasks. It you get access denied errors, it's because you need to have root access privileges to make some change. The command su ('SuperUser' or 'SwitchUser' depending on who you ask) will allow you to temporarily give yourself root privilege to execute a command. Use it this way: Open a terminal. Type in su and press <enter>. You will be prompted for the root password. Type in the root password, and you are root. If you do something to kill your system, too bad. You did it as root. When you are finished doing whatever, DON'T hang around as root. Type the word 'exit' and press <enter> to exit root privilege.
|
Bigrigdriver, thanks for helping.
Just one more thing: How do I go about deleting the program and or files? I su to root and can find my way around, but how do I delete something? I took a look the the <help> in the konsole and was unable to find anything that jumped out at me. I think that I am still trying to work it like Microsoft. Or, do I just need to change the permissions from root and then just drag the folder to the trash bin? Thanks again! Revenge. |
From the top...
Open terminal type Code:
su - Code:
password Code:
rm -fr /path/to/dir/to/delete This will remove the entire directory structure and everything underneath it. Also note that Linux is case sensitive. /home/user1 is not the same as /home/User1 Very important step, as BigRig points out, exit from root! Code:
exit |
Yup, that did it! Thanks for the hand.
So, if I want to do anything via the konsole, I can just keep looking through the <help> part? Or is there a better site to learn from? Thanks again, Revenge. |
You might want to look here for some common commands and comparison to DOS commands. Once you find a command you want to use, type
Code:
man command Code:
man rm - means use the following arguments, f means force instead asking for confirmation on every file/dir, r means recursive, meaning delete this and everything underneath it. There is also more than one way to do it, as you will find. You can do this: Code:
rm --force --recursive /path/to/desired/dir |
Nice.....and thanks for helping!
Revenge. |
P.S. You can also chain commands using the pipe or | symbol. For instance if you wanted to find the word BOB in a file but only wanted lines that contained SMITH but not JOHN, you could do this:
Code:
cat file | grep BOB | grep SMITH | grep -v JOHN |
Can I ask what commands you used to install Opera in the first place? I didn't realize there was a source install.
All things Linux on the command line: right here |
Just wanted to add that when you look for a command you don't know the name of 'man -k' is your friend.
F.ex. 'man -k mp3' on my system showed the command lame which you can use to create mp3's. /Daniel |
All times are GMT -5. The time now is 05:29 PM. |