Questions tagged [binary]
Questions involving binary file format, like the executables among others.
157
questions
0
votes
0
answers
23
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
16
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
68
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
146
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
97
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
60
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
23
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
345
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
242
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
597
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
155
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 '...
6
votes
2
answers
14k
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
1k
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
160
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
803
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
660
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
71
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.
...
0
votes
1
answer
558
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
3k
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
3k
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 ...
0
votes
0
answers
187
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
7
votes
1
answer
928
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
0
answers
25
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 ...
1
vote
0
answers
429
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
135
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 ...
1
vote
1
answer
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 ...
2
votes
1
answer
2k
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
124
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 ...
1
vote
1
answer
534
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
344
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
0
answers
417
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 ...
1
vote
1
answer
1k
views
Process to restore /bin timeshift backup on Ubuntu 18.04
I have separate partition for root, home, and swap on the same disk.
I accidentally deleted /bin won't get into that here.
I have a backup via timeshift. But can't boot into the system. Not sure how ...
1
vote
1
answer
248
views
MP3 changes to binary file when copied to external drive
Small issue but curious. I have one mp3 file that changes type to binary when I copy it. If I force it to open with an mp3 player it will play but if I double click it to play it won't play - it ...
3
votes
1
answer
544
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 ...
1
vote
0
answers
1k
views
How to run CGI file in docker
.yml
apache:
build: apache/
links:
- php:phpfpm
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
volumes:
- ./public:/var/www
- ./apache/hosts:/etc/apache2/sites-...
0
votes
0
answers
182
views
How do I fix the warning about "conflicting distribution" when doing apt update after installing MKL? [duplicate]
After installing MKL using instructions from Intel's documentation, when I do a
sudo apt update
It throws a warning:
Reading package lists... Done
W: Conflicting distribution: https://apt.repos....
3
votes
1
answer
542
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:
"...
1
vote
1
answer
5k
views
-bash: ./my_file: cannot execute binary file:Exec format error, but my architecture and elf matches
I am trying to run binary file on Odroid-C2 with ubuntu64-16.04.3-minimal-odroid-c2-20171005 OS. This file has 777 privileges and is compiled for ARM.
# ls -l my_file
-rwxrwxrwx 1 root root 136409 ...
2
votes
2
answers
3k
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
273
views
How can some binary expressed in ASCII 0s and 1s be converted to a binary file?
I've got a PDF expressed as an ASCII file of 0s and 1s, produced in the following way:
filepath="Manna.pdf"
data="$((echo obase=2; hexdump -ve'/1 "%u\n"' "${filepath}") | bc | xargs printf %08i)"
...
-1
votes
1
answer
38
views
Can commands be transferred between machines? [closed]
I have an airgapped system with 2 linux machines, one running CentOS and one with a custom OS. The custom one does not have gcc, I can connect them with an ethernet cable and tried to scp the gcc file ...
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
4k
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 ...
0
votes
1
answer
545
views
Cannot execute binary file, install driver, wlan, ath10k, firmware
Im trying to install a new Firmware for my Wi-Fi device but getting error.
Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
Firmware downloaded from GitHub: ...
0
votes
1
answer
130
views
Tool/Procedure To Determine OS Binary Present On External Disk Partition(s) [closed]
Any ideas on how to go about determining the OS Binary Present On External Disk Partitions; other than mounting a partition, and comparing actually file sizes between various files resting on ...
12
votes
1
answer
9k
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?
0
votes
1
answer
37
views
What is the best directory to use for my C program?
The problem?
I'm currently in the middle of building a simple shell, and I'm confused on where to install it to in a production environment.
What I've tried
I've thought to put it in the following ...
0
votes
3
answers
4k
views
Config files and Binary Files
The last answer was quite good to understand what is binary or config file in linux.
So question is why do we needed to create a binary file for ls command or other binary config file for linux system....