LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2004, 07:55 PM   #1
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
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 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.


 
Old 05-01-2004, 09:38 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
su to root and try it.
 
Old 05-01-2004, 10:01 PM   #3
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

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

Thanks,
Revenge.
 
Old 05-02-2004, 01:20 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 05-02-2004, 11:11 AM   #5
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
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.
 
Old 05-02-2004, 11:35 AM   #6
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
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
 
Old 05-02-2004, 11:48 AM   #7
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
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.
 
Old 05-02-2004, 12:02 PM   #8
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
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!
 
Old 05-02-2004, 12:07 PM   #9
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
Nice.....and thanks for helping!

Revenge.
 
Old 05-02-2004, 12:10 PM   #10
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
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.
 
Old 05-07-2004, 06:09 AM   #11
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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
 
Old 05-20-2004, 03:15 AM   #12
Cygnus78
LQ Newbie
 
Registered: May 2004
Location: Norway
Distribution: RedHat 9
Posts: 9

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't remove opera...rpm says not installed hlpboplz Linux - Newbie 3 05-27-2005 05:34 AM
Remove konsole messages heema Slackware 2 07-15-2004 08:12 PM
Konsole??? suselinux9 Linux - Software 0 04-11-2004 03:39 PM
Importing opera bookmarks to opera problem timsch75 Linux - Software 3 03-20-2004 08:10 PM
opera not working; reinstall of opera no help CamelofCamelot Linux - Software 1 02-05-2004 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration