Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a game made with the LÖVE framework and i want it into a .deb file so it can be easily installed by others and easily findable through the Unity dash for example. I also have the LÖVE framework love_0.7.2.deb which i want to be in the deb file also somehow.

Files that i have:
* game_icon.png
* game .desktop file
* love_0.7.2.deb

Could someone explain to me how to do this?

This is how it look now

share|improve this question

In order to make one package depend on another, you need to specify the relationship in the debian/control file. You can read about the syntax of this file in the Ubuntu Packaging Guide. The rest of that guide will probably be helpful in giving you an overview of packaging programs for Ubuntu.

Briefly though, your debian/control file might look something like:

Source: my-game
Section: devel
Priority: optional
Maintainer: Jane Doe <>
Standards-Version: 3.9.3
Build-Depends: debhelper (>= 7)

Package: my-game
Architecture: any
Depends: ${shlibs:Depends}, love (>= 0.7.2)
Description: a game made with the LÖVE framework
 This game is really amazing.
 It has many features.

Especially note the line:

Depends: ${shlibs:Depends}, love (>= 0.7.2)

share|improve this answer
I have never created a deb file before. I have created this now . Does that look right? if so how do i make it into a deb file? – Jeggy Jan 16 '13 at 14:25
@Jeggy Start out by the packaging guide already suggested. If you have a specific question, please ask a new question. Also, packaging isn't always a very easy task and is a job on its own. Very "simple to compile" applications are generally easy to package as well (e.g. ./confgure && make && make install ones using GNU Autotools) are pretty easy, though. Debhelper has a lot of heuristic in these very generic cases. – gertvdijk Jan 16 '13 at 14:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.