j_0101
j_0101

Reputation: 167

How to build a debian package and automatically get all dependency libraries

I need to build a debian package for an executable that I wish to set up on several machines. Is it possible to create this package with:

I dont need the debian package to have the compile files, just the dependencies for the executable to run in that machine (assuming all machines are running the same debian version)

I see on the official ubuntu forums how to create a package but dont understand how I can do to get all dependencies and set up the machine to run that executable itself.

Any ideas anyone?

My system build: Ubuntu wheezy, GLIBC 2.13, 64bit My executable details: c/c++ executable, 32bit

Upvotes: 0

Views: 4167

Answers (1)

alexander
alexander

Reputation: 2753

Looks, like you already have compiled binary and want make a .deb package to automatically setup all required packages. If so, than the answer might help you.

All required packages should be listed in the Depends: variable of the .deb control file.

Package directory structure could be created/altered using .deb install file. See install documentation

Upvotes: 1

Related Questions