Register
It is currently Wed Nov 26, 2014 2:55 am

Install Google Earth for Linux


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Tue Jun 13, 2006 12:07 am   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 673
Location: Des Moines, Iowa
Code:
#!/bin/sh
# Install Google Earth for Linux on OpenSUSE 10.1
# Created by Crouse from opensuse.us
# Downloads and Installs Google Earth also creates a desktop icon for all users on the system.
checkforroot ()
{
ROOT_UID=0
if [ "$UID" -ne "$ROOT_UID" ]
then
   echo ""
   echo "**************** ERROR !! **************"
   echo "You must be logged in as root to run this script"
   echo "Please log in as root and re-run this script."
   echo "**************** ERROR !! **************"
   exit
fi
}
checkforroot
cd /
wget http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
chmod a+x GoogleEarthLinux.bin
./GoogleEarthLinux.bin
# You can comment the line below out if you don't want to install an icon on everyones kde desktop.
for i in /home/* ;do cp /usr/local/google-earth/googleearth.desktop /$i/Desktop/googleearth.desktop; done
rm -i GoogleEarthLinux.bin
exit


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP