I put a genuine Debian Linux install on my Pixel 9, and once it was running, I started working through everything it could actually do.
Google’s Linux Terminal app isn’t a sandboxed emulator like Termux, of course. Instead, it’s a real Debian virtual machine running on my own Pixel hardware through the Android Virtualization Framework. I’m not a developer, so instead of the usual dev-tool checklist, I went looking for what this thing is capable of for everyone else. Here’s what I found.
To start, though, you’ll want to set up developer options in Settings, then head to Settings > System > Developer options > Linux development environment.
I could turn it into a real coding environment
apt gives you the actual Debian package repository, not a workaround
Because this setup runs a full Debian virtual machine via the Android Virtualization Framework rather than an abstracted Android wrapper like Termux, you get unrestricted access to the official Debian package repositories. Running apt install build-essential git python3 nodejsas root pulls down the exact same native development packages you would find on a standard Linux desktop. The platform is explicitly designed for on-device development, giving developers a full environment right on the phone. Even if you never intend to compile a single line of code, knowing that the setup natively supports full-fledged compilers, runtime environments, and version control tools proves this is an uncompromised Linux machine sitting right in your pocket.
I could SSH into another machine without installing a separate app
OpenSSH is already there, just one apt install away
Instead of downloading a third-party app with ad banners or subscription pop-ups just to connect to a remote server, a single sudo apt install ssh gives you the full, native OpenSSH suite. You’ll get exact parity with a desktop terminal, complete with standard key management in ~/.ssh, native scp for secure file transfers, and support for your custom SSH configuration files. That native integration makes the device far more useful for quick remote tasks, allowing you to manage home servers, check remote logs, or reboot a machine directly from your phone without relying on compromised mobile SSH clients.
I could pull video and audio from almost anywhere with yt-dlp
One tool covers close to 1,800 sites
While Play Store utility apps come and go, yt-dlp remains the go-to solution for downloading web media. Installing it on Debian gives you command-line access to a utility that officially supports nearly 1,800 different sites. Whether you want to archive a video stream, extract a high-bitrate MP3 from a podcast, or grab content for offline viewing, a simple terminal command handles it directly on your device. It unlocks media-saving capabilities that are entirely unmatched by traditional App Store utilities, bypassing the aggressive restrictions, speed caps, and intrusive ads typical of mobile downloading apps.
Just make sure you only download public domain, Creative Commons, or your own media, as grabbing copyrighted videos without permission violates platform terms and copyright laws.
How to Download Video and Audio with yt-dlp
First, ensure Node.js is installed so yt-dlp can handle JavaScript runtime requirements:
sudo apt update && sudo apt install nodejs -y
-
Download a Video
- Fetch a video in the highest available quality:
yt-dlp "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
-
Download Audio Only
- Extract the audio stream and save it directly as an MP3:
yt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
-
Move Media to Android Storage
- Transfer your downloaded files out of the isolated Linux environment so they show up directly under Android’s Files > Internal Storage:
cp * /mnt/shared/
ffmpeg is the same tool desktop Linux uses
Instead of uploading family videos or large audio clips to sketchy conversion websites, installing ffmpeg brings desktop-grade media processing directly to your phone. If you need to convert an uncompressed .wav file into an .mp3 for a quick voice memo or trim a massive .mp4 video before sending it, a simple terminal command executes that task in seconds, right on your phone. Because it uses the exact same standard binary found on a desktop Linux build, any ffmpeg command guide or forum tutorial you find online works on your device without translation. For example, you can batch-compress an entire folder of high-resolution phone pictures down to a lightweight 720p video to share right on the phone via the CLI.
I could turn my phone into a quick file server on my own network
A one-line Python command shares files instantly
If you need to move a batch of photos, PDFs, or large archives to a laptop on the same Wi-Fi network without relying on cloud storage or tracking down a USB cable, Python makes it instantaneous. Running python3 -m http.server 8000 inside your Debian terminal instantly spins up a local web server hosted on your phone. Any device on your local network can simply enter your phone’s IP address into a browser to view, download, or transfer your local files. Beyond basic downloads, you can even initialize a bare Git repository inside your terminal to turn your phone into a private, local remote for versioning text drafts and project files over Wi-Fi. Now you have a fast, direct LAN drop point and no third-party software required.
I could boot a full Linux desktop over VNC
Xfce plus TigerVNC gets you a GUI, manually
While there’s no native graphical toggle built into this interface yet, running apt install xfce4 tigervnc-standalone-server allows you to launch a complete desktop environment directly from your terminal and connect to it using any Android VNC viewer app. It gives you a complete desktop interface right on your phone screen, serving as a functional precursor to how mobile workflows are evolving. In fact, future updates are actively geared toward native desktop experiences, with platform plans focusing on support for graphical applications and games down the line. Recent Android updates have even begun adding granular display resolution toggles to optimize these virtualized screens. For now, setting up an Xfce desktop manually lets you transform your phone into a portable desktop setup, giving you a visual Linux workspace anywhere you go.
It’s still experimental, of course
As capable as this setup is, it remains an early-stage tool with some rough edges. During testing, I hit a notification-permission bug that froze the app completely, which required jumping into Settings > Apps > Terminal > Notifications to reset access. You may also encounter occasional network drops that require toggling the entire feature off and back on, which wipes the virtual machine and forces you to reinstall your environment from scratch. Furthermore, Android 17’s experimental virtio console setting still throws errors in current beta builds.
Ultimately, Running a real Debian machine on your Pixel is a pretty cool proof of concept that can replace small server, media, and file-transfer tasks today. It won’t be taking the place of a dedicated laptop any time soon, though.