VIVIDBAYVIVIDBAY

    Subscribe to Updates

    Subscribe to get the latest news, updates and deals on different products!

    Discover
    7

    Dell Precision 7730 Review: Is it worth it?

    January 20, 2023
    9.0

    Acer Predator Helios 500 Review: Read this before you buy!

    January 23, 2023

    Real Talk — Is Time Travel Possible?

    December 17, 2018

    What Can You Do With An Old Mac? Use It As A WiFi Extender

    July 27, 2022

    How to wirelessly pair PS5 DualSense controller with Windows/Android/Mac/PS3/iOS

    November 6, 2022
    Facebook Twitter Instagram
    • Contact
    • About
    VIVIDBAYVIVIDBAY
    Facebook Twitter Instagram Pinterest Vimeo
    • Home
    • Discover
    • Tech
      1. All Tech
      2. Phones
      3. Laptops
      4. Earphones
      5. Drones
      6. Gaming
      7. Cars
      8. Electric Vehicles
      9. Tesla
      10. View All

      Is the Google Pixel 2 worth it in 2023?

      February 4, 2023

      Samsung Galaxy S23 and S23 Plus: Clean and simple

      February 2, 2023

      What is a “Per-Key RGB” keyboard? 

      January 25, 2023
      9.0

      Acer Predator Helios 500 Review: Read this before you buy!

      January 23, 2023

      Is the Google Pixel 2 worth it in 2023?

      February 4, 2023

      Samsung Galaxy S23 and S23 Plus: Clean and simple

      February 2, 2023

      How to keep apps permanently opened on an Android device

      January 7, 2023

      How to restrict (meter) Wi-Fi on Android and disable internet on specific apps

      January 4, 2023

      What is a “Per-Key RGB” keyboard? 

      January 25, 2023
      9.0

      Acer Predator Helios 500 Review: Read this before you buy!

      January 23, 2023
      7

      Dell Precision 7730 Review: Is it worth it?

      January 20, 2023

      The M2 Mac Mini is a steal

      January 18, 2023
      8

      Are the Airpods Pro 1st Gen worth it in 2023?

      January 9, 2023

      Improve Bass on AirPods 3: Best Spotify EQ settings

      January 18, 2022

      Low Bass On Galaxy Buds Pro? Get That Deep Bass With This Tweak

      January 17, 2022

      Nothing Ear 1: The $99 Noise Cancelling Earbuds

      August 1, 2021

      DJI Mini 2 VS Mavic Air 1st Gen

      February 23, 2022

      DJI Spark VS DJI Mini

      February 23, 2022

      PS5 shortage made me buy my first X-Box console, the Series S

      December 22, 2022

      How to wirelessly pair PS5 DualSense controller with Windows/Android/Mac/PS3/iOS

      November 6, 2022

      Playstation showcase: Expectations Exceeded

      September 10, 2021

      Valve Steam Deck: The Ultimate Portable Gaming PC

      July 29, 2021

      Acura MDX Rapid Clicking No Start (Fixed)

      January 16, 2022

      Tesla’s redesigned Model S looks great but the steering wheel has me scratching my head.

      February 2, 2021

      Tesla’s redesigned Model S looks great but the steering wheel has me scratching my head.

      February 2, 2021

      Is the Google Pixel 2 worth it in 2023?

      February 4, 2023

      Samsung Galaxy S23 and S23 Plus: Clean and simple

      February 2, 2023

      What is a “Per-Key RGB” keyboard? 

      January 25, 2023
      9.0

      Acer Predator Helios 500 Review: Read this before you buy!

      January 23, 2023
    • News
      1. Entertainment
      2. View All

      The Ultimate Guide To Music Subscriptions! (Plans And Prices)

      April 6, 2022

      The quickest path to Canadian permanent residency.

      May 24, 2019

      Samsung Galaxy S23 and S23 Plus: Clean and simple

      February 2, 2023

      The M2 Mac Mini is a steal

      January 18, 2023

      iOS 16 Truly Elevates The iPhone Experience

      June 9, 2022

      Hey Google! It’s About Time: The best Google IO announcements

      May 15, 2022
    • Top 10s

      8 Best Safari Countries In Africa

      November 12, 2017
    • How To

      How to view YouTube comments on a smart TV, Android box, PS5, Xbox and Roku

      January 15, 2023

      How to keep apps permanently opened on an Android device

      January 7, 2023

      How to restrict (meter) Wi-Fi on Android and disable internet on specific apps

      January 4, 2023

      How to crop photos on Mac OS using the built-in Preview app

      December 28, 2022

      How to install Linux on any Android device

      December 27, 2022
    • Science

      Real Talk — Is Time Travel Possible?

      December 17, 2018

      Concrete vs Wood: Why developing countries use concrete

      November 13, 2017
    VIVIDBAYVIVIDBAY
    Home»How To»How to install Linux on any Android device
    How To

    How to install Linux on any Android device

    Kenyon NdeziBy Kenyon NdeziDecember 27, 2022Updated:December 28, 2022No Comments7 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Linux icon in front of a mountain.
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Installing Linux on an Android device can be a great way to expand the capabilities of your device and turn it into a portable Linux computer. With Linux, you can access a wide range of powerful tools and applications unavailable on Android, and customize your system to meet your specific needs.

    There are several ways to install Linux on an Android device, but in this guide, we’ll focus on using Andronix and Termux.

    What are Termux and Andronix?

    • Andronix is an Android app that allows you to install various Linux distributions on your device.
    • Termux is a terminal emulator that allows you to run Linux commands on your device. 

    With these two apps, you can easily install and run a Linux distro on your Android device, giving you access to a wide range of tools and applications.

    Download F-Droid

    Before you install Linux, you’ll first need to install F-Droid. The reason behind this is “F-Droid houses the latest stable versions of Termux that are now not released on the Play Store“. 

    F-Droid is an open-source Android app store that provides access to a wide range of free and open-source Android applications. F-Droid is different from other app stores, such as the Google Play Store, in that it only includes apps that are open-source and follow certain guidelines.

    One of the main benefits of F-Droid is that it provides a trusted source for downloading open-source apps. All apps in the F-Droid store are reviewed and verified to ensure that they meet the standards for open-source software. This helps ensure that the apps you download from F-Droid are safe, secure, and high-quality.

    To download F-Droid, click this link.

    How to install Linux on Android

    • First, you will need to download and install F-Droid.
    • Open F-droid and download Termux.
    • Open Playstore and download Andronix.
    • Once both apps are installed, open Andronix and select the desired Linux distribution. There are several options; Including Ubuntu, Debian, Fedora, Kali Linux, Arch Linux, Manjaro, Void and Alpine. It’s completely free to install these.

    On the bottom, you’ll be presented with another option, labelled “Andronix Modded OS.” These are modified Linux distros by the Andronix team that come with pre-installed software, themes, icons and optimized performance. However, to download any of the Modded OS, you’ll have to make a purchase. The good news is the price is reasonable and costs less than $5 for each distro. 

    Note: If you want the best performance and experience, a modded OS is the better option but not necessary.

    • In my case, I already own the modded Ubuntu XFCE distro. So we’ll install that (the process should be the same for all distros.)
    Andronix Distro selection. How to select the right Linux OS.
    • Select Proceed
    • Select Install
    • Andronix will generate a command that you can copy
    • Open Termux and Paste the command
    • Allow storage permissions
    storage permissions on Android.
    • Wait for the installation to complete
    • Once installation finishes, Termux will display a command that can be used to start Linux. In my case, to start Ubuntu XFCE the command is ./start-andronix.sh. The command will be different depending on the chosen distro.
    Linux command to start Andronix Linux OS.
    • Now copy and paste that command in Termux to start Linux
    • Set up a username and password
    How to install Linux on an Android device using Andronix.
    • Press enter

    Set up VNC Server

    A VNC (Virtual Network Computing) server is a computer program that allows you to remotely control another computer. It allows you to view and interact with the desktop of the remote computer as if you were sitting in front of it.

    VNC is commonly used for remote support, remote access, and remote collaboration, and it is available for a wide range of operating systems, including Windows, Mac, Linux, and more. For this project, a VNC application is needed to view and interact with the operating system.

    There are many different VNCs to download from the Play Store. One of the most popular is VNC Viewer, but they should all work the same way.

    Once a VNC is installed, follow the steps below to add a new server.

    How to set up a VNC server on the VNC Viewer app

    • Click on the plus sign in the bottom right corner
    • On Address enter Localhost:1
    How to add a VNC server on the VNC viewer app.
    • Give it a name
    • Now head back to Termux and start the server
    • To start the server type vncserver-start
    • Select resolution
    Andronix resolution selection before setting up a VNC server.
    • Head back to VNC Viewer
    • Select your server
    • You might get a warning (ignore that)
    Warning message when setting up a VNC server
    • Enter the password that you created earlier
    Entering a password for a VNC server.
    • Click Continue
    • Enjoy Linux
    Andronix Linux running on Samsung Dex.

    If you don’t want to use a VNC, consider checking this app from GitHub. Using a browser, AndroVNC allows you to connect without using a dedicated VNC client on the device.

    What are the benefits of installing Linux on Android?

    There are several reasons why someone might want to use Linux on their Android device:

    • Development: Linux is a popular choice for developers, as it provides access to a wide range of tools and resources. Using Linux on an Android device can make it easier for developers to test and debug their applications.
    • For the fun of it: It’s fascinating to think that a phone or even a tablet could run a desktop operating system.
    • Productivity: Having access to a full desktop browser increases the productivity of any Android device.
    • Privacy: Linux is known to be a safe and secure operating system.
    • Customization: Linux allows users to customize their devices in ways that may not be possible with the Android operating system. This includes the ability to install and use different desktop environments and access the command line, which can be useful for advanced users.
    • Security: Linux is generally considered to be more secure than other operating systems. This is because Linux is open source, which means that anyone can review the code and look for vulnerabilities.

    Does Andronix Linux work with Samsung Dex?

    Yes, once you successfully set up a VNC server, you can easily access the app through Samsung Dex. It works surprisingly works well, converting an already impressive desktop environment to a whole new level. To get the best experience, connect your phone to a desktop monitor or a TV, with a keyboard and mouse. If you have a Samsung Tablet, you can access Samsung Dex right from the screen.

    Is this real Linux? What’s the catch

    There are some limitations that you should be aware of when using Andronix.

    • PC games don’t work: You won’t be able to run games on Steam, Wine or PlayOnLinux. The reason is smartphones use a different architecture (ARM) from Intel/AMD-based CPUs (x86). This also extends to other apps that are compiled for the x86 architecture. The only apps that will work are ARM-compiled apps.
    • PRoot limitations: PRoot enables you to utilize an almost complete version of Linux within Termux, though certain limitations imposed by Android still apply. For a better Linux experience, you’ll have to root your phone and use Linux Deploy. To learn more about root, click this link.
    • Development limitations: Andronix does not support compiling large chunks of code such as building an Android app, any software, or compiling kernels. This is because of PRoot environment limitations.
    • Hardware limitations: Since there’s no root access with Andronix (and PRoot limitations), you won’t be able to mount/read any hardware such as drives or adapters. There’s also no hardware acceleration.

    To learn more about the limitations of Andronix, click this link.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to watch Youtube videos on your Galaxy smartwatch
    Next Article How to crop photos on Mac OS using the built-in Preview app
    Kenyon Ndezi
    • Website

    Kenyon Ndezi is a recent graduate, writer, creator of kenyonndez.com; and the owner of Neonbuild.com, which is a company focused on building apps for small businesses and individuals. Follow along and get inspired!

    Related Posts

    Phones

    Is the Google Pixel 2 worth it in 2023?

    February 4, 2023
    Phones

    Samsung Galaxy S23 and S23 Plus: Clean and simple

    February 2, 2023
    Tech

    What is a “Per-Key RGB” keyboard? 

    January 25, 2023
    Add A Comment

    Leave A Reply Cancel Reply

    Latest

    Is the Google Pixel 2 worth it in 2023?

    February 4, 2023

    Samsung Galaxy S23 and S23 Plus: Clean and simple

    February 2, 2023

    What is a “Per-Key RGB” keyboard? 

    January 25, 2023
    9.0

    Acer Predator Helios 500 Review: Read this before you buy!

    January 23, 2023
    7

    Dell Precision 7730 Review: Is it worth it?

    January 20, 2023

    Subscribe to our newsletter

    Subscribe and be the first to know when we post new articles and when offer deals on products.

    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Discover

    Did You Know Apple Was The First To Do This?

    June 19, 2022

    iPhone 11, Pro and Pro max first impressions

    September 16, 2019

    How to restrict (meter) Wi-Fi on Android and disable internet on specific apps

    January 4, 2023

    Playstation’s PS Plus VS Microsoft’s X-Box Game Pass.

    April 3, 2022

    Apple’s Mac Studio Is Amazing

    March 8, 2022
    Latest Reviews
    9.0
    Laptops

    Acer Predator Helios 500 Review: Read this before you buy!

    Kenyon NdeziJanuary 23, 2023
    7
    Laptops

    Dell Precision 7730 Review: Is it worth it?

    Kenyon NdeziJanuary 20, 2023
    8
    Earphones

    Are the Airpods Pro 1st Gen worth it in 2023?

    Kenyon NdeziJanuary 9, 2023
    Most Popular

    How to crop photos on Mac OS using the built-in Preview app

    December 28, 2022

    DJI Mini 2 VS Mavic Air 1st Gen

    February 23, 2022

    Permanently Fix 2011, 2012 and 2013 Macbook Pro’s With GPU Issues By Installing This Software

    May 9, 2022
    Our Picks

    The quickest path to Canadian permanent residency.

    May 24, 2019

    How to view YouTube comments on a smart TV, Android box, PS5, Xbox and Roku

    January 15, 2023

    The Ultimate Guide To Music Subscriptions! (Plans And Prices)

    April 6, 2022
    Facebook Twitter Instagram Pinterest
    • Contact
    • About
    • Posts
    • Homepage
    © 2019 VIVIDBAY

    Type above and press Enter to search. Press Esc to cancel.