https://github.com/voidcoefficient/oxygen
Rust userland compatible with GNU/Linux, *BSD, Mac and Windows systems
https://github.com/voidcoefficient/oxygen
gnu-linux linux rust userspace
Last synced: 5 months ago
JSON representation
Rust userland compatible with GNU/Linux, *BSD, Mac and Windows systems
- Host: GitHub
- URL: https://github.com/voidcoefficient/oxygen
- Owner: voidcoefficient
- License: bsd-3-clause
- Created: 2021-05-07T20:06:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T15:03:38.000Z (11 months ago)
- Last Synced: 2025-07-17T20:48:39.081Z (7 months ago)
- Topics: gnu-linux, linux, rust, userspace
- Language: Rust
- Homepage:
- Size: 1.68 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oxygen
[](https://github.com/paulo-e/oxygen/actions/workflows/rust.yml)
## Installation
Do as follows:
```sh
git clone https://github.com/paulo-e/oxygen oxygen
cd oxygen
cargo build --release
# now all the programs are in ./target/release
ls ./target/release
# you can also install the files (default path is $HOME/.cargo/bin) with
cargo install --path .
```
## Testing
Optionally, you can test the userspace on a controlled enviroment
``` sh
# downloading and building dash
git clone git://git.kernel.org/pub/scm/utils/dash/dash.git dash
cd dash
sh autogen.sh
sh configure.sh --enable-static
make
# creating an enviroment for dash
mkdir -p ../oxygen_dash/bin
cp src/dash ../oxygen_dash/bin
cd ..
# now we download and install oxygen
git clone https://github.com/paulo-e/oxygen oxygen
cd oxygen
RUSTFLAGS='-C target-feature=+crt-static' cargo install --path . --root=../oxygen_dash/
cd ..
sudo chroot oxygen_dash /bin/dash
# now you can try all the installed programs
```
## License
[It's the BSD 3-clause license](https://github.com/paulo-e/oxygen/blob/master/LICENSE)