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

7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. ## Linux
  8. ## Arch Linux
  9. Use your favourite AUR helper to install the `zola-bin` package.
  10. ```bash
  11. $ yaourt -S zola-bin
  12. ```
  13. ### Snapcraft
  14. Zola is available on snapcraft:
  15. ```bash
  16. $ snap install --edge zola
  17. ```
  18. ## Windows
  19. Zola is available on [Scoop](http://scoop.sh):
  20. ```bash
  21. $ scoop install zola
  22. ```
  23. And [Chocolatey](https://chocolatey.org/):
  24. ```bash
  25. $ choco install zola
  26. ```
  27. ## From source
  28. To build it from source, you will need to have Git, [Rust (at least 1.28) 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. `zola` command available globally or in a directory if you want for example to have the binary in the
  38. same repository as the site.
  39. ## Older versions (Gutenberg)
  40. Before 0.5, Zola was called Gutenberg. Since the process of updating package managers to Zola is on-going, you can still
  41. download previous versions of Gutenberg on your package manager of choice in the meantime.
  42. ### macOS
  43. Gutenberg is available on [Brew](https://brew.sh):
  44. ```bash
  45. $ brew install gutenberg
  46. ```
  47. ### Windows
  48. Gutenberg is available on [Scoop](http://scoop.sh):
  49. ```bash
  50. $ scoop install gutenberg
  51. ```
  52. And [Chocolatey](https://chocolatey.org/):
  53. ```bash
  54. $ choco install gutenberg
  55. ```
  56. ### Arch Linux
  57. Use your favourite AUR helper to install the `gutenberg-bin` package.
  58. ```bash
  59. $ yaourt -S gutenberg-bin
  60. ```
  61. ### Void Linux
  62. From the terminal, run the following command:
  63. ```bash
  64. $ xbps-install -S gutenberg
  65. ```