blob: deb2dcf81a2dcd402be86fcaa61f6fc4f86a67e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
**dysk** only works on linux.
Current version: **<a id=current-version href=../download>download</a>**
<script>
console.log("in script");
fetch("../download/version")
.then(response => response.text())
.then(version => {
console.log(`version: #${version}#`);
version = version.trim();
if (!/^\d+(\.\d+)*(-\w+)?$/.test(version)) {
console.warn("invalid version in download/version");
return;
}
document.getElementById("current-version").textContent = version;
})
</script>
[CHANGELOG](https://github.com/Canop/dysk/blob/main/CHANGELOG.md)
# Precompiled binaries
Binaries are made available at every release in [download](https://dystroy.org/dysk/download).
The archives also contain dysk's man page and shell completion scripts.
Direct links:
Target|Files
-|-
Linux | [x86_64-linux](https://dystroy.org/dysk/download/x86_64-linux/dysk)
Linux/musl | [x86_64-unknown-linux-musl](https://dystroy.org/dysk/download/x86_64-unknown-linux-musl/dysk)
You may download previous releases on [GitHub releases](https://github.com/Canop/dysk/releases).
When you download executable files, you'll have to ensure the shell can find them. An easy solution is for example to put them in `/usr/local/bin`. You may also have to set them executable using `chmod +x dysk`.
# From crates.io
You'll need to have the [Rust development environment](https://www.rustup.rs) installed and up to date.
Once it's installed, use cargo to install dysk:
cargo install dysk
# From source
You'll need to have the [Rust development environment](https://www.rustup.rs) installed.
Fetch the [Canop/dysk](https://github.com/Canop/dysk) repository, move to the dysk directory, then run
```bash
cargo install --path .
```
!!! Note
If there's a compilation error, it most often means either that you're missing some compilation dependency (on ubuntu/debian try `sudo apt install build-essential`) or that you have an old version of the compiler, and you should update it (for example with `rustup update`).
# Third party repositories
Those packages are maintained by third parties and may be less up to date.
## Arch Linux
**dysk** can be installed from the [extra repository](https://archlinux.org/packages/extra/x86_64/dysk/):
```
pacman -S dysk
```
|