Page 1 of 1

[TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 22 Jul 2018, 13:20
by rednoah
1.
Create a new folder and then cd into that folder:

Code: Select all

mkdir filebot-portable && cd filebot-portable

2.
If you are running on Java 11 or higher, run the installer/tar.sh script:

Code: Select all

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/tar.sh)"
If you are running on Java 8, run the installer/tar-jdk8.sh script:

Code: Select all

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/tar-jdk8.sh)"

3.
Run filebot -script fn:sysinfo to check if everything is working.

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 16 Oct 2018, 22:34
by nothing919
This also works on Arch Linux as long as you install this package from the AUR instead of the apt get listed package. On Arch it is jre8-openjdk and Java-openJFX. Currently the portable version of filebot is the only one availible for arch as the two versions from the AUR have been taken down.

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 17 Jan 2019, 14:47
by elgallo
I am on FreeBSD 12, when trying to install filebot I get the following error

Code: Select all

~/filebot-portable# sh filebot.sh -script fn:sysinfo
filebot.sh: java: not found
which version of java should I use/search for?

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 17 Jan 2019, 14:49
by rednoah
The *-portable.tar.xz package is compiled for Java 8.

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 17 Feb 2019, 19:30
by phrak9
Can this be updated? Been wrestling with getting openjdk-11 installed and found by FIlebot on install no luck

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 18 Feb 2019, 06:51
by rednoah
rednoah wrote: 17 Jan 2019, 14:49 The *-portable.tar.xz package is compiled for Java 8.
Why would you wrestle with Java 11 when Java 8 is recommended and easily available?

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 02 Nov 2019, 06:28
by ddloads
I have tried running the command you posted but I keep getting "Illegal variable name" any idea how to fix this?

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 02 Nov 2019, 11:25
by rednoah
Which exact line number causes bash (Are you using bash?) to abort with this error message?
https://github.com/filebot/plugins/blob ... ler/tar.sh

Please post a screenshot that shows exactly what you're doing, and include as much additional information as possible, so we can take a guess as to what's special on your machine, that's different from anyone else.

:idea: Please read How to Request Help.

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 19 Jan 2020, 11:51
by Cyb3rGh05t
how do i add my liscense to the package?

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 19 Jan 2020, 11:54
by rednoah
Cyb3rGh05t wrote: 19 Jan 2020, 11:51 how do i add my liscense to the package?
Please read the log, or the documentation: https://www.filebot.net/activate.html

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 19 Jan 2020, 11:59
by Cyb3rGh05t
rednoah wrote: 19 Jan 2020, 11:54
Cyb3rGh05t wrote: 19 Jan 2020, 11:51 how do i add my liscense to the package?
Please read the log, or the documentation: https://www.filebot.net/activate.html
THANK YOU

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 19 Jan 2020, 12:01
by Cyb3rGh05t
i get some errors with the command

Code: Select all

filebot -script fn:sysinfo

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bi                                                                                                                     t) native library libmediainfo.so: Unable to load library 'mediainfo': Native li                                                                                                                     brary (linux-x86-64/libmediainfo.so) not found in resource path ([file:/root/fil                                                                                                                     ebot-portable/jar/filebot.jar])
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such                                                                                                                      file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_232
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 6 Core / 6 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
HW: Linux optimusprime 4.4.0-171-generic #200-Ubuntu SMP Tue Dec 3 11:04:55 UTC                                                                                                                      2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /root/filebot-portable/data/root
Package: TAR
License: FileBot License P7950282 (Valid-Until: 2020-05-23)
Done ヾ(@⌒ー⌒@)ノ
What did i miss?

Thanks

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 19 Jan 2020, 12:08
by rednoah
libmediainfo.so is either not installed or not compatible with your system:

Code: Select all

MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/root/filebot-portable/jar/filebot.jar])
fpcalc is not installed:

Code: Select all

Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory

:idea: libmediainfo.so and fpcalc are optional dependencies. You may or may not need either, depending on your use case. You will find many many many threads here in this forum discussing how to get libmediainfo.so working on various platforms.


:idea: If you're using a Debian-based OS such as Ubuntu, then I recommend using APT package management for dependencies: https://www.filebot.net/linux/apt.html

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 25 Jan 2020, 02:10
by forceflow
Ubuntu 19.10, OpenJDK 8, licensed version of filebot.

I've used this script, and all works well (with OpenJDK 8).
When I run update_filebot.sh however, I always end up with a version that gives me an error when I try to run it:

Code: Select all

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Posted: 25 Jan 2020, 04:37
by rednoah
Sorry, the incremental update script only works for the Java 11 build, but not the Java 8 compatibility build.