How do I install a bin file?
Derek Broughton
news at pointerstop.ca
Thu May 29 17:24:22 UTC 2008
Pat Brown wrote:
>
> Steph wrote:
>> Wulfy a écrit :
>>> Pat Brown wrote:
>>>
>>>> How can I install a bin file from a terminal? I have GoogleEarth and I
>>>> tried installing it with the Package Manager before but though it
>>>> seemed to install would never show up anywhere as an app to run. I can
>>>> find a lot of various files when I unpack the downloaded bin file, but
>>>> I have no idea how to run them, or even what to run. Does anyone here
>>>> use GoogleEarth? I tried signing up for the GoogleEarth help list, but
>>>> the advice I got was next to useless - I could never find the files
>>>> where people said they were.
>>>>
>>>> I'm stumped. I'd like to use GoogleEarth, but it looks like I should
>>>> have kept my Windows partition to do so.
>>>>
>>>>
>>>>
>>> Why not install the deb package?
>>>
>>> wulfy at localhost:~$ apt-cache show googleearth-4.3
>>> Package: googleearth-4.3
>>> Source: googleearth
>>> ...
>>> Description: Google Earth! 4.3 - binary files
>>> The idea is simple. It's a globe that sits inside your PC. You point
>>> and zoom to anyplace on the planet that you want to explore.
>>> Satellite images and local facts zoom into view. Tap into Google
>>> search to show local points of interest and facts. Zoom to a
>>> specific address to check out an apartment or hotel. View driving
>>> directions and even fly along your route. We invite you to try it
>>> now.
>>> .
>>> .
>>> This package contains binary files for Google Earth! 4.3.
>>>
>> There is also
>> me at localhost:~$sudo aptitude show googleearth
>> ...
>> This is a meta package which allows to install Google Earth! 4.2 or
>> Google Earth! 4.3. Site : http://earth.google.com/
>>
>>
>> But how to specify 4.2 or 4.3 ??
You either get the latest, or you can download a specific file from Google
and use the --file option to install it.
>
>
> I did that, and I still don't get any executable that I can see. And the
> sudo says it can't find the package
>
Wulfy forgets how he actually did this :-) There is no "googleearth"
package unless you make it yourself (or, I suppose there may be some
illegal downloads available - but not from Ubuntu).
wget \
http://dl.google.com/earth/client/GE4/release_4_2/GoogleEarthLinux.bin
sudo aptitude install googleearth-package
sudo make-googleearth-package --file GoogleEarthLinux.bin
sudo dpkg -i googleearth*.deb
sudo aptitude -f install
googleearth
The first command gets the 4.2 version, because the 4.3 version really
doesn't work with this installer
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478785). Then install
the package builder. The next builds a .deb. Install the .deb, then run
aptitude with the -f option to get any missing dependencies.
Of course, I can't see a reason to do it this way rather than just
installing the shell script unless you're as obsessive-compulsive as I
am...
--
derek
More information about the ubuntu-users
mailing list