Step by step
Start a session
Open UserLAnd and tap your distribution on the Apps tab, or reconnect from the Sessions tab.
Refresh the package list
On Ubuntu, Debian or Kali, run
sudo apt update. The password is the Linux password you chose during setup.Install what you need
For example,
sudo apt install git python3 build-essential.Run it
Command-line programs run in the terminal. Graphical programs appear when you're connected through a Graphical (VNC) session.
Package manager cheat sheet
| Distribution | Update | Install | Search |
|---|---|---|---|
| Ubuntu, Debian, Kali | sudo apt update |
sudo apt install git |
apt search git |
| Arch | sudo pacman -Syu |
sudo pacman -S git |
pacman -Ss git |
| Alpine | sudo apk update |
sudo apk add git |
apk search git |
| Fedora | sudo dnf upgrade |
sudo dnf install git |
dnf search git |
Frequently asked questions
Why does sudo ask for a password?
It's the Linux password you set when you created the filesystem in UserLAnd, not your Android PIN.
Can I compile software?
Yes. Install a compiler (build-essential on Debian-based systems) and build as usual. Large builds are slower on a phone than on a PC.
Some programs fail with permission or kernel errors. Why?
Standard mode runs on Android's kernel without root, so software that needs kernel modules, raw sockets or systemd may not work. VM mode (UserLAnd Pro, on supported devices) runs a full Linux kernel.