I would like to create a binary file in ubuntu which means no one can able to see my source code but they can able to execute it. I tried googling and found few articles but didn't get it, can some please let me know the step by step process to create binary(.bin) files

asked 30 Jan '14, 20:02

SriniG's gravatar image

SriniG
11112
accept rate: 0%

edited 31 Jan '14, 10:35

jeremy's gravatar image

jeremy ♦♦
1.0k1516




file extensions are a windows thing. .bin is basically meaningless.

about 5% of what you learnt about computers form windows applies to linux. the remainder is partially or completely wrong.

To generate a binary file you need to compile the source.

If you want to create a package, getting and examining the source to the hello package and its documentation is probably a good start.

do this:

  1. apt-get source hello
  2. sudo apt-get build-dep hello
link

answered 02 Feb '14, 19:25

Jasen's gravatar image

Jasen
1
accept rate: 0%

edited 02 Feb '14, 19:27

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×39

Asked: 30 Jan '14, 20:02

Seen: 11,885 times

Last updated: 02 Feb '14, 19:27

powered by OSQA