Questions tagged [binary]

Questions involving binary file format, like the executables among others.

In general, any file format for digital data that does not consist of a sequence of printable characters (text). The term is often used for executable machine code.

A common class of binary files is programs in machine language ("executable files") ready to load into memory and execute. Binary files may also be used to store data output by a program, and intended to be read by that or another program but not by humans. Binary files are more efficient for this purpose because the data (e.g. numerical data) does not need to be converted between the binary form used by the CPU and a printable (ASCII) representation.

164 questions
86
votes
8 answers

Global Installation of Composer (manual)

I followed composer manual (global installation of composer (manual)) to install composer on Ubuntu. $ ll /usr/local/bin/ total 4760 drwxr-xr-x 2 root root 4096 2012-03-29 08:29 ./ drwxr-xr-x 10 root root 4096 2011-04-26 00:50 ../ -rwxr-xr-x …
umpirsky
  • 3,852
48
votes
7 answers

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone help? $ file um um: ELF 64-bit LSB executable,…
user87654
  • 481
  • 1
  • 4
  • 3
27
votes
4 answers

What are some good GUI binary viewers/editors?

What are some GUI applications that will let me view and edit binary files (executables, images, etc.).
17
votes
1 answer

error while loading shared libraries, file too short

From one of my customers I got an application. When I try to run it I got following error error while loading shared libraries: ./libvtkWidgets.so.5.4: file too short In my project structure I see following: -rwxrwxrwx 1 tomasz tomasz 20…
tommyk
  • 4,556
16
votes
3 answers

Is linux binary universal to all kinds of distributions?

I happen to install model sim VHDL simulator on Linux. The manual says it only supports RedHat or Suse, but I just tried to install it on Ubuntu. And, I could install it without any problem. Is linux binary universal to all kinds of distribution?…
prosseek
  • 1,905
15
votes
2 answers

Launch Sublime Text 2 from terminal

I am new to Ubuntu and is trying to configure my environment so i can launch Sublime Text 2 directly from the terminal. I followed the solution on this post but no luck so far. These are steps I did (steps from this post): -> cd -> mkdir bin ->…
CYC0616
  • 151
15
votes
2 answers

Dependency Walker for ubuntu

Is there a tool like Windows DependencyWalker for Ubuntu ? I would like to see all shared libraries my executable depends on.
tommyk
  • 4,556
12
votes
3 answers

What software can display raw bitmaps on Linux?

I have a raw file but I don't know the pixel format or the width of the image. I need a tool that can quickly display the data and allow me to try different formats easily. An example of such a tool for Windows would be 7yuv. What software exists…
12
votes
3 answers

What is ~/.face (binary)?

I just noticed this file, .face, in my home directory: -rw-r--r-- 1 root root 14747 2012-01-07 01:35 .face Never seen it or heard of it before, and google doesn't seem to know either. Anyone have any idea? I'm running 11.10 Desktop…
bgibson
  • 5,037
12
votes
1 answer

How do I create a DMG file on linux Ubuntu for MacOS

I cross compiled a program on linux for MacOS and now I want that MacOS binary to convert to DMG file for MacOS. Is there a way to convert a MacOS binary on Linux (Ubuntu) into DMG file for MacOS?
12
votes
1 answer

Overwritten /usr/share/bin. Am I doomed?

I just managed to overwrite /usr/share/bin and it doesn't seem like it's possible to undo. I did this as a root user. Am I doomed?
user797940
11
votes
2 answers

What's the purpose of $HOME/bin directory?

Do binaries from this get source immediately? Do I need to add it to bash profile to be sourced? If I understand correctly, there are other places for binaries like: /usr/bin /bin /usr/local/bin Why so many?
user1595554
9
votes
3 answers

Geany / Gedit: hex editor plugin

Are there any plugins for Geany / Gedit to support reading binary/hex files?
Aadishri
  • 206
9
votes
0 answers

Is there any setup option to use binary prefixes

It would be better to see file sizes in binary units (i.e.: MiB) for my job everywhere in Ubuntu (at least Gnome would be perfect.) So my question: Is there any global setup option to use binary prefixes everywhere in Ubuntu (or at least Nautilus or…
osiixy
  • 431
8
votes
2 answers

Where to place local executables

Where is the correct place to store user-local executable files? echo $PATH gives /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games It doesn't include eg. $HOME/bin Would $HOME/bin be advisable? Or $HOME/opt/bin .... I guess I…
JohnDoe
  • 193
1
2 3
10 11