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.7KB

7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. +++
  2. title = "Installation"
  3. weight = 1
  4. +++
  5. Zola provides pre-built binaries for MacOS, Linux and Windows on the
  6. [GitHub release page](https://github.com/getzola/zola/releases).
  7. ## Arch Linux
  8. Use your favourite AUR helper to install the `zola-bin` package.
  9. ```bash
  10. $ yaourt -S zola-bin
  11. ```
  12. ## From source
  13. To build it from source, you will need to have Git, [Rust (at least 1.28) and Cargo](https://www.rust-lang.org/)
  14. installed. You will also need additional dependencies to compile [libsass](https://github.com/sass/libsass):
  15. - OSX, Linux and other Unix: `make` (`gmake` on BSDs), `g++`, `libssl-dev`
  16. - Windows (a bit trickier): updated `MSVC` and overall updated VS installation
  17. From a terminal, you can now run the following command:
  18. ```bash
  19. $ cargo build --release
  20. ```
  21. The binary will be available in the `target/release` folder. You can move it in your `$PATH` to have the
  22. `zola` command available globally or in a directory if you want for example to have the binary in the
  23. same repository as the site.
  24. ## Older versions (Gutenberg)
  25. Before 0.5, Zola was called Gutenberg. Since the process of updating package managers to Zola is on-going, you can still
  26. download previous versions of Gutenberg on your package manager of choice in the meantime.
  27. ### macOS
  28. Gutenberg is available on [Brew](https://brew.sh):
  29. ```bash
  30. $ brew install gutenberg
  31. ```
  32. ### Windows
  33. Gutenberg is available on [Scoop](http://scoop.sh):
  34. ```bash
  35. $ scoop install gutenberg
  36. ```
  37. And [Chocolatey](https://chocolatey.org/):
  38. ```bash
  39. $ choco install gutenberg
  40. ```
  41. ### Arch Linux
  42. Use your favourite AUR helper to install the `gutenberg-bin` package.
  43. ```bash
  44. $ yaourt -S gutenberg-bin
  45. ```
  46. ### Void Linux
  47. From the terminal, run the following command:
  48. ```bash
  49. $ xbps-install -S gutenberg
  50. ```