A
A
Akmal Kadirov2014-12-16 16:11:29
linux
Akmal Kadirov, 2014-12-16 16:11:29

".deb" packages must be compiled as binary files?

Personally, it seems strange to me that you first need to build the project (configure and make) and then build the deb package from them. Maybe there is a way to build a package from source and when installing this package, the system does the same thing as configure, make and make install

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2014-12-16
@kadirov

Use source-based distributions and it will be the way you want. ".deb" was invented for this, so as not to assemble from the sources yourself.

S
safinaskar, 2014-12-17
@safinaskar

there are special sorted (i.e. with source) debian packages. these are just .tar.xz, .tar.gz archives, etc., for example: mirror.yandex.ru/debian/pool/main/d/dpkg/dpkg_1.16... . Or, say, another example: mirror.yandex.ru/debian/pool/main/b/binutils/binut... + mirror.yandex.ru/debian/pool/main/b/binutils/binut... . in the last example, you first need to download .orig.tar.gz, unpack, then unpack diff.gz and apply this diff to this archive.
so, in any case, you will get a debian sort package. these are special sorts (sources) in which the debian folder of a special format is located. command debian/rules with some arguments there, this package can be built. write comments to this answer if you have any questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question