How to use your Pixel’s hidden Linux Terminal

Configurare noua (How To)

Situatie

Solutie

Reports hit this past year detailing that Google was working on bringing the Linux terminal to its Android phones. The app then became available for the first time on Android 15 beta builds.

The Linux terminal is tucked away under Android’s developer options. These settings are available on any Android phone, but they’re not visible out-of-the-box. If you’re unfamiliar with how to turn developer settings on, that’s a good place to start.

Once you’ve enabled developer options and navigated to Settings > System > Developer Options, tapping the search icon at the top is the fastest way to find what you’re looking for. Just type terminal, and you should see an option appear with the description “(Experimental) Run Linux terminal on Android”.

Searching for a terminal about Android developer options on a Pixel.

If you’re trying to find the setting manually, it will appear as “Linux development environment”

The Linux developer environment option in Android developer options on a Pixel.

After you toggle this setting on, you will be instructed to download and install the Linux terminal. The download is over 500MB, so you may want to connect to Wi-Fi first.

Once installed, the Linux Terminal icon will appear in your app drawer like any other app.

The Linux Terminal app in an Android app drawer.

If you turn off the “Linux development environment” setting under Developer Options, it will clear any terminal data and uninstall the app from your device. The Linux Terminal app utilizes Debian, one of the oldest ongoing versions of Linux, and one that many others are based on, like the widely-used Ubuntu.

If you have any familiarity with using the terminal in Debian or any Debian-based versions of Linux, you’ll already have a good idea what you can do. Frankly, if you’ve used any Linux terminal, or even the terminal baked into macOS, you may already know a fair number of available bash commands. Commands like ls work across both.

I started by typing in nano, which was one of the first Linux terminal commands I learned almost two decades ago. Nano is a terminal-based text editor that can create, read, and edit text files on your device.

Whenever you start typing while using the terminal on your Pixel, an additional set of useful buttons appears above the keyboard, including arrow keys, Ctrl, Alt, Tab, Esc, Home, End, PgUp, and PgDn buttons. These are necessary to use many terminal programs. To exit nano, for example, you have to hold down Ctrl + X.

The Linux Terminal app comes with access to the Debian repositories, so you can use the APT tool to check for updates and install apps like you would on Debian.

The Linux Terminal app runs in a virtual machine, which differentiates it somewhat from existing native third-party terminals like Termux. That means it doesn’t load instantly as other apps might. You have to wait for the virtual machine to boot up, which sometimes takes quite a few seconds on the aging Pixel 6 I tried this out on.

Plus, the terminal app is isolated from your phone files, so don’t expect to suddenly start viewing your home folder with the ls command.

The terminal currently can’t yet run graphical desktop applications, though this could soon change. Android Authority has demoed Doom (of course) running in a developmental version possibly on track for release in Android 16. This could be a big boon for those of us running Android desktops. I’m personally typing these words within a tabbed version of the Vivaldi web browser on Samsung DeX.

Right now, the terminal is good for tinkerers and the merely curious alike. There are also many terminal commands that are immensely useful without needing either a graphical environment or access to your local files. Network administrators, for example, can test network connectivity and administer remote servers from a phone-based terminal.

That said, this has long been an option by installing Termux. If you need any of this functionality, chances are, you’ve already installed that app instead. Yet there’s something freeing about playing around with a virtual terminal whose data you can blow away without risk at any time.

Tip solutie

Permanent

Voteaza

(2 din 3 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?