간단히 말해서 Termux
용어
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.
특징
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.
크레딧: Termux 공식 사이트https://termux.com/
하나님이 아셔야
/bin, /etc, /usr, /tmp
및 기타 디렉토리를 찾을 수 없습니다. 일반 소프트웨어
pkg in git
pkg in nodejs
pkg in root-repo #
pkg in unstable-repo #
pkg in x11-repo # x11
pkg in proot # use classical Linux file system layout
Zsh 쉘 설치
pkg in zsh
Oh My Zsh - 기본 설치
Oh My Zsh는 터미널에서 다음 명령 중 하나를 실행하여 설치됩니다.
curl
또는 wget
가 설치되어 있어야 하는 명령줄을 통해 이것을 설치할 수 있습니다.git
를 설치해야 합니다(v1.7.2 이상 권장).컬을 통해
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
via wget
쉿
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) "
---
## Zsh Plugins
1. zsh-autosuggestions
- Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/oh-my-zsh/custom/plugins`)
쉿
자식 클론https://github.com/zsh-users/zsh-autosuggestions\
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Add the plugin to the list of plugins for Oh My Zsh to load (inside `~/zshrc`):
이니
플러그인=(zsh-autosuggestions)
- Start a new terminal session.
2. zsh-syntax-highlighting
- Download zsh-syntax-highlighting by
쉿
자식 클론https://github.com/zsh-users/zsh-syntax-highlighting.gitZSH_CUSTOM/plugins/zsh-syntax-highlighting
- `nano ~/.zshrc` find `plugins=(git)`
- Append `zsh-autosuggestions & zsh-syntax-highlighting` to `plugins()` like this
이니
플러그인=(git zsh-autosuggestions zsh-syntax-highlighting)
- Reopen terminal
### Ref
- [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
- [https://gist.github.com/kevin-smets/8568070](https://gist.github.com/kevin-smets/8568070)
---------
## Termux Styling
쉿
cd ~ # 홈 디렉토리로 변경
자식 클론https://github.com/adi1090x/termux-style.git
- Change to cloned directory
쉿
cd termux 스타일
- Make script executable
쉿
chmod +x 설정
- Run setup to finally install it
쉿
./설정
Ref: https://github.com/adi1090x/termux-style
---------
## Working with packages
### Installing packages from APT repository
In Termux it is recommended to use package manager `pkg` which is a wrapper for `apt`.
>It simplifies installing or upgrading packages by automatically updating apt lists so you don't have to type apt update when installing or upgrading packages.
#### Install package:
쉿
패키지 설치 패키지 이름
#### Remove package:
쉿
패키지 제거 패키지 이름
#### List all packages:
쉿
패키지 목록 전체
#### Upgrading packages:
쉿
패키지 업그레이드
For more information about available commands you can either just run pkg without arguments or like this: `pkg help`.
--------
### Manual installation of `*.deb` files
If you have a `*.deb` package file, you can install it with `dpkg`.
>Note that packages downloaded from *Ubuntu or from repositories of other Linux distributions will not work due to incompatible libc ABI*, however statically compiled binaries may work.
#### Installing:
쉿
dpkg -i ./패키지.deb
#### Uninstalling:
쉿
dpkg --패키지 이름 제거
#### Listing all installed packages:
쉿
dpkg -l
Since dpkg has many useful options, you may want to see it's manual via `man dpkg`.
Ref: https://wiki.termux.com/wiki/Package_Management
--------
Reference
이 문제에 관하여(간단히 말해서 Termux), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/alphaolomi/termux-in-a-nutshell-1169텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)