Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hctilg/root-termux
- Owner: hctilg
- Created: 2022-07-23T05:44:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T19:47:49.000Z (6 months ago)
- Last Synced: 2024-10-16T17:39:51.650Z (20 days ago)
- Topics: bash, bash-script, black, linux, pkg, root, root-termux, sh, shell, sudo, terminal, termux, termux-hacking, ubuntu, ubuntu-mobile, unix, unlicensed
- Language: Shell
- Homepage:
- Size: 376 KB
- Stars: 340
- Watchers: 17
- Forks: 37
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# root-termux
**install Root in the Termux**
## 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
```