update README on how to install tiempo

This commit is contained in:
Abraham Toriz 2022-07-22 19:20:47 +08:00
parent 43d8464531
commit d4cc5b8fc8
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 27 additions and 2 deletions

View File

@ -5,11 +5,36 @@ tracking application.
## Installation
If you're a [rust](https://rust-lang.org) programmer you can do
### For Archlinux (and derivatives) users
There are a binary and a source package in the AUR:
* [tiempo-bin](https://aur.archlinux.org/packages/tiempo-bin)
* [tiempo-git](https://aur.archlinux.org/packages/tiempo-git)
### For every other linux users
Go to [gitlab releases page](https://gitlab.com/categulario/tiempo-rs/-/releases)
and grab the latest binary for your linux. There is a `.deb` file for Debian and
Ubuntu as well as a binary for any `x86_64` Linux.
### For Rust developers
You have `cargo`! you can run:
cargo install tiempo
Ir if you use archlinux, there's a `tiempo-git` package in the AUR.
### For everyone else
You need to compile `tiempo` by yourself. But don't worry! It is not that hard.
Just clone [the repository](https://gitlab.com/categulario/tiempo-rs), make sure
you have [rust installed](https://rustup.rs) and run:
cargo build --release
inside the repository. The binary will be named `t` (or `t.exe` if you use
windows) and it is located inside the `target/release` directory that was
created during compilation.
## Tutorial