Skip to content

junlapong/termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termux

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.

Installation

Command

pkg update
pkg list
pkg install termux-api
pkg install <package>

Basic Packages

  • bat
  • curl
  • git
  • gh
  • golang
  • hub
  • openssh
  • python
  • tmux
  • vim
  • wrk

Additional Packages

pkg install ffmpeg
pip install scdl
pip install spotdl
pip install youtube-dl

Go Utilities

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

Termux files

├── .bash_profile
├── .bashrc
├── .tmux.conf
├── .zshrc
└── bin
    ├── ip.sh
    ├── sshd.sh
    ├── termux-file-editor
    └── termux-url-opener

Setup Storage

Termux-setup-storage

termux-setup-storage

Setup Git

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

Hub

touch .config/hub
github.com:
- user: <USERNAME> 
  oauth_token: <GITHUB_TOKEN>
  protocol: https

Install Debian Linux

  • 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

Install Node.js

Refer to Debian Installation Instructions

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs

Install Java

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

Install Maven

apt install maven
mvn -version

Shortcut Key

tmux

Description Shortcut Key
split window horizontal CTRL + B, -
split window vertical CTRL + B, l

terminal

Description Shortcut Key
clear screen CTRL + L
exit terminal CTRL + D

Notes

uname -a
termux-clipboard-set
termux-clipboard-get

Know Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages