- Install qemu-user-static (
yay -S qemu-user-static).- This might need you to install
pcre-staticand update PGP keys (follow the tips in the comments here).
- This might need you to install
- If not already present, install
systemd-binfmt, the revamped version ofbinfmt-supporttools- Your system has to support transparent Qemu user emulation, but fortunately, that is mostly enabled once the steps here have been followed.
- Check the status of the
systemd-binfmtunit (systemctl status systemd-binfmt) and (re)start if needed (sudo systemctl restart systemd-binfmt)- This unit has ARM support by default, but check the current documentation to make install it if needed
- Mount the root partition of the ARM system into a folder (for e.g.,
sudo mount /dev/sdb2 arm_mountpoint) - Copy the QEMU ARM static binary (
/usr/bin/qemu-arm-staticon my distro) to the mounted root directory'susr/bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BITS 64 | |
| ; Assembly with NASM for 64-bit | |
| ; nasm -f win64 -o messagebox.o messagebox.asm | |
| ; Linking for 64-bit with MinGW | |
| ; x86_64-w64-mingw32-ld -o messagebox.exe messagebox.o -lkernel32 -luser32 | |
| extern MessageBoxA | |
| extern ExitProcess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### How to install github desktop on ubuntu: | |
| ## download .deb file: | |
| sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.2.0-linux1/GitHubDesktop-linux-3.2.0-linux1.deb | |
| ## gdebi: | |
| # sudo apt install gdebi-core -y | |
| # sudo gdebi GitHubDesktop-linux-3.2.0-linux1.deb | |
| ## dpkg: | |
| sudo dpkg -i GitHubDesktop-linux-3.2.0-linux1.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 资料: | |
| lxc: | |
| https://github.com/clondroid | |
| lxc-android https://github.com/ppoffice/lxc-android | |
| https://github.com/hybris-mobian/lxc-android | |
| 区别在Android上运行lxc 和 利用lxc运行Android | |
| anbox: | |
| !!!!!!!!!!!!!!!! |