Editors Choice

3/recent/post-list

How to install Ubuntu in termux - Mr Idealhat

How to install Ubuntu in termux on Android without root


Mr Idealhat, Home Termux How to install Ubuntu in termux - Mr Idealhat


Wants to install Ubuntu Linux in android without rooting your android device without any tension in termux. 

If you really want to install Ubuntu in android without rooting your android device well then, you are at right place, Mr Idealhat. 

Here, I will let you know that how can you easily install and download Ubuntu Linux in android in CLI(Command Line Interface) with the help of termux. This post help you to easily install and know that necessary commands of Ubuntu



Android is being a popular Operating - System, but Linux based distros are also getting popularity in users like Ubuntu, Kali Linux, Debian, Arch Linux, Pop OS, Elementary OS. Today, we are here to install latest UBUNTU Linux distro in android without rooting android in termux.

Here you can install Ubuntu latest version in CLI mode. With this script. Simply you have to download it and just excute the script.


Script is Designed and programmed by Adarsh Addee



This script contains serval steps which will help you to install the script without any issues. 

If you still have any issue, you can contact Mr Idealhat at any time. I will definitely try to help you and try to solve your problem in install Ubuntu latest version CLI in termux in android without rooting your android device with the help of script which I personally made just some days ago.



Install Ubuntu Linux on android without root

Step 1: Install Termux

First of all, you have to open your termux application. If you don't know where to install and how to use termux application. Then, you can visit here to know that how to install termux because termux is just available on Play Store. It doesn't work you have to install it from here.


Install Termux app






Step 2: Update and Upgrade

This is very necessary and important when you are working on Command Line Interface (CLI) to update and Upgrade your system. 

To update your system or you can say to update your termux application. Just type

apt update || pkg update

To upgrade, just type

apt upgrade -y || pkg upgrade -y



Step 3: Install the Script

Now, here we have to install the script and we will install the script via CLI (Command Line Interface) which makes easier our task.

Our script is on GitHub, so we have to install a package which help us to install the script from GitHub.

To install the GitHub package which help us to install the the script from GitHub.

Here we need two commands

1. Install the GitHub package.
2. Download the script with the help of git package.

To install the GitHub package, just type

pkg install git -y || apt install git -y



To download the script, just type or copy and paste

git clone https://github.com/adarshaddee/Ubuntu.git





Step 4: Give permissions 

Now here, we have to launch the script. So that we can install the our Ubuntu in android without any further delay. For that just follow the steps:


Enter in Ubuntu directory, for that just type

cd Ubuntu

Here, you will see two files named Readme.md and ubuntu. These two files are the files which are present on GitHub and we cloned it. 



Now we have to give executable permission to our Ubuntu script. For that, just type

chmod +x ubuntu

Now have given executable permission to our script, which will help the script to install Ubuntu Linux in our android without rooting our android or our device.



Step 5: Execute ubuntu script

After successful giving permission to ubuntu script. Here, we are to launch the script. But if you directly try to install the script this show an error show you a help page which will let you know that how can you use that script and install Ubuntu easily in termux or you can say install Ubuntu in your android without rooting your device. 


You can execute the script by

./ubuntu

This script says to pass some arguments which will help users to interact with this script and execute the script easily without any error. If you know that how can you pass arguments to this script. You can very well use this script and install ubuntu in android in termux. 



Step 1: Check help

So, first of all we have to check help of this script for this we have to simply excute the script, no matter if script is executed wrong. 

Because if this script executes, then it will directly show you help of this script.

For help of this script, just type

./ubuntu -h

Once you executed the script, then you can use the script globally means now you don't have to use './' before running you script.



That means instead of  ./ubuntu -h, You can use 

ubuntu -h

Not only -h you can use all the rest of command here without ./ Now the script will execute globally in termux. Means now you can use this script everywhere in termux. No matter you are in current or Ubuntu directory or not.

Surely, this will save your precious time.



Step 2: Update and install necessary packages

To update and install necessary packages of this tool, we have to execute a argument which is in the script and you can also read more about this tool from adarshaddee/Ubuntu. Which will help you a lot.

To update our tool or you can say to update and upgrade and install necessary packages of this tool. You have to execute this command only.


Just type,

ubuntu -u

Here, u stands for update or install the necessary packages which are necessary for running this script.

•   If you run this command very first time, then it will update & upgrade your system and install necessary packages which are necessary or essential for the execution of this script. 

•   If you are running this script second time then, it will update your script, download and install the latest new updates of this tool.



Step 3: Install Ubuntu in termux

Now, here we are to install Ubuntu in our android with the help of a script. 

After successfully completing all above command and executions. Here, we are to install Ubuntu in termux. 

To install Ubuntu in termux or android. Just type

ubuntu -i

Here, i stands for install, which will start downloading the ubuntu image file in our system.


Downloading will take some time depending upon your internet speed.


After successfully downloading the script will install and set up ubuntu in termux and we will be able to use ubuntu in termux.

Make some patience and wait some time.



Step 4: Login in ubuntu

After doing all above stuffs, finally we have successfully downloaded and installed Ubuntu in termux and now we are about to login in ubuntu.

As I told you earlier, we have pass some arguments which are given in adarshaddee/Ubuntu and here is the complete documentation of thus tool.

For logging in in ubuntu, just type

ubuntu -l

Here, l stands for login in ubuntu. With this command you can simply login in ubuntu with root permission. You have to just give an argument.




We can also make some changes in ubuntu we will discuss later here.

Conclusion

So, here the conclusion is that actually it's not any conclusion, I'm just using ths word to end this post because it's already too long to read.

So, here the conclusion is that we can easily install Ubuntu in termux in android device of any version, I can say that, without any difficulty and without any rooting of android with root permission in just 7 or 8 lines of commands.

You will definitely gain a root access if you successfully installed this tool or successfully install this script or ubuntu. 


Thank you for reading this post or article.


Post a Comment

0 Comments