You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

installation.md 1.3KB

7 years ago
7 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. +++
  2. title = "Installation"
  3. weight = 1
  4. +++
  5. Gutenberg provides pre-built binaries for MacOS, Linux and Windows on the
  6. [GitHub release page](https://github.com/Keats/gutenberg/releases).
  7. ## Mac OS
  8. Gutenberg is available on [Brew](https://brew.sh):
  9. ```bash
  10. $ brew install gutenberg
  11. ```
  12. ## Windows
  13. Gutenberg is available on [Scoop](http://scoop.sh):
  14. ```bash
  15. $ scoop install gutenberg
  16. ```
  17. ## Arch Linux
  18. Use your favourite AUR helper to install the `gutenberg-bin` package.
  19. ```bash
  20. $ yaourt -S gutenberg-bin
  21. ```
  22. ## Void Linux
  23. From the terminal, run the following command:
  24. ```bash
  25. $ xbps-install -S gutenberg
  26. ```
  27. ## From source
  28. To build it from source, you will need to have Git, [Rust (at least 1.27) and Cargo](https://www.rust-lang.org/)
  29. installed. You will also need additional dependencies to compile [libsass](https://github.com/sass/libsass):
  30. - OSX, Linux and other Unix: `make` (`gmake` on BSDs), `g++`, `libssl-dev`
  31. - Windows (a bit trickier): updated `MSVC` and overall updated VS installation
  32. From a terminal, you can now run the following command:
  33. ```bash
  34. $ cargo build --release
  35. ```
  36. The binary will be available in the `target/release` folder. You can move it in your `$PATH` to have the
  37. `gutenberg` command available globally or in a directory if you want for example to have the binary in the
  38. same repository as the site.