School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,425 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,494 people online right now. Registration is fast and FREE... Join Now!




How to make a Linux software package

 

How to make a Linux software package, Anyone know how?

abgorn

19 Jun, 2009 - 02:03 PM
Post #1

sudo apt-get install brain
Group Icon

Joined: 5 Jun, 2008
Posts: 1,341



Thanked: 15 times
Dream Kudos: 50
My Contributions
I was wondering how to make a Linux software package? Things like a .deb archive that can be installed or something of that nature.

User is offlineProfile CardPM
+Quote Post


AdaHacker

RE: How To Make A Linux Software Package

19 Jun, 2009 - 03:49 PM
Post #2

D.I.C Regular
***

Joined: 17 Jun, 2008
Posts: 378



Thanked: 83 times
My Contributions
It depends on what kind of package you're trying to build and the kind of application you're packaging. Just find a packaging guide for the distribution or package format you're working with. Generally, all you really need to do are get the right packaging tools, figure out how to write the metadata file, and know how to build the application you're packaging. It might seem complicated at first, but t's generally not that hard once you get the hang of it.
User is offlineProfile CardPM
+Quote Post

Tom9729

RE: How To Make A Linux Software Package

23 Jun, 2009 - 06:50 PM
Post #3

Debian ninja
Group Icon

Joined: 30 Dec, 2007
Posts: 2,129



Thanked: 53 times
Dream Kudos: 425
My Contributions
Well the hackish way is to write a Makefile and then use checkinstall (here is a tutorial I wrote on this last year). I don't think this will fly if you want to get your package into the Debian/Ubuntu repos though.

Here is a tutorial on how to make DEBs the proper way.

Here is a tutorial on creating RPMs.

Also you should be able to open DEB/RPM files and look around (they're basically TAR files), I think most archive programs can open them. Everything inside is just text so if you get stuck just find a small package and work backwards.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 12:19AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month