Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.
- F-Droid
- Termux
- Termux:API
pkg update
pkg list
pkg install termux-api
pkg install <package>
- bat
- curl
- git
- gh
- golang
- hub
- openssh
- python
- tmux
- vim
- wrk
pkg install ffmpeg
pip install scdl
pip install spotdl
pip install youtube-dl
go install github.com/atotto/clipboard/cmd/gocopy@latest
go install github.com/atotto/clipboard/cmd/gopaste@latest
go install github.com/rs/curlie@latest
go install github.com/rakyll/hey@latest
go install github.com/ipinfo/cli/ipinfo@latest
├── .bash_profile
├── .bashrc
├── .tmux.conf
├── .zshrc
└── bin
├── ip.sh
├── sshd.sh
├── termux-file-editor
└── termux-url-opener
termux-setup-storage
git config --global user.name "Junlapong L."
git config --global user.email "[email protected]"
git config --global hub.protocol ssh
git config --global --list
cd ~/.ssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
#ssh-add -K ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub | termux-clipboard-set
touch .config/hub
github.com:
- user: <USERNAME>
oauth_token: <GITHUB_TOKEN>
protocol: https
- Install AnLinux
- Generate script for setup Debian Linux
- Open Termux console and follow step as below
mkdir debian
cd debian
## paste script from AnLinux
## start debian and enter as root
~/debian/start-debian.sh
Refer to Debian Installation Instructions
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
apt update
apt install openjdk-11-jdk-headless
java -version
To change the default version, use the update-alternatives
system command:
update-alternatives --config java
apt install maven
mvn -version
Description | Shortcut Key |
---|---|
split window horizontal | CTRL + B, - |
split window vertical | CTRL + B, l |
Description | Shortcut Key |
---|---|
clear screen | CTRL + L |
exit terminal | CTRL + D |
uname -a
termux-clipboard-set
termux-clipboard-get
- nodejs error
Segmentation fault
- removing node_modules and reinstalling fixed the problem