# OpenTAP on MacOS?

**URL:** <https://forum.opentap.io/t/opentap-on-macos/364>\
**Category:** Technical\
**Created:** [June 29, 2021, 4:54pm UTC](https://forum.opentap.io/t/opentap-on-macos/364 "2021-06-29T16:54:11Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-wsd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/david-wsd/32/204_2.png) [@david-wsd](https://forum.opentap.io/u/david-wsd)\
**Post date:** [June 29, 2021, 4:54pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/1 "2021-06-29T16:54:11Z")

</div>

Hi all, I received a request to run OpenTAP on a Mac. I see [OpenTAP installation instructions](https://doc.opentap.io/#install-opentap) for Windows and Linux, figured I’d ask the community if MacOS is possible.

Questions are:

1. Can the OpenTAP engine run on MacOS?
2. If so, do I need to develop plugins using .NET core in order to run on MacOS?
3. If so, what GUI options do I have on a Mac? Editor?

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [June 29, 2021, 5:11pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/2 "2021-06-29T17:11:10Z")

</div>

Mac OS is not something we currently test on or support, but we are monitoring it as something we would potentially support if there was enough demand. [EditorX](https://forum.opentap.io/t/introducing-editor-x-cross-platform-gui-for-opentap/319) is our first step towards more support of non-Windows systems.

For you questions:

1. OpenTAP is built with .NET Core, so this should be doable (because .NET Core supports Mac OS), but it is not part of our testing matrix today
2. This would mean you would need to use either .NET Core plugins or the Python Plugin. Anything built with .NET framework would not work.
3. The existing Editor is built with WPF, and will not ever work on Mac OS or Linux. There is not a great option today. Likely anything in the future from a UI perspective would need to be built around the REST API, which is not currently tested on Mac OS either.

First step I think would be verifying OpenTAP on Mac OS. I’m wondering what level of interest others in the community have. here and if anyone was willing to do some baseline investigation.

---

<div class="post-metadata">

**Author:** ![david-wsd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/david-wsd/32/204_2.png) [@david-wsd](https://forum.opentap.io/u/david-wsd)\
**Post date:** [June 29, 2021, 5:35pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/3 "2021-06-29T17:35:39Z")

</div>

Thanks so much @brennen_direnzo for the info. This is more exploratory for me, I was honestly hoping to rule it out macOS for now. 😉

---

<div class="post-metadata">

**Author:** ![bweinberg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/bweinberg/32/149_2.png) [@bweinberg](https://forum.opentap.io/u/bweinberg)\
**Post date:** [July 5, 2021, 7:35pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/4 "2021-07-05T19:35:05Z")

</div>

Hi David

Check out MacPorts and HomeBrew

[How to Install Linux Software on a Mac with MacPorts - Make Tech Easier](https://www.maketecheasier.com/install-linux-software-on-mac/)

Bill

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 1, 2021, 1:26pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/5 "2021-11-01T13:26:42Z")

</div>

You can also try the docker container for opentap and use the TUI for a GUI:

docker pull opentapio/opentap:9.15-ubuntu18.04  
docker run --name myot -it opentapio/opentap:9.15-ubuntu18.04tap package install TUI --version any  
tap tui

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [November 1, 2021, 1:39pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/6 "2021-11-01T13:39:16Z")

</div>

@mescgroup have you successfully deployed the above on MacOS?

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 1, 2021, 9:03pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/7 "2021-11-01T21:03:38Z")

</div>

Yes, we work on Macs and while waiting for our IT department to create some Windows VM’s for us to use for OpenTAP, I and another of my colleagues (also on a Mac) both downloaded the image, started up a container, and ran the TUI successfully.

This is a screen shot of running the container within a Mac terminal session, and then, inside the container, running the TUI and creating and running a simple test plan.

 ![Inline image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/7f5ee822a249dd0626f0004f4cf63613ecf0dba3.png "Inline image")

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [November 1, 2021, 11:09pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/8 "2021-11-01T23:09:32Z")

</div>

Awesome! That is really cool to see.

---

<div class="post-metadata">

**Author:** ![stefan.holst](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@stefan.holst](https://forum.opentap.io/u/stefan.holst)\
**Post date:** [November 2, 2021, 7:29am UTC](https://forum.opentap.io/t/opentap-on-macos/364/9 "2021-11-02T07:29:52Z")

</div>

This is awesome! Also, thanks for the merge request @mescgroup 😃

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 2, 2021, 1:26pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/10 "2021-11-02T13:26:21Z")

</div>

My pleasure, anything to help others understand. Thanks for including it.

---

<div class="post-metadata">

**Author:** ![david-wsd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/david-wsd/32/204_2.png) [@david-wsd](https://forum.opentap.io/u/david-wsd)\
**Post date:** [November 3, 2021, 6:06pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/11 "2021-11-03T18:06:07Z")

</div>

Thank you @mescgroup for this info, very cool to see.

---

<div class="post-metadata">

**Author:** ![jeff.dralla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/jeff.dralla/32/220_2.png) [@jeff.dralla](https://forum.opentap.io/u/jeff.dralla)\
**Post date:** [November 4, 2021, 12:36am UTC](https://forum.opentap.io/t/opentap-on-macos/364/12 "2021-11-04T00:36:15Z")

</div>

Looking good. Curious…does MacOS on Intel vs MacOS on M1 have any impact here?

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 4, 2021, 11:55am UTC](https://forum.opentap.io/t/opentap-on-macos/364/13 "2021-11-04T11:55:28Z")

</div>

It “shouldn’t” (I’m sure you’ve heard that expression before) given that you’re running a docker container.

---

<div class="post-metadata">

**Author:** ![alan\_copeland](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@alan\_copeland](https://forum.opentap.io/u/alan_copeland)\
**Post date:** [November 5, 2021, 4:48pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/14 "2021-11-05T16:48:37Z")

</div>

I think you’ll run into issues (some are surmountable, others less so). You’ll need to use arm64 based docker images, not amd64. OpenTAP should work in that environment, and .NET Core 2.1 is available for arm64, but Keysight I/O will not work for example.

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 15, 2021, 6:31pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/15 "2021-11-15T18:31:40Z")

</div>

Just FYI- there are a set of R/S drivers that work on Mac. It included a little app that was able to hit my connected SigGen:

> **[Remote Control and Instrument Drivers](https://www.rohde-schwarz.com/us/driver-pages/remote-control/drivers-remote-control_110753.html)**
>
> The following chapters describe the basics of the remote control for the Rohde & Schwarz test and measurement instruments. If you want to automize your measurement task in Python, LabVIEW, C#, MATLAB or any C/C++ language, these chapters help you...

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/f55a2a528bfc19e6ee40c54dc13f485995bb6c92.jpeg)

---

<div class="post-metadata">

**Author:** ![mescgroup](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@mescgroup](https://forum.opentap.io/u/mescgroup)\
**Post date:** [November 18, 2021, 2:16pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/16 "2021-11-18T14:16:41Z")

</div>

UPDATE 11-18: More info about successfully running OT/KS/TUI and ConEx from docker container running on a Mac host can be found at this topic/thread:

> [@Installing KeySight IO Lib on OpenTap Ubuntu Container](https://forum.opentap.io/t/installing-keysight-io-lib-on-opentap-ubuntu-container/505):
>
> Howdy- We’re trying to install the Keysight IO Libs on the OpenTap Ubuntu docker container. There are probably some network packages that need to be installed before hand, because, when trying to install the library in the container, it (the installer) reports the error: “This device is not connected to the network – aborting the installation.” The container can get to the internet because I was able to download other packages and github projects. Any idea what it might need?

---

<div class="post-metadata">

**Author:** ![brightscripters](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@brightscripters](https://forum.opentap.io/u/brightscripters)\
**Post date:** [January 18, 2022, 3:32am UTC](https://forum.opentap.io/t/opentap-on-macos/364/17 "2022-01-18T03:32:01Z")

</div>

I’m also trying the container option on Mac and able to get TUI to show, but it doesn’t look as nice as the screenshot posted here. Any tip regarding terminal emulation or such?  
Thanks  
Udi

---

<div class="post-metadata">

**Author:** ![alan\_copeland](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@alan\_copeland](https://forum.opentap.io/u/alan_copeland)\
**Post date:** [January 18, 2022, 5:51pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/18 "2022-01-18T17:51:50Z")

</div>

Can you explain a little more about what you tried? I can try to duplicate it

---

<div class="post-metadata">

**Author:** ![stefan.holst](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@stefan.holst](https://forum.opentap.io/u/stefan.holst)\
**Post date:** [February 2, 2022, 2:34pm UTC](https://forum.opentap.io/t/opentap-on-macos/364/19 "2022-02-02T14:34:48Z")

</div>

The look of the TUI is very dependent on which terminal you are using. Are you using a special terminal on macOS?

Btw, the latest beta version of OpenTAP supports macOS natively (including Apple Silicon).
