[DEB] Debian package

Support for Ubuntu and other Desktop Linux distributions
Locked
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DEB] Debian package

Post by rednoah »

FileBot provides its own APT repository so that you can install and upgrade FileBot via sudo apt-get install filebot.


The installer/deb.sh script will add the repository and install FileBot for you:

Shell: Select all

curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/deb.sh | sh -xu



Alternatively, you can open Terminal and manually execute each step:


0. Install prerequisites:

Shell: Select all

sudo apt-get install -y curl
1. Import signing keys:

Shell: Select all

curl -fsSL "https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub" | sudo gpg --dearmor --output "/usr/share/keyrings/filebot.gpg"
2. Add deb repository:

Shell: Select all

echo "deb [arch=all signed-by=/usr/share/keyrings/filebot.gpg] https://get.filebot.net/deb/ universal main" | sudo tee "/etc/apt/sources.list.d/filebot.list"
3. Update package index:

Shell: Select all

sudo apt-get update
4. Install FileBot:

Shell: Select all

sudo apt-get install -y --install-recommends filebot
5. Test Run:

Shell: Select all

filebot -script fn:sysinfo



:idea: FileBot provides multiple package repositories for different platforms and requirements:
  1. Default OpenJDK build for newer Debian platforms (noarch)

    Code: Select all

    deb [arch=all signed-by=/usr/share/keyrings/filebot.gpg] https://get.filebot.net/deb/ universal main
  2. OpenJDK 8 compatibility build for older Debian platforms (noarch)

    Code: Select all

    deb [arch=all signed-by=/usr/share/keyrings/filebot.gpg] https://get.filebot.net/deb/ universal-jdk8 main
  3. Embedded OpenJDK build for 64-bit x86 Debian platforms (no dependencies; amd64 only)

    Code: Select all

    deb [arch=amd64 signed-by=/usr/share/keyrings/filebot.gpg] https://get.filebot.net/deb/ stable main

:idea: Use --install-recommends or --no-install-recommends to explicitly install or skip optional dependencies.
:idea: Please read the FAQ and How to Request Help.
Locked