Skip to content

Installation Requirements

Zeyphros edited this page Jun 29, 2021 · 17 revisions

Archlinux

pacman -S ffmpeg avahi nodejs npm node-gyp libvips

Fedora

dnf install ffmpeg avahi-compat-libdns_sd-devel nodejs

Debian/Ubuntu

apt install ffmpeg nodejs npm libvips-tools libvips-dev python3-guessit

FreeBSD/FreeNAS

To install Oblecto onto FreeNAS, some dependencies must be installed from the ports collection. First you have to pull the ports repos:

portsnap fetch extract

Then to compile and install ffmpeg and libvips from ports, run:

cd /usr/ports/graphics/vips/ && make install clean
cd /usr/ports/multimedia/ffmpeg && make install clean
cd /usr/ports/www/node && make install clean
cd /usr/ports/www/npm && make install clean
cd /usr/ports/lang/python && make install clean
cd /usr/ports/multimedia/py-guessit && make install clean

Several header files are located in the wrong location on freebsd/freenas. Without the files in the correct location native bindings will not be able to compile to fix this we can create symlinks from the header locations in /usr/local/include/ to /usr/include/ using

ln -s /usr/local/include/avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h
ln -s /usr/local/include/vips /usr/include/vips
ln -s /usr/local/include/glib-2.0/glib.h  /usr/include/glib.h
ln -s /usr/local/include/glib-2.0/glib /usr/include/glib
ln -s /usr/local/lib/glib-2.0/include/glibconfig.h /usr/include/glibconfig.h
ln -s /usr/local/include/glib-2.0/gmodule.h /usr/include/gmodule.h
ln -s /usr/local/include/glib-2.0/gobject /usr/include/gobject
Clone this wiki locally