Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hctilg/root-termux

install pseudo-root(sudo) in the termux
https://github.com/hctilg/root-termux

bash bash-script black linux pkg root root-termux sh shell sudo terminal termux termux-hacking ubuntu ubuntu-mobile unix unlicensed

Last synced: 7 days ago
JSON representation

install pseudo-root(sudo) in the termux

Awesome Lists containing this project

README

        

# root-termux

**install Root in the Termux**

Screenshot

## Usage

have you ever wanted to run scripts but they need root access or for some reason you want to enter your commands in the real linux environment? in this tutorial, it is executed only by running a Termux script in root mode.

### Run these commands in Termux:

```bash
# install git
pkg install git -y
```

```bash
# clone from github with git
git clone https://github.com/hctilg/root-termux.git && cd root-termux && chmod +x *
```

```bash
# install packages
pkg install wget proot -y
```


then enter the following command and go through the installation process:

```bash
# run bash script `install.sh`
yes | bash install.sh
```


after installing and creating the executable file, run the root environment with the following command:

```bash
# run bash script `start.sh`
bash start.sh # or `./start.sh`
```


Note: after running **Termux** as root, you need to install all the packages from the beginning, and be sure to update the terminal with the following commands after installation so that you don't have any problems installing the packages:

```bash
apt update
```

```bash
apt upgrade
```


command to install **sudo** after installing Ubuntu:

```bash
apt install sudo
```