Questions tagged [binary]
Questions involving binary file format, like the executables among others.
166
questions
86
votes
8
answers
238k
views
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 ...
48
votes
7
answers
347k
views
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 ...
27
votes
4
answers
41k
views
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
77k
views
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 ...
16
votes
3
answers
18k
views
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 ...
15
votes
2
answers
190k
views
Launch Sublime Text 2 from terminal [duplicate]
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 (...
15
votes
2
answers
14k
views
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.
12
votes
1
answer
2k
views
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?
12
votes
3
answers
12k
views
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. ...
12
votes
1
answer
10k
views
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?
11
votes
3
answers
26k
views
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 ...
9
votes
2
answers
25k
views
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 ...
9
votes
0
answers
367
views
Is there any setup option to use binary prefixes [closed]
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 ...
8
votes
3
answers
15k
views
Geany / Gedit: hex editor plugin
Are there any plugins for Geany / Gedit to support reading binary/hex files?
7
votes
2
answers
11k
views
Where should I put programs that I download so they're available to all users?
Is there a convention that says where I should put programs I download if I want to make them available to all users? Blender, for example, appears to have a compiled executable, but also other ...
7
votes
2
answers
13k
views
Where to place local executables [duplicate]
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 $...
7
votes
1
answer
2k
views
How do I resize a Linux filesystem data .bin file?
I have a 2 MB file: root.bin, that is a Linux rev 1.0 ext2 filesystem, and I would like to expand it so that I can put more files in it, but it does not just resize like I thought it would. How do I ...
7
votes
2
answers
3k
views
What guarantees does Ubuntu provide concerning binary compatibility across releases?
I know generally the answer is "use a PPA", but separate from this...
What is the Ubuntu policy on compatibility across versions of Ubuntu for a given architecture? For example, if a binary in a ...
7
votes
2
answers
10k
views
Difference between 'google-chrome-stable' and 'google-chrome' binaries
There are two binaries in my /usr/bin directory, google-chrome and google-chrome-stable. I wonder if both belongs to the same package.
$ ls /usr/bin/ | grep google
google-chrome
google-chrome-stable
...
7
votes
1
answer
272
views
Terminal speaking in tongues after curl command
I'm using Ubuntu 16.04.3 through the Oracle VirtualBox. I'm trying to install a Python environment Anaconda through the Terminal.
Following the instructions on How To Install the Anaconda Python ...
7
votes
1
answer
1k
views
Bless Hex Editor only showing ASCII squares
I tried reading the contents of a BIOS EEPROM Chip saved in a file called dump.bin. I also tried opening a file called coreboot.rom containing a Coreboot image. In both cases this error occurred:
I ...
6
votes
1
answer
3k
views
A binary file exists but shell says no such file
I'm using the Ubuntu in UserLAnd on an android.
I just installed from the Android SDK Manager sdkmanager cmake 3.18.1.
Now, I can see the cmake executable from its directory cmake/3.18.1/bin byls, ...
6
votes
3
answers
15k
views
Editor to open binary files?
I have a binary file called qkey - when I try to open it with gedit, I get an error telling me that the file is in an unknown format.
Is this due to possible encryption? (it is a game stats file ...
6
votes
2
answers
12k
views
how to make a static binary of coreutils?
I'm trying to make a static binary of rm, so I tried compiling coreutils with
configure; make SHARED=0 CC='gcc -static'; make install
but I keep running into errors.
First make complains about c99 ...
6
votes
2
answers
306
views
How to package an application that contains a binary that needs to be in $PATH?
I am packaging an application that contains binaries that would normally go in /usr/bin and a shared library that would go in /usr/lib.
However, the package guidelines for submitting applications to ...
6
votes
1
answer
3k
views
How do I query the gvfs metadata for a specific attribute? [closed]
A nice feature in evince is that when you close the program and later reopen the same pdf, it automatically jumps to the page you were reading. The problem I have is that I often read ebooks on ...
5
votes
2
answers
5k
views
How portable are Binaries compiled in Ubuntu?
The title says it all, actually. But allow me to specify the question:
Assuming I were to compile an application that uses libffi, libGL, dlfcn, and SDL, would said binary run on other Linux ...
5
votes
2
answers
34k
views
What is difference between binary and source file? [duplicate]
I want to install special software on Ubuntu. In its installation guide has been mentioned I must separate binary and source files from each other.
What does it mean?
How can I do that?
Should I ...
5
votes
1
answer
2k
views
Include Binary Files in DEB package
I need to build a DEB package from mainly Node.js Javascript files, but it should include some binary files as well. They are listed inside debian/source/include-binaries. Otherwise I get the error ...
5
votes
1
answer
13k
views
What is the difference between an NVIDIA legacy binary proprietary driver and a binary only proprietary driver?
What is the difference between an NVIDIA legacy binary proprietary driver and a binary only proprietary driver?
4
votes
1
answer
29k
views
How can I reinstall binary file /usr/bin/ld?
I have inadvertently overwritten file /usr/bin/ld. How can I reinstall this file?
4
votes
3
answers
28k
views
"JRE Libraries are missing or not compatible" error message
When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking ...
4
votes
1
answer
13k
views
Java bin file won't install manually [closed]
I downloaded a java bin file manually from here. Then I tried to install it using the following commands. But I am not able to install it. Can anybody help me to install manually?
aneal@ubuntu:~/...
4
votes
1
answer
3k
views
How can I change my wireless card's regulatory domain (Dbm higher than 30)?
For educational purposes we are trying to change the wireless devices txpower higher than domain regulations per country...
To operate outside of specific bands or power levels, we know you have to ...
4
votes
1
answer
8k
views
Where is the main Firefox binary?
I want to optimize my graphical experience with multiple plug-ins on Firefox (Specifically CFX) but for that to work, I need to specify the binary of Firefox so that the driver could force the ...
4
votes
1
answer
403
views
Feasibility of Static Binaries
I am trying to figure out the implications of a distribution where static binaries are preferred over shared ones. For that purpose, I put together a small Scala shell script that 1) traverses /bin, /...
3
votes
2
answers
17k
views
Where can I find Chromium binary tarballs?
Firefox's website provides binary tarballs that I can easily extract and run, is there anything similar available for either Chrome or Chromium?
If not, how can I compile so I can run it the same way ...
3
votes
1
answer
19k
views
How do I edit the binary or hexadecimal data of a file in Ubuntu?
Disclaimer: This is not the same as What are some good GUI binary viewers/editors?.
How do I edit the binary data of a file in a gedit like editor? Eg:
00001010101010010101
And how do I edit the ...
3
votes
5
answers
5k
views
How to run .bin files in 16.04 LTS?
I downloaded GIMPshop from this link and what comes after I unpack the tar.gz is folders and many .bin files
Here is my output of ls
acinclude.m4.bin etc m4macros
aclocal....
3
votes
1
answer
5k
views
Where can I find /lib/ld-lsb.so.3 for Ubuntu 21.04?
I need to get a 32 bit ELF interpreter for an old binary.
file ./actlmgrd
./actlmgrd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-lsb.so.3, for ...
3
votes
1
answer
629
views
analysis of a binary file, homework problem
I have been given the task of finding a password token as part of a course i am doing. However, it isn't making much sense to me. Would someone possibly be able to help me? The task is as follow:
"...
3
votes
1
answer
3k
views
How to install clang for YouCompleteMe?
OS: Ubuntu 18.04
There are already some posts about how to install clang in Ubuntu, however many of them are out of date, and my question is specific to installing clang as part of the insallation ...
3
votes
1
answer
421
views
What is a package stanza?
Briefly speaking, how to define a package stanza?
It arrives by running dpkg-gencontrol in a package directory:
# dpkg-gencontrol
dpkg-gencontrol: error: no package ...
3
votes
1
answer
300
views
How to redistribute binary programs built on modern Ubuntu so that they can be executed on any older Linux system?
I found that if I build any binary on Ubuntu 10.10, then it doesn't execute on some older Linuxes. It is because Ubuntu uses a very new C library, called EGLIBC. Most of the desktop Linux systems use ...
3
votes
1
answer
5k
views
How to View the Entire Contents of a dat File
I have a dat file that appears to be an application/octet stream binary coded file, which I will like to view. I have tried to use a number of text editors to open the file but none of them opened the ...
3
votes
1
answer
77
views
Merging non-zero differing bytes in large files
I am trying to a salvage an old scratched DVD by ripping it to ISO. I have two readers and created an ISO from each. Each reader is unable to read certain different bytes of the DVD and replaces them ...
3
votes
1
answer
6k
views
Cannot install MPLAB IDE X from the terminal - silently exits
I have a file, and terminal won't run it. I don't understand why. There are a number of files in directory, but the binaries are the only ones that fail. help? I use this program for my work, and ...
3
votes
1
answer
582
views
Unable to install cloudflared on RPi3
I am trying to setup a R-Pi 3 running on Ubuntu server as a pi-hole :
Linux ubuntu 5.3.0-1014-raspi2 #16-Ubuntu SMP Tue Nov 26 11:18:23 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
I have installed ...
2
votes
1
answer
11k
views
How do I change file headers from the command line?
I have seen and used the GUI hex-editor bless, to modify bitmaps to match a separate file type (form bmp to srf). My question is how to modify file headers programmatically with the command line. What ...
2
votes
1
answer
3k
views
How do I append data to a binary file with an hex editor?
I'm trying to append data to a binary file in ubuntu using the hexedit software. Is it an impossibility to append data to a binary file without overwriting the data already present in the file in ...