Questions tagged [binary]
Questions involving binary file format, like the executables among others.
163
questions
0
votes
2
answers
4k
views
How to insert data into a binary file with an hex editor in ubuntu?
Lets say I have a binary file called file.dat that contains the data "James is a good boy".
Lets now say I want to insert the data " not " at the 8th index of file.dat, So that ...
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.
2
votes
2
answers
4k
views
Can't install Discovery Studio Visualizer
I'm using Ubuntu 16.04 LTS. I ran .bin file through terminal to install DS Visualizer, but i got the following errors:
./install_DSClient.sh: 49: ./install_DSClient.sh: [[: not found
./...
0
votes
1
answer
75
views
Is there a simple way to find the location of any given application
The apps on my machine are a growing hodge-podge of snaps, flatpaks, appimages, cargoes, python-whatevers and so on. Some are in /usr/bin some are in /snap/ some are in ~/Applications or ~/.local/bin ...
0
votes
0
answers
120
views
Windows converted my folders conataining .jpg files into Binary (application/octet-stream) type
im kind of beginner in linux though i have been using them since 2011. Anyway my problem is that while i connected my ssd in a windows desktop, i was asked if i could let windows fix some problems ...
0
votes
0
answers
106
views
Error obtaining the filesystem using unsquash
I was following this tutorial Reverse Engineering TP-Link TL-WA901ND firmware and obtaining the filesystem and even following the step by step you fall into an error
unsquashfs TP_FS
FATAL ERROR: Can'...
0
votes
0
answers
33
views
How to recover an old keyring in ascii format?
some recent system upgrade messed up my passwords keyring, by changing the Default keyring's format from ASCII to binary.
The old text file was moved to my Desktop and a new empty binary one was ...
6
votes
1
answer
2k
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, ...
0
votes
0
answers
159
views
How can I convert a folder with a lot of .bin files to their respective .iso on Ubuntu 22.04?
I have a folder with +100 .bin (and only .bin) files which I want to convert to their respective .iso (a.bin -> a.iso, b.bin -> b.iso), and so on. I only found on the net examples on how to ...
2
votes
1
answer
670
views
binfmt-detector-cli from mono-runtime does not recognize x64 executables?
On 64-bit Ubuntu 14.04.2 LTS, I can apparently run "x86" exe files, but not "x64" ones.
If I use monodevelop to build the x86 configuration of a project, resulting in x86/test.exe, I can run it with ....
0
votes
0
answers
212
views
Snap binary override by binary placed in /snap/bin
I moved a geckodriver binary to the /snap/bin directory. Now, after a reboot, my snap binary isn't working, and it seems that the geckodriver override the binary.
Now with more details:
Basically I ...
0
votes
0
answers
26
views
How to update icon of a .bin file - not working anymore since 22
On Ubuntu 22, Wayland disabled:
I have a .bin file that has no icon. In 16.04 I could create a launcher (.desktop) file like this:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=...
0
votes
0
answers
129
views
Permission denied despite having permission [duplicate]
I did what is described in this this post, and after that I am not able to run scripts that are on my external ssd, not even after using the sudo su command.
the output of findmnt -T /media/alexandre/...
0
votes
1
answer
2k
views
how to "install" binaries?
i tried building https://github.com/mhx/dwarfs as per instructions but it gives me errors at the end, so im guessing I can just download the binaries that should be dwarfs-0.7.0-RC5-Linux-x86_64.tar....
1
vote
1
answer
147
views
Using GTK4 to build a small window app [closed]
Once the small program is compiled, I run it by double clicking the executable in Nautilus. When I have a second but completely different windowed app and double click on it while the first windowed ...
-2
votes
1
answer
89
views
Are binary executables portable? [closed]
Consider I have a binary executable file (like ffmpeg). Can I just copy that file to another machine running Ubuntu for using it? Will it just work or might it face problems?
0
votes
0
answers
39
views
Discover how Go was installed
Is it possible to discover how the latest version of go was installed on my Ubuntu 22.04 system?
I think it was installed in 2 different ways, thinking of updating it in a consistent way so theres no ...
0
votes
0
answers
684
views
Why ubuntu doesn't run a bin file?
I'm trying to install a software on Ubuntu 22.04 LTS. After downloading the tar.gz file, I extracted the files with the command:
tar -xvf CCS6.1.0.00104_linux.tar.gz
Then I entrered the extracted ...
0
votes
0
answers
316
views
Incorrect binary version for python3 when using update-alternatives
I've used Ubuntu for years but now I'm royally confused what's going on.
All suggests that I should be using python3.9 but it actually is python3.10. Please help me debug this.
The problem is that I ...
0
votes
0
answers
1k
views
Ubuntu will not run elf file
Running Ubuntu 18.04.3 LTS and have downloaded an ELF file, but it will not run from the terminal when I type in what I think is the correct command to run. I've verified that it is an ELF file, but ...
0
votes
2
answers
285
views
Mean of wc -l in grep command
Is the wc -l showing how many times the search string is found in the binary file?
-l, --lines
print the newline counts (I think a newline is an empty line?)
grep --binary-files=text '...
2
votes
0
answers
357
views
Esterel Compiling in Ubuntu 64 bit
The latest version of esterel is available only in 32 bit. Installed it in 64 bit ubuntu. When compiling esterl to C. I haven't get any errors.
esterel -simul foo.strl
cc -c foo.c
While running:
...
9
votes
2
answers
22k
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 ...
0
votes
1
answer
2k
views
Python binary path in pip
When I run python it runs version 3.10.4:
$ python
Python 3.10.4 (main, Apr 8 2022, 17:35:13) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license&...
0
votes
3
answers
238
views
How can I edit a command? [duplicate]
I'm trying to edit the clear command. I've tried going into the bin directory then doing: "gedit clear" but it ended in failure because I can't edit the file without potentially corrupting ...
1
vote
1
answer
990
views
No Machine: Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
How can I fix this error? I have installed https://github.com/qupath/qupath/releases/download/v0.3.2/QuPath-0.3.2-Linux.tar.xz from QuPath official Website.
jalal@manu:~/QuPath/bin$ ls
total 1524
-rw-...
0
votes
0
answers
873
views
Run Julia from Terminal
I have just installed Julia 1.7.2 in my notebook (I have Ubutnu 20.04). The folder containing Julia is in Downloads. I can run julia by runing
$ ./Downloads/julia-1.7.2/bin/julia
That is, looking the ...
2
votes
2
answers
1k
views
Salome issue with loading Binaries
I've installed Salome 9.7.0 and can get it started without errors. An issue comes up when I try to use some of the binaries. Most load and work fine, but I've listed the ones with probelems below.
...
0
votes
1
answer
81
views
Why doesn't Ubuntu provide the compiled version of emacs .el files
I just noticed that when I start emacs on MATE 20.04, the system packages it loads are source files, not their binaries. I'm curious to know why since, as I understand, the binaries load much faster.
...
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 ...
0
votes
1
answer
710
views
Different output for ldd between sudo and root
on my system, the output for ldd /usr/bin/openssl differers between the regular user, root and sudo.
This is the output for the regular user:
$ whoami
myname
$ ldd /usr/bin/openssl
linux-vdso.so.1 ...
3
votes
1
answer
576
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 ...
3
votes
1
answer
4k
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 ...
0
votes
1
answer
5k
views
Add binary to Applications Menu
Is it possible to add a binary to the applications menu in Ubuntu 20.04.2? I have tried the following .desktop file for Filezilla which I extracted from FileZilla_3.55.1_x86_64-linux-gnu.tar.bz2:
Path=...
1
vote
1
answer
1k
views
Is there a Linux VLC version which supports the SRT (Secure Reliable Transport) protocol?
I use OBS Studio to stream live video using the SRT protocol.
To receive the stream, the current Windows and MacOS versions of VLC can be used.
But the Linux versions were compiled without libsrt, and ...
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 ...
3
votes
1
answer
18k
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 ...
0
votes
0
answers
214
views
How to run Openboard after building it?
I built Openboard with the help of github. I could find the binary of openboard but I couldn't run it! what I should do?
github-openboard link
0
votes
0
answers
26
views
binlog decoder no longer working
I have a decoder script for work which used to work fine on Ubuntu 20, but after upgrading to 21, it's showing this message:
root@Ubuntu:/work/logs# decoding-script traces.bl
UUID App 1 Subsys 176 ...
27
votes
4
answers
40k
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.).
1
vote
0
answers
533
views
How do I run the precompiled sqlite package on Ubuntu 18.04 without installing it?
I downloaded the precompiled sqlite package from the official page
$ ls -l
total 4168
-rwxr-xr-x 1 ubuntu ubuntu 584260 Apr 2 23:40 sqldiff
-rwxr-xr-x 1 ubuntu ubuntu 1162244 Apr 2 23:41 sqlite3
-...
0
votes
1
answer
171
views
Recreating an Ubuntu instalation to run an unknown binary
I have access to a Ubuntu 16.04 installation, that is able to run a certain binary (it is some version of LPMud compiled with unknown parameters), but I am not able to run the same binary on a ...
2
votes
4
answers
15k
views
How can I install gem5?
I was helping my friend installing gem5 simulator on Linux for thesis work. I know Linux a little bit. Somehow I managed to install that simulator on my laptop with Ubuntu 12.04, but when I tried to ...
1
vote
0
answers
476
views
Cannot launch Mathematica from terminal
I have Ubuntu desktop 16.04.6 LTS xenial. My Mathematica 12.1 is working and, while I can launch it from the GUI shortcut, I cannot launch it from the terminal.
I don't know if something went wrong ...
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 ...
1
vote
1
answer
139
views
Does a software gets installed every time I run its binary file?
So my doubt might sound funny but I am kind of new to ubuntu and want to get a clarity of different ways of installing software like .deb, .rpm, tarball. So considering the case of tarball. In some ...
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 ...
1
vote
1
answer
595
views
How does bash resolve commands?
When you execute a command using bash, the command could refer to a variety of binaries or built-in bash functions. These binaries are held in the '/usr/bin,' '/bin,' and the current directory. My ...
0
votes
0
answers
401
views
Extracting information from binary file
I try to save contents of my phone activity on my computer (messages and contacts).
My phone is a Nokia,the app creating the messages is the basic app embeded in the phone "messaging".
I have loaded ...
1
vote
3
answers
8k
views
What are the steps to install Natron on Ubuntu?
At first I tried to install from the official sources,
Natron was not there, so I searched for a PPA and I did not find Natron.
Now I read something about binaries and an install script, it did not ...