Bash on ubuntu on macOS

Takaya Saeki, Yuichi Nishiwaki, Takahiro Shinagawa, Shinichi Honiden

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Citations (Scopus)


Linux is a popular operating system (OS) as a production environment, while many developers prefer to use macOS for their daily development. One way to deal with this situation is running Linux in a virtual machine and the other is porting development environments from Linux to macOS. However, using a virtual machine has a resource sharing problem, and porting environments is costly and often incomplete. A promising approach to low-cost and seamless resource sharing is to develop a Linux compatibility layer for macOS. Unfortunately, existing methods of implementing OS compatibility layers lack robustness or flexibility. In this paper, we propose a new architecture of OS-compatibility layers. It allows user-space implementation of the core emulation layer in the host OS to improve robustness while maintaining the flexible and powerful emulation ability without heavily depending on the host OS kernel by exploiting virtualization technology. We implemented our approach and confirmed that Ubuntu's userland runs on macOS. Our experimental results show that our approach has reasonable performance for real world applications.

Original languageEnglish
Title of host publicationProceedings of the 8th Asia-Pacific Workshop on Systems, APSys 2017
PublisherAssociation for Computing Machinery, Inc
ISBN (Electronic)9781450351973
Publication statusPublished - 2017 Sept 2
Externally publishedYes
Event8th ACM Asia Pacific Conference on Systems, APSys 2017 - Mumbai, India
Duration: 2017 Sept 2 → …

Publication series

NameProceedings of the 8th Asia-Pacific Workshop on Systems, APSys 2017


Other8th ACM Asia Pacific Conference on Systems, APSys 2017
Period17/9/2 → …


  • Operating system compatibility
  • Virtualization

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Hardware and Architecture


Dive into the research topics of 'Bash on ubuntu on macOS'. Together they form a unique fingerprint.

Cite this