Skip to content

Commit

Permalink
Add Fedora build instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Jul 9, 2024
1 parent 6d6786c commit 47f1f42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions sites/hurl.dev/_data/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- title: Build on Linux
items:
- title: Debian based distributions
- title: Fedora based distributions
- title: Red Hat based distributions
- title: Arch based distributions
- title: Alpine based distributions
Expand Down
14 changes: 11 additions & 3 deletions sites/hurl.dev/_docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ $ sudo pkg install hurl

### Windows

Windows requires the [Visual C++ Redistributable Package] to be installed manually, as this is not included in the installer.

#### Zip File

Hurl can be installed from a standalone zip file at [Hurl latest GitHub release]. You will need to update your `PATH` variable.
Expand Down Expand Up @@ -114,7 +116,7 @@ $ cargo install hurl
$ conda install -c conda-forge hurl
```

Hurl can also be installed with [`conda-forge`] powered package manager like [`pixi`].
Hurl can also be installed with [`conda-forge`] powered package manager like [`pixi`].

### Docker

Expand All @@ -136,13 +138,18 @@ Hurl sources are available in [GitHub].

Hurl depends on libssl, libcurl and libxml2 native libraries. You will need their development files in your platform.


#### Debian based distributions

```shell
$ apt install -y build-essential pkg-config libssl-dev libcurl4-openssl-dev libxml2-dev
```

#### Fedora based distributions

```shell
$ dnf install -y pkgconf-pkg-config gcc openssl-devel libxml2-devel
```

#### Red Hat based distributions

```shell
Expand All @@ -158,7 +165,7 @@ $ pacman -S --noconfirm pkgconf gcc glibc openssl libxml2
#### Alpine based distributions

```shell
$ apk add curl-dev gcc libxml2-dev musl-dev openssl-dev
$ apk add curl-dev gcc libxml2-dev musl-dev openssl-dev
```

### Build on macOS
Expand Down Expand Up @@ -192,6 +199,7 @@ Please follow the [contrib on Windows section].

[GitHub]: https://github.com/Orange-OpenSource/hurl
[Hurl latest GitHub release]: https://github.com/Orange-OpenSource/hurl/releases/latest
[Visual C++ Redistributable Package]: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version
[install]: https://www.rust-lang.org/tools/install
[Rust]: https://www.rust-lang.org
[contrib on Windows section]: https://github.com/Orange-OpenSource/hurl/blob/master/contrib/windows/README.md
Expand Down

0 comments on commit 47f1f42

Please sign in to comment.