Can you install linux on android phone

How to Install Linux on Android Phone Without Rooting

Using Linux on an Android phone is the dream of any Linux Admin and Fanboy. Using both Android and Linux operating system on smartphones is a must for any programmer. To Install Linux on Android phone you needs root permissions but doing this you can not claim for warranty and opens back-doors for potential attacks. But in this tutorial I am going to explain how we can install Linux on unrooted Android phones.

Install Linux on Android phone

With this method, you will need to download all Linux files on your Android phones than use the complete interface without losing any security. Follow the below steps to install Linux on unrooted Android phones.

Step #1. Install GNURoot From Play Store

Using GNURoot App you can do this without rooting your Android Phones. GNURoot provides a fake root environment on Android Phones. You can install GNURoot app on phones using play store Just search for “GNURoot” and install it.

installing-gnuroot

Step #2. Choose The Helper App Of A Linux Distro

After installing the app you can select lots of Linux distro to install like Fedora, Wheezy (Debian), Aboriginal and Gentoo. Select one of them which you want to install then simply tap on ” Create New Rootfs” and wait for process this may take a while to get complete.

selecting-linux-distro

Step #3. Launch Linux Distro

After downloading process is finished, choose the Linux distro from second drop down list and then click on the “Launch as Fake Root” option. Then Tap on “Launch Rootfs” to get the apt-get and other commands. It will provide all Roots file on fake Linux platform. After launching rootfs use the Linux on your Android phone.

Читайте также:  Переменная shell в linux

After installing Linux distro on Android phone you can install Linux packages from distro’s repo using apt-get for Wheezy (Debian) and yum for Fedora and many more.

Now Enjoy, You have installed Linux on your Android phones.

I hope this article will help to install Linux destro on your Android smartphones.

Источник

How to install a Linux desktop on your Android device

Have you ever wished your Android phone or tablet could replace your entire computer? You’re in luck — you can install a Linux or Ubuntu desktop environment on virtually any modern Android device. You could even combine it with a Bluetooth keyboard and mouse (and maybe an external display) for a powerful desktop-grade experience. While the experience is not always perfect, it’s usable in a pinch.

QUICK ANSWER

To install Linux on your Android device, install an app like Debian NoRoot or UserLAnd. If you choose the latter, you’ll be able to select between various distributions like Kali Linux, Arch, and Ubuntu. Neither option installs a full operating system, but they offer a complete desktop environment and the ability to run popular Linux programs.

JUMP TO KEY SECTIONS

Debian NoRoot: One-click Linux desktop

debian noroot android

Debian NoRoot offers one of the easiest and least complicated ways to access a Linux desktop on Android. It’s a free app that you need to install via the Play Store. If you haven’t heard of Debian, it’s the flavor of Linux that the popular Ubuntu distribution is based upon. This guarantees compatibility with a wide range of Linux apps and the apt package manager.

Debian NoRoot is pretty lightweight and should run on most Android smartphones and tablets. It’s not the complete Debian operating system — instead, its developer describes it as a “compatibility layer, which allows you to run Debian applications.” How is this possible? Well, Android runs a modified Linux kernel, making it somewhat related to our end-goal. Debian NoRoot also includes all of the basics, including a desktop environment and a terminal application. All in all, it’s a perfect starting point for experienced and novice users alike.

Читайте также:  Nat and iptables linux

Debian NoRoot lets you access a full-fledged Linux desktop with a simple download from the Play Store.

Once you’ve installed the Debian NoRoot app on your Android device and open it for the first time, it will present you with a list of display resolutions and font scales. Select the default options here, and it will eventually bring you to the desktop.

From this point on, you can immediately get to installing additional Linux programs and apps. We’ll explain how you can do this via the terminal in a later section. For now, consider plugging in a keyboard and mouse since the on-screen touch keyboard can take up a big chunk of your screen’s real estate.

Install Ubuntu and other Linux flavors with UserLAnd

userland linux android 1

Select your Linux distribution of choice

userland ubuntu install username password

Enter a username and password

userland ubuntu VNC or SSH choice

Select VNC if you’d like a graphical user interface or SSH for a text-based session

If Debian NoRoot doesn’t satisfy your needs or you’d like to install a different Linux distribution, another option is the UserLAnd application. It lets you install various Linux distros on your Android device, including Arch, Kali, Ubuntu, Debian, and Alpine. You can also choose to launch applications like Gimp and LibreOffice independently, eliminating the need for a full-blown desktop environment.

Here’s a step-by-step guide on how to install Ubuntu on your Android device:

  1. Download and install the UserLAnd app from the Play Store.
  2. Open the app and select the Linux distribution you wish to install. For the sake of this guide, we’ll proceed with Ubuntu.
  3. Enter a username, password, and VNC password of your choice when prompted. Don’t forget these details or you’ll have to start the process all over again.
  4. The app will now ask you to choose between an SSH or VNC connection. Select the latter if you need a graphical user interface.
  5. Wait until the download completes.
  6. Finally, you should be presented with a login screen, as shown below. Enter the VNC password from earlier to proceed.
Читайте также:  Linux определить операционную систему компьютера

userland vnc connect screenshot

You can also initiate a VNC connection from a different device on the same network. First, determine your Android device’s IP address, either from your router or using a free app like Fing. Finally, add :51 to the end of the IP address (example: 192.168.0.101:51) and connect to it using a VNC app like TightVNC on the other device.

Final steps: How to install Linux apps on your Android device

Now that you’ve got your preferred flavor of Linux installed on your Android phone, you may be wondering what you can and can’t do with it. Let’s start with the latter — you can only install and run programs designed for ARM processors. This rules out certain apps like Steam, which only support the desktop x86 architecture. Still, most of the standard productivity-related programs you’d want — ranging from Firefox to LibreOffice — offer ARM versions these days.

Here’s how to install Linux apps on your Android device

  1. Log into your Ubuntu session via one of the above methods
  2. Open a terminal window
  3. Enter the following commands one by one: sudo apt update and sudo apt install firefox-esr
  4. You can replace firefox-esr in the above command with any other desired program of your choice. Some other examples include vlc and libreoffice.
  5. Once installed, you can launch the program from within the Applications menu, as shown below:

debian noroot app menu

Besides which Linux apps you can install, there are a couple of other limitations you should consider too. You cannot access low-level hardware functions like Wi-Fi or Bluetooth from within Linux because those are still completely controlled by Android. Likewise, you cannot expect hardware acceleration or complex 3D graphics to work at full speed. Remember that you aren’t running full-fledged Linux — it’s just a compatibility layer on top of the base Android operating system. You’ll be better off with a Chrome OS device if those aspects are important to you.

Источник

Оцените статью
Adblock
detector