Skip to content

Install Linux

jeremywh7 edited this page Nov 24, 2020 · 11 revisions

On Linux NextPVR supports IPTV, HDHomeRun, digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM), and SAT>IP tuner (DVB-S, DVB-C, DVB-T).

Installation from .deb file

The easiest way to install NextPVR is using the .deb file (thanks Martin for creating it!).

> curl https://nextpvr.com/nextpvr-helper.deb -O
> sudo apt install ./nextpvr-helper.deb --install-recommends

Wait for it to start, then open http://127.0.0.1:8866 in a web browser to setup NextPVR.

Find more information about installing from the .deb file and for updating to a new release here.

Check Installation Commands

Check status: service nextpvr-server status (sudo not required)

Stop server: sudo service nextpvr-server stop

Start server: sudo service nextpvr-server start

Manual Installation

If running a platform that does not support .deb files, or to manually install, the application can be installed using the following steps.

The latest files can be downloaded from: http://nextpvr.com/beta/linux/NPVR.zip

NextPVR needs a current .NET Core 3.1 runtime installation: https://dotnet.microsoft.com/download/dotnet-core/3.1

The ASP.NET Core Runtime and .NET Core Runtime are both required. See the overview for listed distributions or use the manual install.

Other required packages may include:

  • dtv-scan-tables (Arch Linux AUR: dtv-scan-tables-git)
  • libc6 / libc6-dev / glibc
  • libgdiplus
  • ffmpeg

These may also help for general device and media testing:

  • mediainfo
  • dvb-tools / v4l-utils
  • libdvbv5-0

Extract the NPVR.zip to a directory like /home/user/NPVR

Fix ownership of NPVR's DeviceHostLinux files:

> cd NPVR
> find . -name DeviceHostLinux -exec chmod 755 {} \;
> dotnet ./NextPVRServer.dll

Run NPVR from an alias

In Arch Linux, with NPVR and dotnet installed under the user account, use this alias in ~/.bashrc

alias NPVR='cd ~/NPVR;DOTNET_ROOT=~/dotnet ~/dotnet/dotnet ./NextPVRServer.dll;cd `echo $OLDPWD`'

Known Issues

  • To use an older legacy HDHomeRun on Linux, hdmomerun-config is also needed. E.g. sudo apt install hdhomerun-config
  • dtv-scan-tables is needed for scanning; also ensure NextPVRServer is being invoked from inside the NPVR directory
  • ATSC OTA EPG is not currently working in Linux, see here.
Clone this wiki locally