Install modern Rust-based replacements of packages such as coreutils, findutils, diffutils and sudo, making them the default on an Ubuntu system
Install modern Rust-based replacements of packages such as coreutils, findutils, diffutils and sudo, making them the default on an Ubuntu system
oxidizr is a command-line utility for managing system experiments that replace traditional Unix utilities with modern Rust-based alternatives on Ubuntu systems.
It currently supports the following experiments:
By default, the coreutils and sudo-rs experiments are enabled because they're the most complete, stable experiments. Others can be toggled using command line arguments shown below.
[!WARNING]
oxidizris an experimental tool to help developers and tinkerers play with relatively new alternatives to core system utilities. It may cause a loss of data, or prevent your system from booting, so use with caution!
You can install oxidizr by downloading binaries from the Github releases. Releases are currently published for amd64 and aarch64.
The following will establish the latest released version, download the archive and extract the oxidizr binary to /usr/bin/oxidizr.
# Get the latest release
latest="$(curl -s "https://api.github.com/repos/jnsgruk/oxidizr/releases/latest" | jq -r '.name')"
# Download and install to /usr/bin/oxidizr
curl -sL "https://github.com/jnsgruk/oxidizr/releases/download/$latest/oxidizr_Linux_$(uname -m).tar.gz" | sudo tar -xvzf - -C /usr/bin oxidizrOr you can build and install oxidizr using cargo:
cargo install --git https://github.com/jnsgruk/oxidizrThe program must be run as root and supports two main commands:
enable: Activates selected experimentsdisable: Deactivates selected experiments…# Enable all experiments
sudo oxidizr enable --all
# Enable just coreutils and findutils experiments
sudo oxidizr enable --experiments coreutils findutils
# Enable just coreutils experiment without prompting with debug logging enabled
sudo oxidizr enable --experiments coreutils --yes -v
# Enable an experiment on an unsupported system (dangerous)
sudo oxidizr enable --no-compatibility-check
# Enable an experiment on an unsupported system without prompting (very dangerous)
sudo oxidizr enable --no-compatibility-check --yesoxidizr# Build with cargo
cargo build
# Run tests
cargo test -- --show-output
# Lint / format
cargo clippy
cargo fmtNo open issues yet, or sync has not completed.