Skip to content

Commit 8612dbb

Browse files
authored
Update install from source instruction
NOBUILD=true is necessary if sudo does not have cargo in its PATH, which is quite common.
1 parent ac94772 commit 8612dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ It is recommended to use an existing package:
8080
* Debian: packages provided by nabijaczleweli, see https://debian.nabijaczleweli.xyz/README.
8181
* Arch: `sudo pacman -S zram-generator` (or https://aur.archlinux.org/packages/zram-generator-git/ for the latest git commit)
8282

83-
To install directly from sources, execute `make build && sudo make install`:
83+
To install directly from sources, execute `make build && sudo make install NOBUILD=true`:
8484
* `zram-generator` binary is installed in the systemd system generator directory (usually `/usr/lib/systemd/system-generators/`)
8585
* `zram-generator(8)` and `zram-generator.conf(5)` manpages are installed into `/usr/share/man/manN/`, this requires [`ronn`](https://github.com/apjanke/ronn-ng).
8686
* `units/[email protected]` is copied into the systemd system unit directory (usually `/usr/lib/systemd/system/`)

0 commit comments

Comments
 (0)