Giter Club home page Giter Club logo

termux-alpine's Introduction

termux-alpine

Release License: GPL-3.0 CI Status

Bash script for installing Alpine Linux in Termux.

Alpine Linux Termux
Check out the other screenshots on my Instagram.

Table of Contents

Details

Initializing

Open Termux app, copy and paste the following command in Termux.

Note: Required to install git and ncurses-utils, skip if already installed!

pkg install -y git
pkg install -y ncurses-utils
cd $HOME && \
    git clone -b main https://github.com/illvart/termux-alpine.git && \
    cd termux-alpine && \
    chmod +x setup-termux-alpine

Or download from GitHub Releases page and extract.

Installation

Installation options.

./setup-termux-alpine --setup-user

Please follow the output of the command above!

Launch Alpine Linux

Just typing a command like below in Termux and enter.

termux-alpine

You can also running any commands inside Alpine Linux:

termux-alpine echo "Hello World"

Reinstall

To reinstall just typing a command like installation above, type y for yes, and enter.

Or pass the command with options example:

./setup-termux-alpine -S -F

Uninstall

Please note! Before uninstalling, recommended to backup the current installation.

cd ${HOME}/termux-alpine && \
    ./setup-termux-alpine --uninstall

Or manually (isn't safe):

rm -rf ${PREFIX}/bin/termux-alpine \
    ${HOME}/.alpine

Upgrade

Upgrade the installation script.

rm -rf ${HOME}/termux-alpine && \
    cd $HOME && \
    git clone -b main https://github.com/illvart/termux-alpine.git && \
    cd termux-alpine

Options

Usage: ./setup-termux-alpine [options]

Options:
--install-nodejs	install nodejs-current, npm, and yarn
--install-python3	install python3 py3-pip, and py3-wheel
-S, --setup-user	setup a non-root user
-F, --fake-kernel	use a fake kernel
-u, --uninstall		full wipe the rootfs installation
-v, --version		show this program version
-h, --help		show this help information

If you're using --setup-user, to login a non-root user after installation use login your_username and enter the password.

๐Ÿ’– Supports

This project is open source and free to use under the license. However, if you are using this project and happy with it or just want to encourage me to continue creating stuff please donate!

Credits

Credit to Hax4us and termux for source.

Contributing

If you would like to help out with some code, check the details.

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for details.

termux-alpine's People

Contributors

illvart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

termux-alpine's Issues

Miselection of the architecture for the rootfs

The script have a bug when detecting the architecture. The dpkg --print-architecture return the same value for both armv7l and armhf (arm), and so this causes to use the armhf rootfs on an armv7l device. The error doesn't looks like it affects that much, but some packages won't work (like nodejs)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.