Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Howto create software package in Unix/Linux?

How can we create a software package, so that after extracting our software tar ball user can do the typical steps?

$ gunzip < mycode.tar.gz | tar xvf -
$ ./configure
$ make
$ make install
like image 969
neversaint Avatar asked Feb 21 '09 13:02

neversaint


2 Answers

An alternative to the hard to understand GNU/Autools is CMake.

http://www.cmake.org/cmake/help/examples.html

e.g. KDE is using it.

like image 106
Lennart Koopmann Avatar answered Sep 19 '22 19:09

Lennart Koopmann


Look into the GNU autoconf/automake toolchain. Here's a free tutorial/book.

like image 38
Hank Avatar answered Sep 18 '22 19:09

Hank