Building Debian Packages in Ubuntu 12.04

Asked by Alejandro Padrino on 2012-06-20

Hello, I want to build my own .deb files in ubuntu, to put binary files in specified folders. How to make the .deb file?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
Alejandro Padrino
Solved:
2012-06-21
Last query:
2012-06-21
Last reply:
2012-06-20

This question was reopened

look into checkinstall

Alejandro Padrino (eb4bgr) said : #2

Also to individual files? The files I want to put in system folders (/usr/bin as example) are projects compiled by myself. I don't want to make a debian package with sources to compile. I want to put my executable file directly into /usr/bin folder. This is right?

Thank you.

Sam_ (and-sam) said : #3
Alejandro Padrino (eb4bgr) said : #4

Done with checkinstall. Thank you very much.

Alejandro Padrino (eb4bgr) said : #5

Thanks actionparsnip, that solved my question.

Alejandro Padrino (eb4bgr) said : #6

Uffff ... the command creates .deb package file, but opening archive with deb-gview it contains no files. The problem was not solved. How to add the files into the .deb package?

Alejandro Padrino (eb4bgr) said : #7

Well, done with "dpkg -b" and custom control file. ;)

Alejandro Padrino (eb4bgr) said : #8

;)