LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to remove opera 7.50 via konsole (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-opera-7-50-via-konsole-176809/)

revenge80200 05-01-2004 07:55 PM

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:

TheOther1 05-01-2004 09:38 PM

su to root and try it.

revenge80200 05-01-2004 10:01 PM

This may seem somewhat silly, but how? What do I enter? I am still getting broken-in, if you will, to linux.

Thanks,
Revenge.

bigrigdriver 05-02-2004 01:20 AM

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.

revenge80200 05-02-2004 11:11 AM

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.

TheOther1 05-02-2004 11:35 AM

From the top...

Open terminal
type
Code:

su -
enter root password
Code:

password
Remove the entire dir structure
Code:

rm -fr /path/to/dir/to/delete
Replace /path/to/dir/to/delete with your path. IE. /home/user1/.gnome-desktop/opera.7.5.0.scr
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

revenge80200 05-02-2004 11:48 AM

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.

TheOther1 05-02-2004 12:02 PM

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
to see the man, or help, pages on that command. IE.
Code:

man rm
will show you more than you ever wanted to know about the rm command, including switches like -fr.

- 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
HTH!

revenge80200 05-02-2004 12:07 PM

Nice.....and thanks for helping!

Revenge.

TheOther1 05-02-2004 12:10 PM

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
for a good guide on bash (that is the console environment, like DOS), look here.

vectordrake 05-07-2004 06:09 AM

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

Cygnus78 05-20-2004 03:15 AM

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.