Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sometimes we have options to download the binaries of a particular software (instead of setup or source code for example).

What are binaries of a setup?

share|improve this question
    
@everyone I get it now. thanks –  Lazer Oct 9 '09 at 9:05
add comment

4 Answers 4

up vote 12 down vote accepted

"sources" means that you get the source code, which is usually a bunch o text files (like .c, .cpp, .h in case of C/C++). You must feed these to a compiler.
Compiling then generates a binary, which is usually an .exe or a .dll file.

So by downloading the binaries you are relieved of the task of having to compile the code by yourself.

A setup will usually also contain binaries but additionally installs these properly.
A zip file containing binaries does not install anything on your system but is usually suitable for using software on a usb-drive (often called "portable" version).

Example

Let's have a look at 7-Zip's download page:
You can download several variants of .exe, .msi and .zip files. These are the binary files intended for end-users.
The other files (.7z, .tar.bz2) contain the source code or files used for developing software that uses 7-Zip.

share|improve this answer
add comment

A setup program (or more properly, an installer) is just like a zip file full of binaries that can unzip itself and copy the binaries to the right places on your computer. The binaries are the programs, ready to be used. They're made from sources, using compilers.

share|improve this answer
    
The setup or installer itself is also a binary. –  fretje Oct 8 '09 at 13:39
    
Well, most of the time, yes. Sometimes it's just a package file for an installer already on the system, and it can also be a shell script on unix with an archive appended. Either way though, in common use, "binaries" usually refers to the executables and libraries etc. from the application in question, rather than things that get the binaries onto your system. –  Lee B Oct 8 '09 at 17:56
add comment

Usually binaries refer to zip or installers that packages a product. It will not contain source code. It just contain files required to use/run the product. For example if you see Apache WebServer site, they will say download windows binaries for Apache MSI installer. They could have called it setup also :). So both setup/binaries are used interchangeably.

But in my opinion, binaries should refer to set of files required to run/use a product without a proper installer and setup is used to refer the case where files are properly packaged with an installer

share|improve this answer
    
I always download an installer whenever possible. How do you setup the software without a installer (from binaries)? –  Lazer Oct 8 '09 at 10:15
    
Installers are just an easy way to setup your product. There are still products which dont need an installers, but comes as a zip/tar of some folder structure. You can just unzip it and start using it! Similar to maven. maven.apache.org/download.html. –  vpram86 Oct 8 '09 at 10:19
1  
@eSKay: That said, i also recommend using Installer wherever possible :) –  vpram86 Oct 8 '09 at 10:20
    
many portal apps like Ditto, Executor, Everything, XMPlay, Eclipse are available as zip files, that can be extracted and used right away. Installers are mostly used where, you have to create some Network Filter or Virtual Network Interface which becomes quite cumbersome to do it manually. Even the Apache Installer helps us to install Apache Webserver as a Windows Service, which in normal cases to register a service manually is not the way to go for a average user. –  Ram Oct 8 '09 at 12:22
add comment

Usually Setup files are designed to automate the copying and adding relevant registry entries, if the program has to be run during startup, adding shortcuts to the programs menu etc. Most people, like me :), don't prefer adding entries to their registry and hence go in for the binaries that are the same as the ones distributed over the setup file. All you do is just extract them to a folder you like and then execute them

share|improve this answer
add comment

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.