forked from adonisjs/attachment-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jeremy Chaufourier edited this page Jul 10, 2023
·
3 revisions
Installation dépendencies
sudo apt-get install -y poppler-utils
sudo apt-get install -y libreoffice libreoffice-core
sudo apt-get install -y ffmpeg
Install static bin in alwaysdata
mkdir .bin
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar -xJf ffmpeg-release-amd64-static.tar.xz --strip-components=1
chmod u+x ffmpeg
wget https://appimages.libreitalia.org/LibreOffice-fresh.basic-x86_64.AppImage
chmod a+x LibreOffice*.AppImage
/LibreOffice*.AppImage --appimage-extract
mv ~/squashfs-root ~/.bin
alias ffmpeg='~/.bin/ffmpeg/ffmpeg'
alias ffprobe='~/.bin/ffmpeg/ffprobe'
alias soffice='~/.bin/libreoffice/usr/bin/libreoffice*'