Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
obvMellow authored Aug 9, 2024
1 parent 16c0a51 commit 73b4a8d
Showing 1 changed file with 36 additions and 9 deletions.
45 changes: 36 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,38 @@ Simple backup tool written in Rust

# Installation

## Linux
## Prebuilt Binary

### Arch Linux
Install the latest binary from [Releases](https://github.com/obvMellow/hardcpy/releases)

On Arch Linux you can simply install it from the AUR
### AUR

On Arch Linux you can install the pre-built binary from the AUR
```sh
git clone https://aur.archlinux.org/hardcpy-git.git
cd hardcpy-git
git clone https://aur.archlinux.org/hardcpy-bin.git
cd hardcpy-bin
makepkg -si
pacman -U hardcpy-bin-{Insert Version}-x86_64.pkg.tar.zst
```

Or you can use a wrapper such as [yay](https://github.com/Jguer/yay)
```sh
yay -S hardcpy-git
yay -S hardcpy-bin
```

### Other distributions
## Compiling From Source

You can install it using cargo
### AUR

Run the following commands
```sh
git clone https://aur.archlinux.org/hardcpy-git.git
cd hardcpy-git
makepkg -si
pacman -U hardcpy-git-{Insert Version}-x86_64.pkg.tar.zst
```

### Other distributions / Windows

Make sure you have [cargo](https://www.rust-lang.org/tools/install) installed

Expand All @@ -34,7 +47,21 @@ $ cargo --version
cargo 1.80.0 (376290515 2024-07-16)
```

Then you can simply install it with the following command
Clone the repo and build the project
```sh
git clone https://github.com/obvMellow/hardcpy.git
cd hardcpy
cargo build --release
```

### Using Cargo

You can simply install it with the following command
```sh
cargo install hardcpy
```

And make sure you have ~/.cargo/bin in your $PATH
```sh
export PATH=$HOME/.cargo/bin:$PATH
```

0 comments on commit 73b4a8d

Please sign in to comment.