Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

binary install file on debian

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1070
Location: Worcestershire

PostPosted: Tue Oct 15, 2013 12:41 pm    Post subject: binary install file on debian Reply with quote

FlightCrew is an ePub book file validator. It is available for 64-bit Linux from here, as a .bin "install file".

I never met one of those before, just rpm and deb. How do I install it on a Debian system, preferably via the desktop software tools so it gets hooked into debian's dependency management and all those good things?
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8452
Location: Warrington, UK

PostPosted: Tue Oct 15, 2013 1:42 pm    Post subject: Reply with quote

It's an executable, like installing to Windows with an .exe file.

Code:
chmod +x FlightCrew-0.7.2-Linux-x86_64-Setup.bin
./FlightCrew-0.7.2-Linux-x86_64-Setup.bin


Quote:
preferably via the desktop software tools so it gets hooked into debian's dependency management and all those good things?


You don't, the package manager won't know about it because it's an executable, like installing to Windows with an .exe file Sad

You could try filing a package request on your distro's bug tracker.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1070
Location: Worcestershire

PostPosted: Tue Oct 15, 2013 4:53 pm    Post subject: Reply with quote

nelz wrote:
It's an executable, like installing to Windows with an .exe file.

Code:
chmod +x FlightCrew-0.7.2-Linux-x86_64-Setup.bin
./FlightCrew-0.7.2-Linux-x86_64-Setup.bin




guy@hostname:~/Downloads$ chmod -x FlightCrew-0.7.2-Linux-x86_64-Setup.bin
guy@hostname:~/Downloads$ ./FlightCrew-0.7.2-Linux-x86_64-Setup.bin
bash: ./FlightCrew-0.7.2-Linux-x86_64-Setup.bin: Permission denied

Sad

Do I need to sudo or move it to somewhere magic or what?
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8452
Location: Warrington, UK

PostPosted: Tue Oct 15, 2013 5:07 pm    Post subject: Reply with quote

chmod +x, not chmod -x

You need to add executable permission, not remove it.

As to whether it needs root permissions to run, you'll have to try it. I'd try as a normal user first, in which case it will either install to your home directory or complain about needing root permissions.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
roseway
LXF regular


Joined: Thu Jan 18, 2007 2:27 pm
Posts: 445

PostPosted: Tue Oct 15, 2013 7:05 pm    Post subject: Reply with quote

I don't know whether this will work, but you might try using checkinstall:

checkinstall FlightCrew-0.7.2-Linux-x86_64-Setup.bin

Checkinstall works by wrapping up the installation files in a .deb or .rpm package, depending on the host system.
_________________
Eric
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1070
Location: Worcestershire

PostPosted: Tue Oct 15, 2013 7:16 pm    Post subject: Reply with quote

nelz wrote:
chmod +x, not chmod -x

D'oh! I knew that! Embarassed

Now installed.
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1070
Location: Worcestershire

PostPosted: Wed Oct 16, 2013 5:18 pm    Post subject: Reply with quote

Installed but baffling. It installed a desktop icon which launches the gui: /home/guy/flightcrew/flightcrew-gui.sh

But clicking the icon or running flightcrew-gui.sh directly has no visible effect, i.e. no gui gets launched that I can see. Tried from bash and got:
Code:
guy@hostname:~/flightcrew$ ./flightcrew-gui.sh
/home/guy/flightcrew/./flightcrew-gui: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/guy/flightcrew/./flightcrew-gui)


Here is the contents of flightcrew-gui.sh:

Code:
#!/bin/sh

# Entry point for FlightCrew-gui on Unix systems.
# Adds the directory the FlightCrew-gui executable is located
# in to the LD_LIBRARY_PATH so the custom Qt libs
# are recognized and loaded.

appname=`basename $0 | sed s,\.sh$,,`

dirname=`dirname $0`
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
#if no agruments are passed then call just FlightCrew-gui program; else pass arguments.
if [$* == ""]
then
$dirname/$appname
else
#argument may not be pass correctly without qoutation marks.
$dirname/$appname "$*"
fi


I use Gnome2, so am I right in thinking this is the gates of QT dependency hell? Or is there an easy way?
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8452
Location: Warrington, UK

PostPosted: Wed Oct 16, 2013 5:22 pm    Post subject: Reply with quote

It's far more serious than that, it wants a different version of glibc from what you have running.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1070
Location: Worcestershire

PostPosted: Wed Oct 16, 2013 5:40 pm    Post subject: Reply with quote

Okaay, I think I'll wait for the Wright brothers to fix it. Many thanks, anyway.
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast