Questions tagged [binary]

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

Filter by
Sorted by
Tagged with
5 votes
2 answers
979 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
143 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&...
user avatar
  • 1
0 votes
3 answers
51 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 ...
user avatar
0 votes
1 answer
146 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-...
user avatar
  • 3,691
0 votes
0 answers
85 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 ...
user avatar
  • 1
0 votes
0 answers
82 views

I have the adb and fastboot binaries in usr/bin and in bin and I want to delete all of platform-tools to start from 0

I have had installed in my ubuntu 20 the android-tools-adb android-tools-fastboot from the package. I found out that they were outdated , so I have try to download the latest one from Android. I delte ...
user avatar
  • 43
2 votes
2 answers
297 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. ...
user avatar
  • 121
0 votes
1 answer
39 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. ...
user avatar
0 votes
1 answer
219 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 ...
user avatar
  • 21
2 votes
1 answer
832 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 ...
user avatar
  • 141
0 votes
1 answer
658 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=...
user avatar
1 vote
1 answer
534 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 ...
user avatar
  • 4,478
0 votes
0 answers
124 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
user avatar
6 votes
1 answer
478 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 ...
user avatar
  • 487
0 votes
0 answers
22 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 ...
user avatar
1 vote
0 answers
241 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 -...
user avatar
  • 181
0 votes
1 answer
86 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 ...
user avatar
  • 199
0 votes
1 answer
3k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
79 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 ...
user avatar
1 vote
1 answer
333 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 ...
user avatar
0 votes
0 answers
258 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 ...
user avatar
  • 1
1 vote
0 answers
345 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 ...
user avatar
1 vote
1 answer
955 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 ...
user avatar
  • 301
1 vote
1 answer
174 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 ...
user avatar
3 votes
1 answer
455 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 ...
user avatar
1 vote
0 answers
992 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-...
user avatar
0 votes
0 answers
146 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....
user avatar
  • 2,707
3 votes
1 answer
508 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: "...
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 ...
user avatar
  • 13
2 votes
1 answer
2k 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 ./...
user avatar
  • 21
0 votes
1 answer
215 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)" ...
user avatar
-1 votes
1 answer
37 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 31
0 votes
1 answer
503 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: ...
user avatar
0 votes
1 answer
89 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 ...
user avatar
12 votes
1 answer
6k 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?
user avatar
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 ...
user avatar
  • 2,218
0 votes
3 answers
3k 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....
user avatar
1 vote
0 answers
237 views

Darling binaries [duplicate]

Where can I find pre-built binaries for darling? I do not want to have to build from source. This is not a duplicate, because other answers don't give binaries, they just show how to compile from ...
user avatar
  • 193
3 votes
1 answer
70 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 ...
user avatar
  • 183
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?
user avatar
1 vote
0 answers
71 views

Error Whilng installing anything [duplicate]

hey guys im new to this whole linux thing. when i do sudo apt-get update i get this it:1 http://repo.steampowered.com/steam precise InRelease Hit:2 https://dl.winehq.org/wine-builds/ubuntu ...
user avatar
2 votes
2 answers
325 views

Program works in Ubuntu 17.04 and 17.10 but not in Ubuntu 18.04

I have been using a program called movie thumbnailer (mtn) for many years. Read about the program here: http://moviethumbnail.sourceforge.net/ I have downloaded the following binary: https://...
user avatar
  • 37
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 ...
user avatar
1 vote
0 answers
459 views

Binary diff file

bsdiff uses max(17*n,9*n+m) bytes of memory (where n is the size of the old file and m is the size of the new file) according to http://www.daemonology.net/bsdiff/ Is there a lighter (in terms of ...
user avatar
0 votes
1 answer
1k views

Installing driver

I've been trying to install some intel drivers, but I get an error message. This is the text: alberto@alberto-Inspiron-5558:~$ cd Desktop alberto@alberto-Inspiron-5558:~/Desktop$ chmod a+x ...
user avatar
0 votes
2 answers
26 views

Restoring the script command [duplicate]

I overwrote the binary "script" in the "/usr/bin" directory (ubuntu 16:04), after the script command did not work. Is there a way to restore the binary, so the command works again?
user avatar
0 votes
0 answers
666 views

Cannot execute binary file for ADOM

I wanted to install a roguelike on my Gallium OS system(I believe galliumos is based of off 16.04 Ubuntu) so I installed the game and ran these commands. chmod +x /home/chrx/Documents/adomgraphical/...
user avatar