Installation on Linux without root permissions

Any questions? Need some help?
Post Reply
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Installation on Linux without root permissions

Post by seequcn »

Hi,

I'm trying to install Filebot on my seedbox running Debian. The policy of the provider is to allow users to install software to their home directory, but not to have permission to run sudo.

It seems that dpkg requires root access.

Is there any other way to install Filebot without using dpkg?

Thanks!
User avatar
rednoah
The Source
Posts: 18969
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installation on Linux without root permissions

Post by rednoah »

Do you need GUI or cmdline? Running via webstart should work. Also you could try the portable package. For the latter two you need to setup the native libraries yourself if you need mediainfo/7zip integration.
:idea: Please read the FAQ and How to Request Help.
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Re: Installation on Linux without root permissions

Post by seequcn »

I need cmdline only. There is no GUI on the seedbox.
User avatar
rednoah
The Source
Posts: 18969
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installation on Linux without root permissions

Post by rednoah »

Then just use the portable. Unpack the zip and use the filebot.sh startup script.
:idea: Please read the FAQ and How to Request Help.
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Re: Installation on Linux without root permissions

Post by seequcn »

I downloaded the portable from http://softlayer.dl.sourceforge.net/pro ... rtable.zip and unzipped it.

Then I got rid of the DOS carriage returns ( as I was getting '/bin/bash^M: bad interpreter: No such file or directory' error)

then did a 'chmod 755 filebot.sh' and ran it with ./filebot.sh

I got the following error:

Unable to access jarfile /FileBot.jar

The version of java on my seedbox is
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
User avatar
rednoah
The Source
Posts: 18969
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installation on Linux without root permissions

Post by rednoah »

That's Wierd. The most basic way is to run the jar directly with java.

java -jar FileBot.jar

Let's see if we can make that work and then take it from there.
:idea: Please read the FAQ and How to Request Help.
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Re: Installation on Linux without root permissions

Post by seequcn »

Yes it is weird, it again comes back with the error:-

Unable to access jar file Filebot.jar
User avatar
rednoah
The Source
Posts: 18969
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installation on Linux without root permissions

Post by rednoah »

Apparently that error means that java can't open the jar file. Maybe the path is not correct or a permissions problem. Can't find a definite answer online.
:idea: Please read the FAQ and How to Request Help.
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Re: Installation on Linux without root permissions

Post by seequcn »

You're right, it was the wrong path, need to input while in the working directory where the jar is located:

java -jar ./Filebot.jar

it works now! Doing more testing, will let you know how it goes
seequcn
Posts: 17
Joined: 25 May 2012, 01:13

Re: Installation on Linux without root permissions

Post by seequcn »

Wrong diagnosis and solution. I didn't capitalize the B in FileBot.jar

Duh!
Post Reply