Coder Social home page Coder Social logo

small's Introduction

small

Small is a tiny userland distro. This is the aarch64 version patched to run with proot-distro under termux.

Full Install on Termux
git clone https://github.com/stringmanolo/small
cd small
pkg install proot-distro
7z x reduced.7z
cp reduced -r smallFileSystem
./configureSmallDistro.sh
cd packages
./install_all.sh
cd ../
./installInProotDistro.sh
Usage
  • Login into small:
small
  • Run a command inside small
small ls -a
Files

This file.

Ideas for the future.

Used as a small base distro

  • alpineBase (extract it from miniroot)

Used to create new distros

Replace the small filesystem by alpine filesystem

Add nameservers to /etc/resolv.config
Remove env variables from host to avoid leakage
Add env variables to small
Add bin locations to $PATH
Add terminal colors and prompt shell
Add aliases
Add bash shell options (if bash is installed)

Export small with all changes made directly from the system (packages installed, new files, etc)

Export small directory, changes made directly from the system are not reflected

Install small in proot-distro
Add small to /bin
Other installed versions, will be removed (all files inside too)

Extra packages (tweeaked and compressed to be smaller) will be here
You can install by going into this folder and run the scripts Usefull to install packages without APK (reduces the size)

Install all avaiable packages:

  • APK (Alpine official package manager)
  • Curl (Data transfer utility/cli http client)

APK package manager compressed files

Install the APK (Alpine Package Manager) in small

Curl binary and lib files

Install the curl utility

Smallest possible version of small

  • smallFileSystem (extract it from reduced.7z and rename it to smallFileSystem)

The small files that will be installed in proot-distro

Old file to run small in desktop/PC
Ignore it, possible not working with this patched small version

small's People

Contributors

stringmanolo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.