Warning! This code is not ready for general use. It currently erases entire disks, and is not compatible with all Ubuntu-based distributions. Release is targeted for April, 2018.
Distribution Installer Backend. For a compatible GTK frontend, see https://github.com/elementary/installer
In order to build distinst
on Ubuntu, you will need to follow these instructions:
# Install Rust
curl https://sh.rustup.rs -sSf | sh
# Build in release mode
make
# Install
sudo make install
# Uninstall
sudo make uninstall
The following files will be generated:
- Library:
target/release/libdistinst.so
- Header:
target/include/distinst.h
- pkg-config:
target/pkg-config/distinst.pc
These files will be placed in /usr/local when installed, and pkg-config --cflags distinst
or pkg-config --libs distinst
can then be used to find them.
In order to produce a source package, you must run the following commands:
# Install cargo-vendor
cargo install cargo-vendor
# Download vendored sources
make vendor