hello guys welcome back to technical Birds Blog in today's tutorial I'm going to be showing you how to install Archlinux and it's desktop version on your Android device, in our previous tutorials, we discussed how to install Xfce4 desktop on Ubuntu, since then I've been getting a lot of Archlinux tutorial request, so today I'm going to show you how you can setup the full version of Archlinux desktop on your Android phone
prerequisites :
How To install Archlinux
after installing the Termux application on your Android phone , we launch the app and first we upgrade the app repositories, to do that type the command
- apt update && apt upgrade
as we've talked about in our previous blog tutorials, one of the best ways to install Linux distros on Termux is by using proot-distro, to install proot-distro type the command:
- apt install proot-distro
now you install Archlinux by typing the command :
- proot-distro install archlinux
once the installation is complete we login with the command:
- proot-distro login archlinux
after that we upgrade archlinux repositories with the command
- pacman -Syuu
now we Install sudo nano to do that we type the command :
- pacman -S sudo nano
now we add a user account to our archlinux, to do that type the command :
- useradd -m'username' (example :- useradd -m bird)
NOTE :- you'd be required to enter and verify a password, make sure you enter a password you can remember
now we want to give our new account sudo permission, to do that type the command :
- nano /etc/sudoers
paste your new user name below the root permission, and add the ALL=(ALL:ALL:ALL) at the front of it. see image below for example
type Ctrl + o to save and Ctrl + x to exit
now we login to our new user account by typing the command :
su username (example :- su bird)
now we proceed to the desktop Install :
copy the commands below and paste them in your terminal :
- sudo pacman -S xfce4-goodies lightdm tigervnc neofetch firefox
now after all of this installations we should create a custom and easy password for our vnc connection to do that type the command :
- vncpasswd
now to Access your desktop Gui type the command :
- vncserver :1
and then launch your vnc viewer.
in the address bar paste localhost:1
in the name bar paste whatever name you wish.
now you can edit your desktop using the video guidelines in our YouTube video below