Building Debian Packages in Ubuntu 12.04

Asked by Alejandro Padrino

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:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

look into checkinstall

Revision history for this message
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.

Revision history for this message
Sam_ (and-sam) said :
#3
Revision history for this message
Alejandro Padrino (eb4bgr) said :
#4

Done with checkinstall. Thank you very much.

Revision history for this message
Alejandro Padrino (eb4bgr) said :
#5

Thanks actionparsnip, that solved my question.

Revision history for this message
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?

Revision history for this message
Alejandro Padrino (eb4bgr) said :
#7

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

Revision history for this message
Alejandro Padrino (eb4bgr) said :
#8

;)