Skip to content

Commit

Permalink
Add installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Apr 2, 2024
1 parent fa5e70f commit e1e8569
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,33 @@ Please see the examples in the "examples" directory. If you're already building
`libavif`, enable the CMake option `AVIF_BUILD_EXAMPLES` in order to build and
run the examples too.

## Installation

`libavif` is a package in most major OSs.

### Windows

```sh
vcpkg install libavif
```

### OSX

```sh
brew install libavif
```

### Linux

Debian-based distributions:
```sh
sudo apt install libavif-dev
```
RedHat-based distributions:
```sh
sudo yum -y install libavif
```

## Build Notes

Building libavif requires [CMake](https://cmake.org/).
Expand Down

0 comments on commit e1e8569

Please sign in to comment.