# Bahmni on Debian (and derivatives)

**URL:** https://talk.openmrs.org/t/bahmni-on-debian-and-derivatives/8154
**Category:** Bahmni
**Tags:** bahmni
**Created:** [September 27, 2016, 2:00pm UTC](https://talk.openmrs.org/t/bahmni-on-debian-and-derivatives/8154 "2016-09-27T14:00:50Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)
#### Post date: [September 28, 2016, 11:22am UTC](https://talk.openmrs.org/t/bahmni-on-debian-and-derivatives/8154/5 "2016-09-28T11:22:28Z")

</div>

@scibearspace, thanks for the interest in working on this!

I would suggest taking a very different approach, basically instead of assuming you’ll start from existing OpenMRS downloads, you should start from the existing Bahmni packaging scripts that are used to build the RPMs.

For example I would start by modifying these three gradle scripts to publish debs (alongside the rpms), and see what might need to be changed to get this to work:

- [https://github.com/Bahmni/bahmni-package/blob/master/openmrs/build.gradle](https://github.com/Bahmni/bahmni-package/blob/master/openmrs/build.gradle)
- [https://github.com/Bahmni/bahmni-package/blob/master/bahmni-emr/build.gradle](https://github.com/Bahmni/bahmni-package/blob/master/bahmni-emr/build.gradle)
- [https://github.com/Bahmni/bahmni-package/blob/master/bahmni-web/build.gradle](https://github.com/Bahmni/bahmni-package/blob/master/bahmni-web/build.gradle)

@sravanthi17 can probably suggest the next steps.

PS- It would also be good for OpenMRS core to directly publish deb packages of its various components, but I think that’s a different project.

---

_[View the full topic](https://talk.openmrs.org/t/bahmni-on-debian-and-derivatives/8154)._
