LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News
User Name
Password
Linux - News This forum is for original Linux News. If you'd like to write content for LQ, feel free to contact us.
All threads in the forum need to be approved before they will appear.

Notices


Reply
  Search this Thread
Old 07-06-2006, 03:30 PM   #16
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31

By default it places the system wide files in /usr/local/google-earth and user specific stuff in ~/.googleearth . There will also be a symbolic link in /usr/local/bin
named googleearth which is linked to /usr/local/google-earth/googleearth

Delete all of the above.
 
Old 07-07-2006, 01:33 AM   #17
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
My installation has an "uninstall" script in the google-earth directory. The other thing I noticed while looking at that script is that apparently the installer is a Loki-style installer. So there will also be an entry in ~/.loki for google-earth.

I've never had any need to uninstall it but the process is there. I looked it over briefly and it seems to uninstall everything by overwriting its own process with something called "loki-uninstall -v"

The uninstall script is commented as "Generated by SetupDB 1.6"

Can someone confirm this so I don't sound foolish?

But that is what it has set up on my system.

It might be worth looking into.

EDIT:
Quote:
Originally Posted by gkiagia
There is an uninstall shell script in the installation directory.
Sorry... I made my post before I saw yours. Let the record show that gkiagia mentioned this here before I did...

Last edited by zetabill; 07-07-2006 at 01:37 AM.
 
Old 07-07-2006, 07:15 AM   #18
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Quote:
Originally Posted by Carlwill
I just want to remove this application which is not working..anyone know how to remove?
I will tell it in a simpler way:
Code:
cd /path/to/google-earth
./uninstall

Last edited by gkiagia; 07-07-2006 at 07:19 AM.
 
Old 07-07-2006, 08:48 AM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
FYI, The podcast Floss Weekly had an interview with Ryan Gordon, who ported Google Earth to Linux.
http://twit.tv/floss8
 
Old 07-08-2006, 03:04 AM   #20
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
not that good it seems! Late and bad. google is just a search engine after all atlease for linuxusers.
 
Old 07-11-2006, 07:30 AM   #21
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Quote:
Originally Posted by gkiagia
I will tell it in a simpler way:
Code:
cd /path/to/google-earth
./uninstall
Code:
cwilliams@cwilliams:~$ su -
Password:
cwilliams:~# cd /home/cwilliams/google
googleearth   google-earth/
cwilliams:~# cd /home/cwilliams/google-earth/
cwilliams:/home/cwilliams/google-earth# ./uninstall
Could not find a usable uninstall program. Aborting.
 
Old 07-11-2006, 06:54 PM   #22
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
@ Carlwill

I ran into the same problem as you did.
Code:
Could not find a usable uninstall program. Aborting.
I was a bit stumped at first and started doing all this unnecessary sifting and testing. I got it to work however.

Try executing the uninstall script as the user that installed the program. I'm assuming that because your install directory is within your home directory that you did not install it as root. The problem is that the uninstall script executes the loki uninstall program, which is located in
Code:
~/.loki/installed/bin/Linux/x86
where the home directory belongs to the user who installed the program. Since I did not install google-earth as root, there is no /root/.loki directory. So by calling the uninstall script as root... especially if you 'su -' rather than 'su'... it will not find the ~/.loki directory. Most importantly, there is a file, google-earth.xml, in that directory that links to the xml file created by the google-earth installer that is the repository for the files it installed.

Also of note: The ~/.googleearth directory (not the program folder, the cache and whatnot) is not removed by the uninstaller because it is created when the program is first run by the user, and not created by the installer.

The ~/.loki directory also remains.

Hope this helps!
 
Old 07-12-2006, 09:06 AM   #23
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Man - sometimes the most annoying problem has the basic solution. Thank you very much!

Code:
cwilliams@cwilliams:~/google-earth$ ./uninstall
Product: Google Earth
Installed in /home/cwilliams/google-earth
Uninstalling desktop menu entries...
Uninstalling mimetypes...
Running /usr/bin/update-mime-database /home/cwilliams/.local/share/mime
***
* Updating MIME database in /home/cwilliams/.local/share/mime...
Wrote 0 strings at 20 - 20
Wrote aliases at 20 - 24
Wrote parents at 24 - 28
Wrote literal globs at 28 - 2c
Wrote suffix globs at 2c - 34
Wrote full globs at 34 - 38
Wrote magic at 38 - 44
Wrote namespace list at 44 - 48
***
Google Earth has been successfully uninstalled.
 
Old 07-12-2006, 07:19 PM   #24
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
Quote:
Originally Posted by Carlwill
Man - sometimes the most annoying problem has the basic solution.
Absolutely!!!

Like I said in my post I
Quote:
Originally Posted by zetabill
started doing all this unnecessary sifting and testing
before I got it to work. And I actually got it to work by accident! I had to reinstall the damn thing just to make sure of what I actually did. But I had started out by going line-by-line in the uninstall script and reading up on bash scripting, etc. etc.

