|
37 | 37 |
|
38 | 38 | ## Installation |
39 | 39 |
|
40 | | -### Prerequisites |
| 40 | +### Prerequisites (for compilation) |
41 | 41 |
|
42 | 42 | * [Rust](https://www.rust-lang.org/tools/install) >= 1.76.0 |
43 | 43 | * You can install Rust by running the following command: |
44 | 44 | ```sh |
45 | 45 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
46 | 46 | ``` |
47 | | -* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) |
| 47 | + (Do not forget to add the cargo bin directory to your PATH with `. "$HOME/.cargo/env"` command) |
| 48 | +* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) |
| 49 | + * You can install git by running the following commands depending on your distribution: |
| 50 | + Ubuntu : `sudo apt-get install git`, RedHat : `sudo yum install git`, ArchLinux : `sudo pacman -S git` |
| 51 | +* [clang](https://clang.llvm.org/get_started.html) (or gcc, but clang is highly recommended) |
| 52 | + * You can install clang by running the following commands depending on your distribution: |
| 53 | + Ubuntu : `sudo apt-get install clang`, RedHat : `sudo yum install clang`, ArchLinux : `sudo pacman -S clang` |
48 | 54 |
|
49 | | -### How to install sr and chsr |
| 55 | +Then the xtask installation will install the rest of the dependencies for you. |
50 | 56 |
|
51 | | - 1. `git clone <https://github.com/LeChatP/RootAsRole>` |
| 57 | +### Install from source |
| 58 | + |
| 59 | + 1. `git clone https://github.com/LeChatP/RootAsRole` |
52 | 60 | 1. `cd RootAsRole` |
53 | | - 1. `sudo cargo xtask install -i -b` |
| 61 | + 1. `cargo xtask install -bip sudo` |
| 62 | + |
| 63 | + |
| 64 | +### Install from precompiled binaries |
| 65 | + |
| 66 | +You can download the precompiled binaries from the [release page](https://github.com/LeChatP/RootAsRole/releases). |
| 67 | + |
| 68 | +Then you can install the package with the following commands: |
| 69 | + |
| 70 | +```sh |
| 71 | +sudo apt install rootasrole_3.0.0_amd64.deb |
| 72 | +``` |
| 73 | + |
| 74 | +```sh |
| 75 | +sudo rpm -i rootasrole-3.0.0-1.x86_64.rpm |
| 76 | +``` |
| 77 | + |
54 | 78 |
|
55 | 79 | ### Additional Installation Options |
56 | 80 |
|
@@ -159,16 +183,14 @@ This doesn't mean that earlier versions of these distributions are incompatible; |
159 | 183 |
|
160 | 184 | ## Contributors |
161 | 185 |
|
162 | | -Ahmad Samer Wazan : <[email protected]> |
| 186 | +Eddie Billoir : <[email protected]> |
| 187 | +
|
| 188 | +Ahmad Samer Wazan : <[email protected]> |
163 | 189 |
|
164 | 190 | |
165 | 191 |
|
166 | 192 | Guillaume Daumas : <[email protected]> |
167 | 193 |
|
168 | | -Eddie Billoir : <[email protected]> |
169 | | -
|
170 | | -Anderson Hemlee : <[email protected]> |
171 | | -
|
172 | 194 | Romain Laborde : <[email protected]> |
173 | 195 |
|
174 | 196 | ## About Logo |
|
0 commit comments