Add libvips to Development Dependency guide
Package listings: macos/brew - https://formulae.brew.sh/formula/vips debian/apt - https://packages.ubuntu.com/jammy/libvips42 fedora - https://packages.fedoraproject.org/pkgs/vips/vips/ arch linux - https://archlinux.org/packages/community/x86_64/libvips/ freebsd - https://cgit.freebsd.org/ports/tree/graphics/vips
This commit is contained in:
parent
6086c515b6
commit
1dfd03593a
1
Brewfile
1
Brewfile
|
@ -14,3 +14,4 @@ cask "xquartz"
|
||||||
brew "mupdf"
|
brew "mupdf"
|
||||||
brew "poppler"
|
brew "poppler"
|
||||||
brew "imagemagick"
|
brew "imagemagick"
|
||||||
|
brew "vips"
|
||||||
|
|
|
@ -43,15 +43,15 @@ Here's the list of each gems' additional dependencies:
|
||||||
* Action Cable depends on Redis
|
* Action Cable depends on Redis
|
||||||
* Active Record depends on SQLite3, MySQL and PostgreSQL
|
* Active Record depends on SQLite3, MySQL and PostgreSQL
|
||||||
* Active Storage depends on Yarn (additionally Yarn depends on
|
* Active Storage depends on Yarn (additionally Yarn depends on
|
||||||
[Node.js](https://nodejs.org/)), ImageMagick, FFmpeg, muPDF, and on macOS
|
[Node.js](https://nodejs.org/)), ImageMagick, libvips, FFmpeg, muPDF, and on
|
||||||
also XQuartz and Poppler.
|
macOS also XQuartz and Poppler.
|
||||||
* Active Support depends on memcached and Redis
|
* Active Support depends on memcached and Redis
|
||||||
* Railties depend on a JavaScript runtime environment, such as having
|
* Railties depend on a JavaScript runtime environment, such as having
|
||||||
[Node.js](https://nodejs.org/) installed.
|
[Node.js](https://nodejs.org/) installed.
|
||||||
|
|
||||||
Install all the services you need to properly test the full gem you'll be
|
Install all the services you need to properly test the full gem you'll be
|
||||||
making changes to. How to install these services for macOS, Ubuntu, Fedora/CentOS,
|
making changes to. How to install these services for macOS, Ubuntu, Fedora/CentOS,
|
||||||
and FreeBSD are detailed below.
|
Arch Linux, and FreeBSD are detailed below.
|
||||||
|
|
||||||
NOTE: Redis' documentation discourages installations with package managers as those are usually outdated. Installing from source and bringing the server up is straight forward and well documented on [Redis' documentation](https://redis.io/download#installation).
|
NOTE: Redis' documentation discourages installations with package managers as those are usually outdated. Installing from source and bringing the server up is straight forward and well documented on [Redis' documentation](https://redis.io/download#installation).
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ To install all run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get update
|
$ sudo apt-get update
|
||||||
$ sudo apt-get install sqlite3 libsqlite3-dev mysql-server libmysqlclient-dev postgresql postgresql-client postgresql-contrib libpq-dev redis-server memcached imagemagick ffmpeg mupdf mupdf-tools libxml2-dev
|
$ sudo apt-get install sqlite3 libsqlite3-dev mysql-server libmysqlclient-dev postgresql postgresql-client postgresql-contrib libpq-dev redis-server memcached imagemagick ffmpeg mupdf mupdf-tools libxml2-dev lipvips42
|
||||||
|
|
||||||
# Install Yarn
|
# Install Yarn
|
||||||
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||||
|
@ -132,7 +132,7 @@ $ sudo apt-get install yarn
|
||||||
To install all run:
|
To install all run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo dnf install sqlite-devel sqlite-libs mysql-server mysql-devel postgresql-server postgresql-devel redis memcached imagemagick ffmpeg mupdf libxml2-devel
|
$ sudo dnf install sqlite-devel sqlite-libs mysql-server mysql-devel postgresql-server postgresql-devel redis memcached imagemagick ffmpeg mupdf libxml2-devel vips
|
||||||
|
|
||||||
# Install Yarn
|
# Install Yarn
|
||||||
# Use this command if you do not have Node.js installed
|
# Use this command if you do not have Node.js installed
|
||||||
|
@ -147,7 +147,7 @@ $ sudo dnf install yarn
|
||||||
To install all run:
|
To install all run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo pacman -S sqlite mariadb libmariadbclient mariadb-clients postgresql postgresql-libs redis memcached imagemagick ffmpeg mupdf mupdf-tools poppler yarn libxml2
|
$ sudo pacman -S sqlite mariadb libmariadbclient mariadb-clients postgresql postgresql-libs redis memcached imagemagick ffmpeg mupdf mupdf-tools poppler yarn libxml2 libvips
|
||||||
$ sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
$ sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
||||||
$ sudo systemctl start redis mariadb memcached
|
$ sudo systemctl start redis mariadb memcached
|
||||||
```
|
```
|
||||||
|
@ -160,7 +160,7 @@ use MariaDB instead (see [this announcement](https://www.archlinux.org/news/mari
|
||||||
To install all run:
|
To install all run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ pkg install sqlite3 mysql80-client mysql80-server postgresql11-client postgresql11-server memcached imagemagick ffmpeg mupdf yarn libxml2
|
$ pkg install sqlite3 mysql80-client mysql80-server postgresql11-client postgresql11-server memcached imagemagick ffmpeg mupdf yarn libxml2 vips
|
||||||
# portmaster databases/redis
|
# portmaster databases/redis
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue