LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-31-2009, 10:31 PM   #1
Indy452
Member
 
Registered: Jul 2008
Location: Kansan
Distribution: solydK
Posts: 78

Rep: Reputation: 16
How do I COMPLETELY remove a program in Mint6?


I somehow managed to ruin my favorite browser, Opera. I managed to remove some of the tools somehow and its not functioning properly. I want to start from scratch with it and no matter how many times I remove it from synaptic or software manager It installs the same. I need to get into the repositories or something and completely remove it from my OS and download and install it from scratch because the synaptic is not completely removing it.

Anybody have any ideas I can try?
 
Old 04-01-2009, 03:07 AM   #2
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
g'day Indy,

I suggest synaptic and right click "complete remove package". As you have worked out however, the original package file is still sitting there as it was downloaded in the first place and each time you try to do a fresh install it simply reopens the same package. This is great if you want to save download time.

There are a couple of tricks I use to delete these lurking files. I am NOT a guru but I feel your pain and would like to suggest this:

1) Completely remove as suggested in Synaptic, then....
2) Follow the cleanup processes suggested in this link.
http://ubuntuforums.org/showthread.php?&t=140920
3. Alternatively, go to terminal and type "locate Opera" and it will show you all the files related to Opera. Delete them one by one using a nautilus in root mode. Its a crude way to do it, but it works. I might add that it could break your system if the files you delete is somehow important to the broader OS functions.

Some guru might chip in with a simpler solution.

I wish there were some tool to do this other than the above.

Regards
John
 
Old 04-01-2009, 03:35 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Running, with root privileges,
Code:
apt-get clean
should get rid of the local package cache, thus forcing apt to download the packages instead of using a local copy (that doesn't exist anymore). Removing a package might leave some files behind (for example configuration files, so if you reinstall the same package, you haven't lost your configuration), but if you use 'purge' instead of 'remove', that should do the trick:
Code:
apt-get purge packagename
It should be the same as
Code:
apt-get remove --purge packagename
If you still have problems after this, make sure it's not because of something else than the Opera package..

If you get a hold of the .deb package and download it manually, you could also just
Code:
dpkg -i packagename.deb
in the directory where the package is in, to force installation of that specific package file.
 
Old 04-01-2009, 04:39 AM   #4
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
Thanks Bouncer, I knew there would be a proper way to do this.

John
 
Old 04-01-2009, 10:15 AM   #5
Indy452
Member
 
Registered: Jul 2008
Location: Kansan
Distribution: solydK
Posts: 78

Original Poster
Rep: Reputation: 16
Thanks for the replys. I believe this will work but I am unable to run commands as root. How do I become root in Mint?

I am the admin, but I guess that does not matter? Anyway If you can tell me how to become root in the terminal I should be O.K.

Thanks.
 
Old 04-01-2009, 10:28 AM   #6
FewClues
Member
 
Registered: Jul 2005
Location: Mission TX
Distribution: Ubuntu, Mint
Posts: 122

Rep: Reputation: 20
You simply enter sudo before the command. You can lock on your root privileges by entering sudo su But be vewy vewy careful!
 
Old 04-01-2009, 10:02 PM   #7
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
Just a bit more,

Quote:
You simply enter sudo before the command
then it will ask you to type your root password. Hit enter and it will do the rest.


Regards
John
 
Old 04-01-2009, 10:28 PM   #8
Indy452
Member
 
Registered: Jul 2008
Location: Kansan
Distribution: solydK
Posts: 78

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by b0uncer View Post
Code:
apt-get clean
I want you to know that this worked and I was able to download Opera again BUT....It installed in the same place I left off. Aghhhhh! Whatever.....I give.

Its really not that big of deal, I can use firefox just as well but I like Opera for some strange reason.

I may even reinstall my system from scratch because thats the kind of person I am. (learn from my mistakes) That should get me back to square one. I have everything backed up at all times, so no biggie there.

Thanks.
 
Old 04-01-2009, 11:47 PM   #9
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
Indy,

