This example takes olddisk.qcow2 and resizes it into newdisk.qcow2,
extending one of the guest's partitions to fill the extra space.
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
| # This (very scant) guide allows you to do Android and react-native development on Linux by | |
| # running the android emulator in a container. | |
| # install yay via AUR | |
| git clone https://aur.archlinux.org/yay.git && cd yay && makpkg -si | |
| # install all android dev packages per https://wiki.archlinux.org/title/Android | |
| yay -Sy android-sdk-cmdline-tools-latest android-sdk-build-tools android-sdk-platform-tools android-platform | |
| # add to .zshrc |
-
$ sudo pacman -S tor $ ## nyx provides a terminal status monitor for bandwidth usage, connection details and more.
$ sudo pacman -S nyx
First Download the Android SDK Commandline Tool only.
https://developer.android.com/studio/
Goto Download Options
Find Commandline tools only Section
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images -
Download Image:
sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
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
| https://github.com/Alexpux/MSYS2-packages/issues/16 | |
| Download via pacman ncurses-devel ruby python2 python3 and lua source from web | |
| Download and compile lua5.2 (cd src && make mingw && cd .. && make install ) | |
| For python3 support : download libint and make it visible by renaming msys-intl-8.dll to libintl.dll and putting it in /usr/lib | |
| Run the following in vim/src: | |
| ./configure --prefix=/usr --with-tlib=ncursesw --enable-luainterp --with-lua-prefix=/usr/local --disable-gui --disable-tclinterp --enable-cscope --without-x CPPFLAGS="${CPPFLAGS} -I/usr/include/ncursesw" --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-pythoninterp=dynamic --enable-multibyte && make | |
| cd .. && make install | |
| run vim and do :version |
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
| Boot and interrupt the GRUB menu | |
| Edit the boot configuration, changing the "linux" line by adding these two parameters to the end of the line: | |
| noexec=off noexec32=off | |
| Then boot by pressing Ctrl+x. | |
| After booting, you can check to see if DEP/NX is turned off by running: | |
| dmesg | grep NX | |
| When DEP/NX is turned off you should see something similar to this output: |