Anyway I'm glad I was able to help. Hope you'll get it to work eventually. Either way, Google Maps is almost as good if you can't get the software to work. It just doesn't have all the really cool extras like 3D buildings and such. Plus, Google Maps has completely taken over from Mapquest for me. Mapquest is dead to me now.
 
Old 04-03-2007, 10:43 AM   #25
gregconquest
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 1
Thumbs up uninstalling google earth

Quote:
Originally Posted by gkiagia
I will tell it in a simpler way:
Code:
cd /path/to/google-earth
./uninstall
Thanks, gkiagia. This worked great for me. Google Earth was crashing on kubuntu 7.04 beta.
Greg Conquest
 
Old 04-07-2007, 05:43 PM   #26
smaaz
LQ Newbie
 
Registered: Apr 2007
Location: Germany
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Carlwill
Man - sometimes the most annoying problem has the basic solution.
You where not the only one with this problem

Last edited by smaaz; 04-07-2007 at 05:49 PM.
 
Old 05-17-2007, 09:15 PM   #27
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
I found the uninstall script, but it is not working. Does anyone know why?

Code:
chris@ubuntu:/opt/google-earth$ sudo ./uninstall 
Could not find a usable uninstall program. Aborting.
chris@ubuntu:/opt/google-earth$
 
Old 05-17-2007, 09:24 PM   #28
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Okay, I got it uninstalled except that I had a problem with xprop. If I had known it was going to give me the error, I would have set my DISPLAY variable to :0 before running the script. Why would xprop be needed in an uninstall script?
Code:
chris@ubuntu:/opt/google-earth$ sudo ./uninstall 
Could not find a usable uninstall program. Aborting.
chris@ubuntu:/opt/google-earth$ ./uninstall 
Could not find a usable uninstall program. Aborting.
chris@ubuntu:/opt/google-earth$ sudo su -
root@ubuntu:~# cd /opt/google-earth/
root@ubuntu:/opt/google-earth# ./uninstall 
Product: Google Earth
Installed in /opt/google-earth
Uninstalling desktop menu entries...
xprop:  unable to open display ''
usage:  xprop [-options ...] [[format [dformat]] atom] ...

where options include:
    -grammar                       print out full grammar for command line
    -display host:dpy              the X server to contact
    -id id                         resource id of window to examine
    -name name                     name of window to examine
    -font name                     name of font to examine
    -remove propname               remove a property
    -set propname value            set a property to a given value
    -root                          examine the root window
    -len n                         display at most n bytes of any property
    -notype                        do not display the type field
    -fs filename                   where to look for formats for properties
    -frame                         don't ignore window manager frames
    -f propname format [dformat]   formats to use for property of given name
    -spy                           examine window properties forever

Uninstalling mimetypes...
xprop:  unable to open display ''
usage:  xprop [-options ...] [[format [dformat]] atom] ...

where options include:
    -grammar                       print out full grammar for command line
    -display host:dpy              the X server to contact
    -id id                         resource id of window to examine
    -name name                     name of window to examine
    -font name                     name of font to examine
    -remove propname               remove a property
    -set propname value            set a property to a given value
    -root                          examine the root window
    -len n                         display at most n bytes of any property
    -notype                        do not display the type field
    -fs filename                   where to look for formats for properties
    -frame                         don't ignore window manager frames
    -f propname format [dformat]   formats to use for property of given name
    -spy                           examine window properties forever

Running /usr/bin/update-mime-database /root/.local/share/mime
/usr/bin/update-mime-database: I don't have write permission on /root/.local/share/mime.
Try rerunning me as root.

Aborted
Google Earth has been successfully uninstalled.

root@ubuntu:/opt/google-earth#

Last edited by fakie_flip; 05-17-2007 at 09:25 PM.
 
Old 08-10-2007, 03:53 PM   #29
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Rep: Reputation: 30
Um, i am running Slackware 12 on a GeForce4 MX 4000 nvidia card. I got 96.3 driver version. And still get the same error our good friend here specified. Any ideas? I suppose i have to tell the install i am using X11, but how?

Thanks in advance.
 
Old 08-11-2007, 05:46 AM   #30
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
What problem are you reffering to?

If you are talking about xprop, xprop seems to be used internally by loki (which is used internally by the google-earth uninstall script) and it is passed the $DISPLAY environment variable as an argument. However, if a user becomes root with "su -", the $DISPLAY environment variable does not exist in the root shell, and that's not a bug! This is how it should behave!
So, if you just do "su" and then uninstall google-earth it should work.

If that's not the case (I see that fakie_flip is using ubuntu, so he must have logged in as root using "sudo -i"), I suspect it being a bug or a bad configuration option in sudo.

@fakie_flip: xprop is needed because loki shows a progress dialog on X, if it finds a working xserver.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Earth Beta for Linux celticgeek General 20 06-14-2006 04:46 PM
google earth for linux? bruno buys Linux - Software 11 06-14-2006 03:00 PM
LXer: Google the Earth with Linux LXer Syndicated Linux News 0 06-13-2006 03:54 PM
Google Earth for Linux AxeZ Linux - Software 2 06-13-2006 11:46 AM
Google Earth for Linux depam Linux - Software 6 03-23-2006 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News

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