Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want "file" binary which is usually located at /usr/bin/ . I want it from 32-bit ARM. I got only 64-bit ubuntu installed on my computer. Can someone please upload me that binary?

thanks in advance

share|improve this question
1  
You have a 64-bit system and you need a 32-bit binary, is that what you are looking for? But why do you need that? –  i08in Apr 13 at 18:45
    
"file" binary from 64-bit ubuntu won't work on android. I want to use it on android. That's why. –  AungThiha Apr 13 at 18:49
    
and you can not download it from the packages directory why? see packages.ubuntu.com –  Rinzwind Apr 13 at 18:51
    
oh, thank you sir. I didn't know it is available there. sorry. my bad. –  AungThiha Apr 13 at 18:53

2 Answers 2

$ dpkg -S /usr/bin/file
file: /usr/bin/file

So the package which provides the /usr/bin/file executable file is file.Install file by running,

sudo apt-get install file
share|improve this answer
    
This won't recreate the binary since apt thinks this package is already installed and would leave the system as it is. –  i08in Apr 13 at 18:46

I assume you have accidentaly deleted the /usr/bin/file binary. You could actually reinstall file using

sudo apt-get install --reinstall file

though this would download the entire package rather than the binary itself, this is the cleanest easiest way to get back the binary.

share|improve this answer
    
sorry. I have edited my request, sir. –  AungThiha Apr 13 at 18:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.