Questions tagged [binary]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
43 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 ...
0
votes
1answer
104 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
0answers
41 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
0answers
27 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 am not sure what was supposed to ...
0
votes
0answers
15 views

How to find the linker that is compatible with a given libc?

I'm having a binary which has to be run with another libc rather than the default libc on my machine. I have tried LD_PRELOAD=/path/to/libc /path/to/binary but it gives error as I dont have a ...
0
votes
1answer
415 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 ...
0
votes
0answers
165 views

Only garbage was found in the patch input file: Diff pcap files

I want to do a diff between to pcap files so I did: diff -u file1.pcap file2.pcap > file3.diff or diff --binary file1.pcap file2.pcap > file3.diff then I applied a patch : patch -i file3.diff ...
1
vote
1answer
55 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 ...
1
vote
1answer
168 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
0answers
165 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
0answers
117 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
1answer
275 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
1answer
3k 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
1answer
128 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
1answer
70 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
1answer
29 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
1answer
1k 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 ...
2
votes
1answer
1k 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
1answer
402 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
1answer
76 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 ...
9
votes
1answer
2k 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
1answer
34 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
3answers
991 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....
1
vote
0answers
236 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 ...
3
votes
1answer
56 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 ...
12
votes
1answer
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?
1
vote
0answers
62 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 ...
2
votes
2answers
275 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://...
7
votes
1answer
946 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 ...
1
vote
0answers
266 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 ...
0
votes
1answer
930 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 ...
0
votes
2answers
22 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?
0
votes
0answers
546 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/...
0
votes
1answer
190 views

Reading/modifying files in /bin or /usr/bin [duplicate]

When I go to /bin or /usr/bin, I see many formats. For example, in /bin, there are three type of files: Files like bash. Files like less. Files like zgrep. I can open, read or modify the third group(...
2
votes
1answer
3k 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 ...
1
vote
0answers
2k views

/usr/bin/updatedb: cannot execute binary file: Exec format error

I am trying to build TensorFlow 1.6. in a Nvidia Jetson TX2, using a script located in: https://github.com/JasonAtNvidia/JetsonTFBuild/blob/master/BuildTensorflow.sh In this script, "updatedb" is ...
0
votes
2answers
4k views

How to open and read SQLite files

I am trying to recover something from Mozilla Firefox history, and grep returns lots of binary files, I think they come from sqlite content. How can I view them in human-readable form, as text? At the ...
1
vote
0answers
41 views

Hexdump output certain labels

I want to output only the code in labels after start (start, loop1, and loop2). $ objdump -d quasilog.o 00000000 <main>: 0: b9 64 00 00 00 mov $0x64,%ecx 00000005 <start&...
0
votes
0answers
71 views

What is reason for automatic file lock symbol or automatic binary file conversion?

A brief description of the problem: Folders in a pendrive got converted to binary or lock symbol appeared on them in ubuntu: (a.) when deleting inner folders (or) (b.) while right click and checking ...
0
votes
1answer
577 views

Default application for opening binary files WITHOUT extension

I want to set Sublime Text Editor as the default app for opening binary files without extension (e.g. log files that are stored without extension). Right-clicking on the file and going to properties ...
0
votes
0answers
99 views

I am missing two binary sources from the 'Other Software' list. Where have these binaries gone and how do I get them back?

I have upgraded to Ubuntu 17.10 (artful) but have found that I am missing two binaries on the 'Other Software' list in the Software and Updates manager. Both the 'important security updates' (main ...
1
vote
1answer
444 views

Any binary editor to open a file in binary form (1 and 0) NOT HEX?

I want to open a binary files in the form of 0s and 1s. I've found several editors on the internet but all of them display hexadecimal not binary.
-3
votes
1answer
140 views

Unix philosophy - avoid storing data and programs in binary files [closed]

I am unable to understand the reason behind the following Unix philosophy. From LINFO Website: An important tenet of the Unix philosophy is to avoid storing data and programs in binary files to the ...
-1
votes
1answer
320 views

How to perform binary diffing and patching with standard Ubuntu (Debian) tools? [closed]

I have two set of binary files (before and after a certain operation), and I need to perform diffing betwen the sets, and patching on the first set in order to obtain the second set. How can I ...
0
votes
0answers
7k views

Cannot run any files on Ubuntu 16.04: “cannot execute binary file: Exec format error”

I am trying to run a few files that I have used before. When I try to execute, ./desire-cli getblockcount it just gives me the error -bash: ./desire-cli: cannot execute binary file: Exec format ...
0
votes
2answers
1k views

Can't run binary executable from terminal

I am trying to run the binary found at this site http://shaddack.brutowave.com/projects/sw_qr2laser/ I set it to executable and try and run ... laptop@XPS15:~/Downloads$ qr2laser qr2laser: command ...
1
vote
1answer
330 views

How to install 'Nocturn': a pre-built binary app in ubuntu 17.10

I have downloaded the Nocturn app pre-built binary from github. In which directory should I put it so I can run it from dock?
7
votes
1answer
167 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 ...
0
votes
1answer
364 views

Ubuntu 16.04 Updating issue

Does anyone know what I should do to fix this problem? I recently receive these after I do sudo apt-get update: N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as ...
0
votes
0answers
3k views

Cannot execute binary file: Exec format error

I'm trying to install UE4 on linux. After running setup.sh I run GenerateProjectFiles.sh and get the error in the title. After doing some research I found this means something is incompatible. I did ...