# Building new linux package

**URL:** <https://forum.mattermost.com/t/building-new-linux-package/2489>\
**Category:** Troubleshooting\
**Created:** [November 12, 2016, 1:16pm UTC](https://forum.mattermost.com/t/building-new-linux-package/2489 "2016-11-12T13:16:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zetab](https://avatars.discourse-cdn.com/v4/letter/z/df788c/32.png) [@zetab](https://forum.mattermost.com/u/zetab)\
**Post date:** [November 12, 2016, 1:16pm UTC](https://forum.mattermost.com/t/building-new-linux-package/2489/1 "2016-11-12T13:16:58Z")

</div>

Hi

I have some problems building new package of mattermost. I have tried to follow these [Redirect](https://docs.mattermost.com/developer/developer-setup.html) instructions but i have no idea how I should build production package?

make run works fine, i can see my local modifications in web browser. However, when i write for instance

“make package” everything will fail?  
cp /Users/zinith/go/bin/darwin\_amd64/platform dist/mattermost/bin  
cp: /Users/zinith/go/bin/darwin\_amd64/platform: No such file or directory  
make: \*\*\* [package] Error 1

What is the correct process to build linux package in mac?

---

<div class="post-metadata">

**Author:** ![crspeller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/crspeller/32/2605_2.png) [@crspeller](https://forum.mattermost.com/u/crspeller)\
**Post date:** [November 16, 2016, 1:49pm UTC](https://forum.mattermost.com/t/building-new-linux-package/2489/2 "2016-11-16T13:49:23Z")

</div>

Hi zetab,

Are you trying to build the latest master? It’s only recently that we supported making packages on any platform other than linux. You can still run `make run` on any platform though. Does that work for you?
