Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfabric/apps-static
Statically-linked portable applications for Linux x86, x86-64, armhf and arm64
https://github.com/dfabric/apps-static
application build docker git linux php portable python qemu static statically-linking
Last synced: about 1 month ago
JSON representation
Statically-linked portable applications for Linux x86, x86-64, armhf and arm64
- Host: GitHub
- URL: https://github.com/dfabric/apps-static
- Owner: DFabric
- License: isc
- Created: 2017-08-16T12:43:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T16:21:52.000Z (over 4 years ago)
- Last Synced: 2024-10-29T17:55:36.271Z (2 months ago)
- Topics: application, build, docker, git, linux, php, portable, python, qemu, static, statically-linking
- Language: Shell
- Homepage:
- Size: 96.7 KB
- Stars: 24
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apps-static
### Standalone portable applications
#### Static applications, portable across all Linuxes. Builds for x86, x86-64, armhf and arm64.
## Purpose
- No root permissions needed
- Using the latest release of an application
- Don't potentially mess up your system - no dependencies
- Portable across all Linuxes
## Get the application
You can use the `helper.sh` script that will download the package in the actual directory.
`wget -qO-` can be replaced by `curl -s`
To list available packages:
`wget -qO- https://raw.githubusercontent.com/DFabric/apps-static/master/helper.sh`
Change `${PACKAGE}` by your chosen package.
To download the `${PACKAGE}` in the current directory:
`sh -c "APP=${PACKAGE} $(wget -qO- https://raw.githubusercontent.com/DFabric/apps-static/master/helper.sh)"`
You can place its subdirectories (e.g. `bin`, `lib`, `share`...) in `/usr/local/` to be reachable globally, or directly use the binnary in `bin`.
## Manual download
Simply download and extract the archive of the application. The path can be `/usr` or whatever you want.
Replace `${PACKAGE}` by one of the available [here](https://bintray.com/dfabric/apps-static/builds#files)
`wget -qO- ${URL_PATH} | tar xJf -`
A `$PACKAGE` folder will be created.
The binaries you will need are likely to be in the `bin` folder, but other locations like `sbin` depending of the application/library.
## Building
You will need to have [Docker](https://www.docker.com/) installed. An Alpine Linux image is used for the build environment.
To build a package:
`./build-static PACKAGE ARCHITECTURES...`
For example:
`./build-static dppm-static x86-64,arm64,armhf`
The sources used for the builds are available in the `source` directory.
Each program/library have its own `pkg.yml` description file that have:
- the source dependencies (already builded with this tool)
- the Alpine Linux dependencies
- the latest version of it (regex + url)The `build-static.sh` list the commands to build the package
Additional files can also be found depending of the needs.
The builds are reproducible and their hashes are stored in SHA512SUMS.
## Disclaimers
Features and modules can be missing and/or not functioning like expected.
The applications aren't specially developed to become static and portable, this is not for the moment very well tested.
This project is designed to be easily ported to support BSD, Darwin, NT kernels and to be used without Docker.
## License
Copyright (c) 2017-2018 Julien Reichardt - ISC License