# Build debian package in windows OS

**URL:** <https://community.grafana.com/t/build-debian-package-in-windows-os/3406>\
**Category:** Grafana Plugin Development\
**Created:** [October 24, 2017, 2:15pm UTC](https://community.grafana.com/t/build-debian-package-in-windows-os/3406 "2017-10-24T14:15:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayatullah](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@ayatullah](https://community.grafana.com/u/ayatullah)\
**Post date:** [October 24, 2017, 2:15pm UTC](https://community.grafana.com/t/build-debian-package-in-windows-os/3406/1 "2017-10-24T14:15:56Z")

</div>

I cannot build grafana from source using the following command:  
go run build.go build pkg-deb  
I replaced the “/” to be “\” in “build.go” file to fix mkdir command issue but the error still exists:

mkdir -p C:\Users\Ayatullah\AppData\Local\Temp\grafana-linux-pack129629587\usr\share\grafana  
exec: “mkdir”: executable file not found in %PATH%  
exit status 1

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [October 24, 2017, 3:43pm UTC](https://community.grafana.com/t/build-debian-package-in-windows-os/3406/2 "2017-10-24T15:43:22Z")

</div>

You cannot build Debian packages on Windows (or Windows packages on Debian). Is that what you want to do?

To just build from source to get Grafana running locally on Windows, follow these instructions (there are a couple of sections describing the extra steps and tools needed to build on Windows):

[http://docs.grafana.org/project/building\_from\_source/](http://docs.grafana.org/project/building_from_source/)
