Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just downloaded google earth for linux (I have ubuntu). By default, all the source files went to $home. I'd like to remove them from there.
Where do you think it is best to put these files into (I'm not really familiar with the linux directories), and how can I put them there (and still be able to use the software of course).
I also have a shortcut in application -> internet, maybe this will need to be changed too.
glenn@GamesBox:~$ sh GoogleEarthLinux.bin --help
Makeself version 2.1.5
1) Getting help or info about /home/glenn/local/Archive/sources/GoogleEarthLinux.bin :
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin --help Print this message
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin --info Print embedded info : title, default target directory, embedded script ...
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin --lsm Print embedded lsm entry (or no LSM)
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin --list Print the list of files in the archive
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin --check Checks integrity of the archive
2) Running /home/glenn/local/Archive/sources/GoogleEarthLinux.bin :
/home/glenn/local/Archive/sources/GoogleEarthLinux.bin [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
glenn@GamesBox:~$
I see, thanks for the answer.
So basically, what do I need to type in ?
My GoogleEarthLinux.bin is located in $home/downloads, so i wrote cd ./Downloads ans then sh GoogleEarthLinux.bin --target /opt
The answer was :
Creating directory /opt
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 5.1.3533.1731....................................................................................... ...................................Extraction failed.
....Terminated
Depending on whether you have write-permissions to create anything in /opt, you may not be able to extract the archive to that location as a regular user. Just a guess though, since the extraction didn't tell us what the exact problem was.
Try again, but direct the extraction to a folder inside your /home/<username? directory and see if that works. If it DOES, but you still want to extract the thing into /opt somewhere, you'll need to become root, using `su` or `sudo`.
NOTE: I don't use GoogleEarth myself,. so if this advice doesn't fix the extraction issue, you may need to wait until someone who had actually gone through this, such as Glenn above, can give better guidance.
PS - FWIW, you should probably extract to a SUBFOLDER in /opt, rather to /opt itself.
Ok, I used sudo before, and it worked.
Now I'd like to update the link in application->internet, because it's still pointing to $home, and thus it cannot work. How do I do that ?
I'm sorry I didn't understand your answer. I'm not talking about the link that is on the desktop, I'm talking about the link that you can find when you click on applications on the top left corner (with ubuntu) and then internet.
If I click on it, it says error failed to execute child process "/home/elishac/googlearth/googleearth" (no such file or directory)
How do I change the path of that link ? (a right click doesn't give properties)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.