# Workaround to develop on a Linux machine

**URL:** <https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885>\
**Category:** Native Development\
**Tags:** development\
**Created:** [November 16, 2023, 6:49pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885 "2023-11-16T18:49:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leesingchun](https://avatars.discourse-cdn.com/v4/letter/l/0ea827/32.png) [@leesingchun](https://forum.magicleap.cloud/u/leesingchun)\
**Post date:** [November 16, 2023, 6:49pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/1 "2023-11-16T18:49:29Z")

</div>

Does anyone know if there is a workaround to develop on a Linux machine?

I just want to confirm if buying another $2k Win/Mac machine is the only option after buying the $3.5k device.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [November 18, 2023, 5:37am UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/2 "2023-11-18T05:37:33Z")

</div>

We so not support Development on Linux at this time. I can provide your feedback to our voice of customer team if you have additional information on my you would like us to support that platform.

---

<div class="post-metadata">

**Author:** ![johnstonw](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@johnstonw](https://forum.magicleap.cloud/u/johnstonw)\
**Post date:** [November 24, 2023, 3:57pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/3 "2023-11-24T15:57:05Z")

</div>

Is it possible to dual boot the machine you want to use for development? worst case this would only be the cost of a windows license and maybe another hard drive if you dont want to partition.

you may also be able to run a windows or mac vm or docker container on the linux machine. I am betting this will have un expected issues but could be a good way to get started sooner.

another option could be using unity and only using the windows machine to deploy and manage the device. not sure if the unity sdk works on linux but its worth a try.

---

<div class="post-metadata">

**Author:** ![leesingchun](https://avatars.discourse-cdn.com/v4/letter/l/0ea827/32.png) [@leesingchun](https://forum.magicleap.cloud/u/leesingchun)\
**Post date:** [November 27, 2023, 9:33pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/4 "2023-11-27T21:33:13Z")

</div>

Thanks both for the suggestions. Sounds like what I need is to find a way to deploy the apk and install it on the device. Will the adb on Linux work for the deployment process?

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [November 27, 2023, 10:20pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/5 "2023-11-27T22:20:57Z")

</div>

Yes ADB will work on linux, so you could run the ‘adb install’ command to install apks

---

<div class="post-metadata">

**Author:** ![leesingchun](https://avatars.discourse-cdn.com/v4/letter/l/0ea827/32.png) [@leesingchun](https://forum.magicleap.cloud/u/leesingchun)\
**Post date:** [November 28, 2023, 3:27am UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/6 "2023-11-28T03:27:06Z")

</div>

I can compile (but cannot link) the sample native apps because I am missing the mlsdk libs on Linux. I saw the CMake scripts in fact handle the Linux platform. Do you have a timeline for releasing the mlsdk libs for Linux?

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [November 30, 2023, 3:53pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/7 "2023-11-30T15:53:54Z")

</div>

Currently we do not have a timeline for Linux support. However I have shared your request with our voice of customer team.

---

<div class="post-metadata">

**Author:** ![leesingchun](https://avatars.discourse-cdn.com/v4/letter/l/0ea827/32.png) [@leesingchun](https://forum.magicleap.cloud/u/leesingchun)\
**Post date:** [December 5, 2023, 10:00pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/8 "2023-12-05T22:00:34Z")

</div>

Thank you so much! I found that I can cross-compile the samples for Andriod on Linux (after getting the mlsdk for Andriod from my colleague), then adb install the apk. I think that will work at the moment and I will try pointing Unity to that Andriod mlsdk and see if it can build apk for the device. Thanks for the support!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [December 20, 2023, 10:00pm UTC](https://forum.magicleap.cloud/t/workaround-to-develop-on-a-linux-machine/2885/9 "2023-12-20T22:00:49Z")

</div>

Closed on December 20, 2023, 10:00pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
