# Linux binary is huge

**URL:** <https://forums.unrealengine.com/t/linux-binary-is-huge/379591>\
**Category:** Platform & Builds\
**Tags:** size, Linux, unreal-engine, binaries, packaging-projects, question\
**Created:** [December 18, 2016, 2:42am UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591 "2016-12-18T02:42:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zhur](https://forums.unrealengine.com/u/Zhur)\
**Post date:** [December 18, 2016, 2:42am UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591/1 "2016-12-18T02:42:41Z")

</div>

Hi all!

I’ve packaged my game for Win32/64, macOS and Linux and was surprised by the size of the latter. When I started checking turned out that the game binary in “LinuxNoEditor//Binaries/Linux/-Linux-Shipping” is 621M!

I’m using full rebuild shipping configuration with no debug files included. Total dir size is 847M against 100-180M on other platforms. Is it normal that it’s so big?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d868c905](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d868c905](https://forums.unrealengine.com/u/anonymous_user_d868c905)\
**Post date:** [December 19, 2016, 12:03pm UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591/2 "2016-12-19T12:03:03Z")

</div>

I can confirm that. The size of my binary on Linux is 700MB.

But it compresses well (to 111MB), so that should not be a problem for distribution.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d868c905](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d868c905](https://forums.unrealengine.com/u/anonymous_user_d868c905)\
**Post date:** [December 19, 2016, 11:07pm UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591/3 "2016-12-19T23:07:20Z")

</div>

But we still don’t know why the binary is so big.

It would be interesting to know…

---

<div class="post-metadata">

**Author:** ![BlueFortyTwo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueFortyTwo](https://forums.unrealengine.com/u/BlueFortyTwo)\
**Post date:** [January 2, 2018, 11:34pm UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591/4 "2018-01-02T23:34:36Z")

</div>

Looking for an answer here too. My linux dedicated server binary is also massive. I have a feeling it probably contains debugging symbols (i.e. the pdb file) but that’s just a wild guess. I would really like to shrink it down similar to the Windows version which is roughly 3x smaller.

---

<div class="post-metadata">

**Author:** ![BlueFortyTwo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueFortyTwo](https://forums.unrealengine.com/u/BlueFortyTwo)\
**Post date:** [January 2, 2018, 11:46pm UTC](https://forums.unrealengine.com/t/linux-binary-is-huge/379591/5 "2018-01-02T23:46:42Z")

</div>

Looks like the solution is here:

> **[Linux Shipping Package Size](https://forums.unrealengine.com/questions/472062/linux-shipping-package-size.html)**
>
> Current: WindowsNoEditor (32-bit): 136 MB MacNoEditor (64-bit): 222 MB LinuxNoEditor (64-bit): 605 MB Expected: Linux should not be 6x the size of Windows build. Project setup: Source engine build (including some C++ project files) Windows...

The cross-toolchain comes with a utility to strip the debugging symbols manually.
