Skip to content

Commit 45f3ace

Browse files
committed
chore: Update installation instructions and dependencies
1 parent 6a04ce1 commit 45f3ace

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,37 @@
3737

3838
## Installation
3939

40-
### Prerequisites
40+
### Prerequisites (for compilation)
4141

4242
* [Rust](https://www.rust-lang.org/tools/install) >= 1.76.0
4343
* You can install Rust by running the following command:
4444
```sh
4545
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
4646
```
47-
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
47+
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
48+
* You can install git by running the following commands depending on your distribution:
49+
Ubuntu : `sudo apt-get install git`, RedHat : `sudo yum install git`, ArchLinux : `sudo pacman -S git`
50+
* [clang](https://clang.llvm.org/get_started.html)
51+
* You can install clang by running the following commands depending on your distribution:
52+
Ubuntu : `sudo apt-get install clang`, RedHat : `sudo yum install clang`, ArchLinux : `sudo pacman -S clang`
53+
4854

4955
### How to install sr and chsr
5056

5157
1. `git clone <https://github.com/LeChatP/RootAsRole>`
5258
1. `cd RootAsRole`
53-
1. `sudo cargo xtask install -i -b`
59+
1. `cargo xtask install -bip sudo`
60+
61+
Or you can use deb or rpm packages and install them with apt or rpm commands.
62+
63+
```sh
64+
sudo apt install rootasrole_3.0.0_amd64.deb
65+
```
66+
67+
```sh
68+
sudo rpm -i rootasrole-3.0.0-1.x86_64.rpm
69+
```
70+
5471

5572
### Additional Installation Options
5673

0 commit comments

Comments
 (0)