Archive talk:Install Tvheadend on Arch Linux: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Dhead
(Created page with "==Updating this page== There shouldn't be a seperate page for Arm arch, only one Arch Linux page. This guide is way old, For Arch Linux kernel 2.6 is long dead, x86-64 is on 3.8,...")
 
>Dhead
(darm forgot to sign)
Line 26: Line 26:
For Arm arch it a little bit more complicated, all the devices have atleast 3.1 kernel, one should consult the Arch Linux Arm forums about updating Marvell based devices (SheevaPlug, PogoPlug...) to a recent kernel.
For Arm arch it a little bit more complicated, all the devices have atleast 3.1 kernel, one should consult the Arch Linux Arm forums about updating Marvell based devices (SheevaPlug, PogoPlug...) to a recent kernel.
For PogoPlug 4 & Mobile, if you've installed the uBoot as instructed in Arch Linux Arm guide all you've got to do to get the latest kernel is: "# pacman -Sy linux-kirkwood"
For PogoPlug 4 & Mobile, if you've installed the uBoot as instructed in Arch Linux Arm guide all you've got to do to get the latest kernel is: "# pacman -Sy linux-kirkwood"
For Raspberry Pi, you've already set with the recent kernel.
For Raspberry Pi, you've already set with the recent kernel.--[[User:Dhead|Dhead]] 22:18, 14 March 2013 (EDT)
These

Revision as of 02:18, 15 March 2013

Updating this page

There shouldn't be a seperate page for Arm arch, only one Arch Linux page. This guide is way old, For Arch Linux kernel 2.6 is long dead, x86-64 is on 3.8, all Arm devices have atleast a freezed 3.1 kernel and for most of them you can easily get the latest 3.8. It's bad approach not to use pacman for managing software, please consider removing the manual installation instructions completely. Currently tvheadend not available as a precompiled package but do maintained on Aur (Arch Users Repository)

I believe these are the steps to follow currently:

  1. Install some build tools :
     # sudo pacman -Sy base-devel git 
  2. Install dependencies :
     # sudo pacman -S avahi openssl python2
  3. Get the package tarball from Aur:
    1. For the latest stable TVHeadend:
        # wget https://aur.archlinux.org/packages/tv/tvheadend/tvheadend.tar.gz 
    2. For a current git TVHeadend version :
        # wget https://aur.archlinux.org/packages/tv/tvheadend-git/tvheadend-git.tar.gz
  4. Extract the tarball :
      # tar -xvf tvheadend*.tar.gz 
  5. Build the package:
     # cd tvheadend 
    Or
      # cd tvheadend-git 
 # makepkg 

Or for Arm arch

 # makepkg -A
  1. Install the package:
     # sudo pacman -S tvheadend*xz
  2. Start the service:
    # sudo systemctl start tvheadend
  3. Connect to tvheadend via web browser @ "tvheadednip":9981 and configure your setup.
  4. If you're happy with your tvheadend setup enable the service to start at boot :
     # sudo systemctl enable tvheadend

All of tvheadend settings are configureable via web browser, if I remember correctly the config files are store at /home/hts/.hts/tvheadend/. The default is that a non-name user with no password is created with admin credential everytime the service is initiated, to change this you must stop the service, disable it, (systemctl stop ..., systemctl disable ...) and edit the service file in /etc/lib/systemd/system/tvheadend.service and change it, for more info on this you shold consult tvheadend wiki and man page.

DVB Drivers.

The current kernel for x86-64 is 3.8, so "# pacman -Syu" will promise you've got the latest drivers. For Arm arch it a little bit more complicated, all the devices have atleast 3.1 kernel, one should consult the Arch Linux Arm forums about updating Marvell based devices (SheevaPlug, PogoPlug...) to a recent kernel. For PogoPlug 4 & Mobile, if you've installed the uBoot as instructed in Arch Linux Arm guide all you've got to do to get the latest kernel is: "# pacman -Sy linux-kirkwood" For Raspberry Pi, you've already set with the recent kernel.--Dhead 22:18, 14 March 2013 (EDT)