{"repo":"harmoninux/Harmonix","free":true,"listed":false,"github":"https://github.com/harmoninux/Harmonix","clone":"git clone https://github.com/harmoninux/Harmonix.git","description":"A terminal for running Linux ELF binary on HarmonyOS PC.","language":"JavaScript","stars":117,"topics":["alpine","alpine-linux","harmony","harmonyos","harmonyos-next","linux-shell","rootfs","virtualization","linux","openharmony"],"license":"MIT","category":"cli-tools","readme_excerpt":"Harmonix Run Linux ELF binary (aarch64 and x86 64) on HarmonyOS PC, inspired by Termony, based on qemu-ohos. Build To build and install to your device, see Build Termony on Linux Usage - Build and sign hap of Harmonix - or download unsigned hap from Release page and sign the hap by your self - Install Harmonix to your HarmonyOS PC - Open Harmonix or HiShell, and run harmonix install to install Alpine Linux - After Alpine Linux installed, run harmonix run to start Alpine Linux - Run cd / cd to / and run ls , you can see the root changed! - Run uname -a to display system info - Run apk to install packages x86 64 You can also run Linux program of x86 64 on HarmonyOS PC by qemu-harmonix-x86 64 in Harmonix. - Download alpine minimal root filesystem from https://alpinelinux.org/downloads/, choose \"Mini root filesystem\" - \"x86 64\" - Extract downloaded rootfs tar.gz file to data directory, for example /data/storage/el2/base/files/alpine x64 - Run qemu-harmonix-x86 64 to load busybox shell with rootfs and environment variables - Run uname -a to display system info. Features - In Alpine Linux, you can use apk to install packages. - Install gcc and musl-dev by apk add gcc musl-dev , then you can compile C code and run. - Install python by apk add python3 , then you can run python script. - Install openjdk17-jdk by apk add openjdk17-jdk , then you can compile Java code by javac . - More external programs from packages works. Star History","default_branch":null,"files":null,"tree":[],"storefront":"/r/harmoninux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/harmoninux/Harmonix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}