# Creating Debian Packages with Castle Game Engine build tool

**URL:** https://forum.castle-engine.io/t/creating-debian-packages-with-castle-game-engine-build-tool/544
**Category:** News
**Created:** [March 12, 2022, 6:05pm UTC](https://forum.castle-engine.io/t/creating-debian-packages-with-castle-game-engine-build-tool/544 "2022-03-12T18:05:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [March 12, 2022, 6:05pm UTC](https://forum.castle-engine.io/t/creating-debian-packages-with-castle-game-engine-build-tool/544/1 "2022-03-12T18:05:03Z")

</div>

| [![cge+debian](https://castle-engine.io/wp/wp-content/uploads/2022/03/cgedebian-200x174.png)](https://castle-engine.io/wp/wp-content/uploads/2022/03/cgedebian.png "cge+debian") |

Debian is a popular Linux distribution, also serving as a base for other Debian-based distributions like Ubuntu. You can now easily create a Debian package, .deb file, from any game!

- From _Castle Game Engine Editor_ use menu option _Run -\> Package Format -\> Debian Package (DEB)_ and then _Run -\> Package_.

- Or use command-line [build tool](https://castle-engine.io/build_tool) with `--package-format=deb` option. The full command may look like this:

To install the resulting package using command-line you can execute `sudo apt install ./xxx.deb`. Once installed, you can see it in all applications listing currently-installed packages (like _Synaptic_). You can remove the package using e.g. _Synaptic_ or just `sudo apt purge xxx`.

While it will work out-of-the-box, to have a really good package you should make sure you filled some information in the [project manifest](https://castle-engine.io/project_manifest):

1. Be sure to specify the project `author`

2. Specify an icon, in XPM or PNG formats.

3. Specify [sections, categories and comment](https://castle-engine.io/project_manifest#_debian_and_free_desktop_metadata) to have the package and application look best.

This feature was mostly developed by _Eugene Loza_ (thousand thanks!) with some additions from Michalis. It’s not a secret that we’re both using Debian OS as the main operating system and as such most of CGE was probably created on Debian or Debian-derivatives 🙂 So we’re very happy with this integration.
