Cannot run an binary install file...

Asked by francisco

He bajado el programa Google Earth para Linux y está en formato binario (xxx.bin).

Mi pregunta : ¿Cómo puedo convertir ese fichero bin a otro exe, para que se pueda ejecutar ?

Gracias por adelantado.

Francisco Llorens

Question information

Language:
Spanish Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Ivan Lautaro Lemos
Solved:
Last query:
Last reply:
Revision history for this message
Guillermo Belli (glock24) said :
#1

The .bin mean binary file, the file you downloaded is an installer script, you will have to execute execute it from the terminal, and probably give it execution permissions:

chmod +x googleearth.bin
./googleearth.bin

After this the installer will run.

you can also install google earth from the medibuntu repositories; you need to add the repositories first, as instructed here:

https://help.ubuntu.com/community/Medibuntu

then install google earth like this:

sudo apt-get install googleearth-4.3

Revision history for this message
francisco (fcollorenss) said :
#2

Hello Guillermo: Thankyou for your assistance, but the results are not satisfactories.

From the terminal i do:

francisco@ubuntu:~$ chmod +x '/home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin'
francisco@ubuntu:~$

I think the result is OK becouse there are not any error.

But then i write: (two times, with ' ' and without ' ' in the file path name)

sudo apt-get install '/home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin'
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se pudo encontrar el paquete
francisco@ubuntu:~$ sudo apt-get install /home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se pudo encontrar el paquete
francisco@ubuntu:~$

¿¿¿ Wat i do badly ??

Thanks a lot Guillermo

Revision history for this message
Best Ivan Lautaro Lemos (ivancete) said :
#3

http://tombuntu.com/index.php/2007/11/28/how-to-install-google-earth-in-ubuntu/

http://www.go2linux.org/how-to-install-google-earth-debian-ubuntu

2009/4/7 francisco <email address hidden>:
> Question #66738 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/66738
>
>    Status: Answered => Open
>
> francisco is still having a problem:
> Hello Guillermo: Thankyou for your assistance, but the results are not
> satisfactories.
>
> >From the terminal i do:
>
>
> francisco@ubuntu:~$ chmod +x '/home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin'
> francisco@ubuntu:~$
>
> I think the result is OK becouse there are not any error.
>
> But then i write: (two times, with ' ' and without ' '  in the file path
> name)
>
> sudo apt-get install '/home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin'
> Leyendo lista de paquetes... Hecho
> Creando árbol de dependencias
> Leyendo la información de estado... Hecho
> E: No se pudo encontrar el paquete
> francisco@ubuntu:~$  sudo apt-get install /home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin
> Leyendo lista de paquetes... Hecho
> Creando árbol de dependencias
> Leyendo la información de estado... Hecho
> E: No se pudo encontrar el paquete
> francisco@ubuntu:~$
>
>
> ¿¿¿ Wat i do badly ??
>
> Thanks a lot Guillermo
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>

Revision history for this message
Guillermo Belli (glock24) said :
#4

Para instalar, debés escribir lo siguiente:

sh /home/francisco/Escritorio/google hearth/GoogleEarthLinux.bin

El otro comando con "sudo apt-get install" es para instalar desde los repositorios de Ubuntu, no desde el archivo que ya has bajado. Para instalar desde los repositorios, primero hay qe hacer lo que dice aquí:

https://help.ubuntu.com/community/Medibuntu

Y luego podés usar esto:

sudo apt-get install googleearth-4.3

Revision history for this message
Rolando Blanco (rolando) said :
#5

Hola,

Ten en cuenta que en Linux, un archivo es lo que es, no por su extención sino por su contenido, siendo así, la capacidad de ejecutarse o no, se debe a un tema de permisos y no de extención.

Es por ello que te ha repetido en varias oportunidades que hagas un CHMOD que es el comando para cambiar los permisos de un archivo, luego te indican que le hagas un con el CHMOD un +x esto quiere decir que le otorgues permiso de ejecución a todos.

Así el binario podrás luego ejecutarlo, sin embargo, la guia a la que te remite ivancete es tu mejor opción para entenderlo.

En lo personal, siempre prefiero usar los repositorios como lo indica Guillermo Belli.

Saludos Fraternos Ubunteros:.

Revision history for this message
francisco (fcollorenss) said :
#6

Thanks ivancete, that solved my question.

Revision history for this message
francisco (fcollorenss) said :
#7

Gracias a todos por vuestro interés en solventar mi problema. Éste no es otro que mi ignorancia en temas de manejo de Linux. Intentaré bajarme algún curso de Linux-Ubuntu y aprenderé algo sobre este sistema operativo, que es diferente, según veo, en algunos conceptos con relación al MS-DOS y Windows.
Me leí lo que ponía para poder instalar programas en Linux que facilitó Ivancete, y funcionó a la primera (paso a paso).

AGRADECIDO A TODOS.

Un saludo.

Francisco Llorens