Questions tagged [binary]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
73 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 ...
stib's user avatar
  • 101
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 ...
chris.pi's user avatar
0 votes
0 answers
103 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'...
Shinomoto Asakura's user avatar
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 ...
jack008's user avatar
  • 61
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, ...
wicstas's user avatar
  • 79
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 ...
Nuno Fonseca's user avatar
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 ...
ivarejao's user avatar
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=...
Hans Christian Koch's user avatar
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/...
Alexandre Vieira de Souza's user avatar
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....
Jeen0's user avatar
  • 11
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 ...
JamworksPro's user avatar
-2 votes
1 answer
88 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?
james hofer's user avatar
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 ...
gameveloster's user avatar
0 votes
0 answers
680 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 ...
Vittorio 's user avatar
0 votes
0 answers
315 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 ...
Dawid Laszuk's user avatar
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 ...
IZ-22's user avatar
  • 1
0 votes
2 answers
283 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 '...
fixit7's user avatar
  • 3,127
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 ...
user avatar
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&...
selet's user avatar
  • 1
0 votes
3 answers
237 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 ...
UnderSc0r3's user avatar
1 vote
1 answer
989 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-...
Mona Jalal's user avatar
  • 4,545
0 votes
0 answers
868 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 ...
Clopen's user avatar
  • 11
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. ...
Sunafegon's user avatar
  • 121
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. ...
mikemtnbikes's user avatar
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 ...
pfo's user avatar
  • 41
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 ...
pserra's user avatar
  • 161
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=...
justinian482's user avatar
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 ...
mivk's user avatar
  • 5,322
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
kayalvizhi's user avatar
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 ...
ema's user avatar
  • 657
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 ...
Omar Almomani's user avatar
1 vote
0 answers
530 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 -...
JJJohn's user avatar
  • 191
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 ...
jenda's user avatar
  • 219
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 ...
Emmanuel's user avatar
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 ...
Emmanuel's user avatar
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 ...
Bharadwaj Poduri's user avatar
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 ...
S. Lancaster's user avatar
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 ...
Celwyn's user avatar
  • 1
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 ...
João Bravo's user avatar
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 ...
BingBong's user avatar
  • 361
1 vote
1 answer
311 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 ...
kellyvotrenom's user avatar
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 ...
BharathYes's user avatar
2 votes
0 answers
2k 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-...
Jia You Shen's user avatar
0 votes
0 answers
201 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....
alvas's user avatar
  • 2,927
3 votes
1 answer
604 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: "...
ismaeel ali's user avatar
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 ...
catalex's user avatar
  • 13
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 ./...
CL00's user avatar
  • 21
0 votes
1 answer
303 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)" ...
BlandCorporation's user avatar
-1 votes
1 answer
39 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 ...
Grady Landers's user avatar
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 ...
evaristegd's user avatar