-
Notifications
You must be signed in to change notification settings - Fork 114
Building from source
Ricardo Fernández Serrata edited this page Feb 3, 2025
·
9 revisions
- Install
clang
, as it's required formold
(no need forgcc
) - Install the Rust toolchain.
- Install the
mold
linker. - Clone this repository however you like. If you won't contribute PRs then you should only download the contents as:
- Latest commit
git clone --depth 1 https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
-
cd
into your local repo - And finally, build for distribution, or install for the current machine (respectively):
cargo build --release
cargo install --path . --config 'build.rustflags="-C target-cpu=native"'
To update, repeat from step-4. git pull
is recommended if you want to update frequently (saves bandwidth).
If you're a Nix user, start from step-4, and only do step-6 after running:
nix develop