that sounds like your config files might need deleting. I'm guessing they might be in something like your home directory as a hidden folder called ./opera. Save these files somewhere (using a different folder name) and delete the folder and do a reinstall of Opera. See if that fixes it. Once you have Opera the way you like it you might be able to grab your bookmarks etc. from the saved ./opera folder

Regards
John
 
Old 04-02-2009, 09:18 AM   #10
Indy452
Member
 
Registered: Jul 2008
Location: Kansan
Distribution: solydK
Posts: 78

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by heffo_j View Post
Indy,

that sounds like your config files might need deleting. I'm guessing they might be in something like your home directory as a hidden folder called ./opera. Save these files somewhere (using a different folder name) and delete the folder and do a reinstall of Opera. See if that fixes it. Once you have Opera the way you like it you might be able to grab your bookmarks etc. from the saved ./opera folder

Regards
John
Thanks, Where would I go in my filesystem to delete these troublesome files? I opened my "filesystem" and searched "Opera" and a bunch of opera related files became available but I'm unsure which ones to delete? Should I delete them all then re-download Opera and go from there, or what?

Thanks for the help!
 
Old 04-03-2009, 04:48 AM   #11
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
Indy,

I'm reluctant to say to delete all of the files in the ./opera folder as some of them are likely to be your bookmarks. If these are not important to you though, (along with other personal settings), then after uninstalling Opera through Synaptic, I recommend deleting the whole ./opera folder. When you reinstall, it will recreate the folder with fresh error free settings.

Another alternative is to go to the Opera forum (I am assuming there is one) and ask there what file names contain the bookmarks(you might be able to do this your self by simply trying to open them with gedit). Save these and then delete the ./opera folder. Once the new folder is loaded under the new install, save the newly installed bookmark folder (with another name) and replace it with your old one (using the Opera official name). Assuming this is not the offending file, this should fix your problem.

Either of these will do the job, depending on how precious your bookmarks are to you. If it were me, I would take the first option and start my bookmarks again.

Best of luck
John
 
Old 04-03-2009, 05:20 AM   #12
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
Posts: 123

Rep: Reputation: 19
Quote:
Originally Posted by Indy452 View Post
Thanks, Where would I go in my filesystem to delete these troublesome files? I opened my "filesystem" and searched "Opera" and a bunch of opera related files became available but I'm unsure which ones to delete? Should I delete them all then re-download Opera and go from there, or what?

Thanks for the help!
any file that starts with a dot(.) is a hidden file. type
Code:
ls -a
to see also the hidden ./opera in your /home/<user> directory
 
Old 04-03-2009, 06:06 AM   #13
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
Hi Jrecortel,

Kumusta,

Thanks for jumping in and helping.

Salamat.

John
 
Old 04-03-2009, 08:07 AM   #14
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
Posts: 123

Rep: Reputation: 19
Quote:
Originally Posted by heffo_j View Post
Hi Jrecortel,

Kumusta,

Thanks for jumping in and helping.

Salamat.

John
walang anuman
 
Old 04-10-2009, 04:36 PM   #15
McLovin
Linux Mint
 
Registered: Mar 2009
Distribution: LinuxMint
Posts: 9

Rep: Reputation: 0
indy, you have to enter the commands like this,
Code:
sudo apt-get remove --purge opera
then do
Code:
sudo apt-get purge opera
then do
Code:
sudo apt-get clean
then, go to our home folder, hit ctrl+h to show hidden files, and delete your .opera folder there, that will remove the settings you had, and start from scratch again.
 
  


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
How Do I Completely Remove Totem? taurusx5 Linux - Software 6 09-10-2008 05:06 PM
How do I completely remove GRUB? AhrenBa Linux - Distributions 1 07-19-2006 11:32 AM
command to completely remove a program? dr_zayus69 Linux - Software 1 12-18-2004 04:18 PM
completely remove all traces of a program?? wrat Linux - Newbie 3 07-31-2004 05:59 PM
completely remove a program edigital Linux - Software 3 02-21-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:06 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