[New Feature] Linux installer

Discuss newly added features or request new features.
hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

[New Feature] Linux installer

Post by hugbug » 30 Apr 2015, 22:22

With the new Installer for Linux the installation of NZBGet becomes as simple as:
  • download the installer;
  • run the installer;
  • start installed NZBGet.
Example terminal session:

Code: Select all

$ wget http://nzbget.net/download/nzbget-testing-latest-bin-linux.run
> downloading...

$ sh nzbget-testing-latest-bin-linux.run
> installing...

$ ./nzbget/nzbget -s
> nzbget is running...
To use the installer your system must have Linux with kernel 2.6 or newer (practically any Linux system nowadays) and one of the supported CPUs:
  • i686 - Intel/AMD 32 bit. That includes older 32 bit desktop systems and older 32 bit NAS models. This version also works on most 64 bit systems which support 32 bit software;
  • x86_64 - Intel/AMD 64 bit. That includes most of modern desktop systems and many modern NAS models;
  • armel - ARMv5/v6 (ARM9 and ARM11 families). That includes Raspberry Pi 1, many older NAS models (QNAP, Synology, etc.) and media players;
  • armhf - ARMv7 (Cortex family). That includes Raspberry Pi 2, Banana Pi, many modern NAS models and media players;
  • mipsel - MIPS (little endian). That includes many devices with Broadcom chipsets such as WLAN routers, media players, SAT receivers;
  • mipseb - MIPS (big endian). That includes many WLAN routers;
  • ppc500 - PowerPC e500v1/e500v2. That includes many older Synology NAS models;
  • ppc6xx - PowerPC 6xx (603e, etc.). That includes many even older Synology NAS models.
Manual: Installation on Linux.

Please post your results (bad or good), include info about your device (model name or number, a link to specs if possible). If the installation has failed please include in the post the output of "uname -a" and "cat /proc/cpuinfo".

STRYKER
Posts: 12
Joined: 30 Jul 2013, 13:08

Re: [New Feature] Linux installer

Post by STRYKER » 01 May 2015, 08:50

Test it on Synology DS413

Installer for nzbget-15.0-testing-r1271
Checking system...
This installer supports Linux kernel 2.6 or newer and the following CPU architectures:
i686 - x86 or compatible, 32 or 64 Bit;
armv5tel - ARMv5 (ARM9 and ARM11 families);
armv7hl - ARMv7 (Cortex-A family);
mipsel - MIPS (little endian);
ppc - PowerPC (generic).
Usage:
nzbget-15.0-testing-r1271-bin-linux.run [--arch (i686|armv5tel|armv7hl|mipsel|ppc|all)] [--destdir <path>] [--unpack] [--silent]
ERROR: CPU architecture (ppc) isn't supported by this installer.

Linux syno 2.6.32.12 #3827 SMP Thu Aug 21 11:21:29 CST 2014 ppc GNU/Linux synology_qoriq_413

processor : 0
cpu : e500v2
clock : 1066.666000MHz
revision : 5.1 (pvr 8021 1151)
bogomips : 133.33

processor : 1
cpu : e500v2
clock : 1066.666000MHz
revision : 5.1 (pvr 8021 1151)
bogomips : 133.33

total bogomips : 266.66
timebase : 66666667
platform : P1022 DS
model : fsl,P1022
Memory : 1024 MB

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 01 May 2015, 09:10

Thanks for testing.
Please try running installer with parameter "--arch ppc".
EDIT: fixed the CPU detection for ppc. Please download the updated installer.
I have also a special build for e500 but I'd like to test the generic powerpc build included in installer first.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 01 May 2015, 09:27

Fixed the CPU detection for ppc. Please download the updated installer.

STRYKER
Posts: 12
Joined: 30 Jul 2013, 13:08

Re: [New Feature] Linux installer

Post by STRYKER » 01 May 2015, 10:05

DS413 2nd trial

>sh nzbget-15.0-testing-r1271-bin-linux.run --arch ppc

Installer for nzbget-15.0-testing-r1271
Checking system...
CPU-Architecture: ppc (manually set)
Unpacking...
Configuring...
Installation completed

>./nzbget/nzbget -s

Illegal instruction (core dumped)

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 01 May 2015, 10:11

Please send me a note at nzbget@gmail.com and I'll provide you with another binary to test.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 01 May 2015, 13:09

Update:
  • added extra support for CPU architecture ppc500 - PowerPC e500v1/e500v2. That includes many older Synology NAS models (DS109+, DS209+II, DS409+, DS509+, RS409(RP)+, DS209+, DS408, DS508, RS408(RP), DS110+, DS210+, DS410, DS213+, DS413). The ppc (generic) didn't work for e500 CPU core.
Installer package updated.

I'm curious if the ppc (generic) works for older Synology models with CPU MPC8241 (DS101g+, DS106e, DS106,DS106x, DS107, DS107e, DS109j, DS207, DS207.128, DS209j, DS406e, CS407e, DS106j, DS108j, CS406, RS406). Because if the generic binary doesn't work I would remove it from the installer and rather add a special binary for CPU MPC8241.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 01 May 2015, 22:39

Update:
  • added support for MIPS (big endian) - mipseb. That should work on many newer WLAN routers: Fritz!Box 7390, 7490 and others;
  • added support for PowerPC 603e series - ppc6xx. That includes Synology models DS101g+, DS106e, DS106,DS106x, DS107, DS107e, DS109j, DS207, DS207.128, DS209j, DS406e, CS407e, DS106j, DS108j, CS406, RS406;
  • removed ppc (generic). Don't know devices where it would work.
Installer updated, first post updated.

Reports for all devices are welcome, but I especially need results for two added CPU architectures mipseb and ppc6xx, which were not tested yet.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 03 May 2015, 23:35

Update:
  • For convenience the installer now includes and installs unrar and 7za (for all CPU-architectures);
  • template config file is adjusted to use installed unrar and 7za.
  • if you update from a previous version of installer set the options as below (to ensure an easier update of the unpackers in the future):
    • UnrarCmd={AppDir}/unrar
    • SevenZipCmd={AppDir}/7za
Installer updated.

Saner
Posts: 8
Joined: 27 Dec 2013, 07:46

Re: [New Feature] Linux installer

Post by Saner » 04 May 2015, 08:36

hiya.


i used to buikd from source (obviously) what would be the flags to get it to upgrade my version, if its possible.

i am presuming it would be something like

sh installler.bin --destdir /usr/local/bin

but am unsure

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests