Hello Everyone, Welcome to My Blog, in today's Article, I'm writing on how to install Gentoo Linux OS CLI on Your Android Device, Read the Article till the end and copy all the commands as given, and make sure you watch the video at the end of this article To see how this is done in practical.
Prerequisites
Installation Procedures
Update Termux report and install proot-distro with the command below.
pkg update ; pkg install proot-distro
After that we're going to edit an installation script for Gentoo, copy and paste the command below to launch a nano editor for the installation script.
nano $PREFIX/etc/proot-distro/gentoo.sh
Now paste the script below in the nano page ↓↓↓
# This is a default distribution plug-in.
# Do not modify this file as your changes will be overwritten on next update.
# If you want customize installation, please make a copy.
DISTRO_NAME="Gentoo Linux"
DISTRO_COMMENT="Gentoo Linux Script Modified By Birds In Tech."
TARBALL_URL['aarch64']="https://ftp.dimensiondata.com/linux/distributions/gentoo/releases/arm64/autobuilds/20230325T164656Z/stage3-aarch64_be-openrc-20230325T164656Z.tar.xz"
TARBALL_SHA256['aarch64']="49f06598494526b439abfc4914543cb7ce2ffbde7e78255f7b6ab3c2175f1f05"
TARBALL_URL['arm']="https://ftp.dimensiondata.com/linux/distributions/gentoo/releases/arm/autobuilds/20230308T210206Z/stage3-armv7a-openrc-20230308T210206Z.tar.xz"
TARBALL_SHA256['arm']="5e76c57501ebc0f7c0306ac82493d5db9e45bd89eaf3ea459f76ca7fc230a75d"
TARBALL_URL['i686']="https://ftp.dimensiondata.com/linux/distributions/gentoo/releases/x86/autobuilds/20221226T170307Z/stage3-i686-openrc-20221226T170307Z.tar.xz"
TARBALL_SHA256['i686']="2fa554a138bd2f862fde2dc756047934b7434625a901781b00518782f7067d5a"
TARBALL_URL['x86_64']="https://ftp.dimensiondata.com/linux/distributions/gentoo/releases/amd64/autobuilds/20230305T164658Z/stage3-amd64-openrc-20230305T164658Z.tar.xz"
TARBALL_SHA256['x86_64']="c5c56266c7560ce79dbc229359a606457fc6168ecebfdb7cb574f4347eef72c8"
Type Ctrl+x to save and exit from nano editor .
Now install Gentoo Linux with the command below .
proot-distro install gentoo
As soon as the installation is complete, login to Gentoo with the command↓↓↓
proot-distro login gentoo
Once you've done all of this, you'd be logged in to the CLI of Gentoo Linux OS.
You can now enjoy your Gentoo Linux CLI from the comfort of your Android phone.