Difference between revisions of "Installing MythTV on RHEL/CentOS"

From MythTV Official Wiki
Jump to: navigation, search
(ATRPMS.net)
(ATRPMS.net)
Line 36: Line 36:
 
For x86-64
 
For x86-64
  
http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-package-config-120-3.el5.x86_64.rpm
+
rpm -i http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-package-config-120-3.el5.x86_64.rpm
  
 
You will also need to enable the testing repo to get the appropriate dependencies.
 
You will also need to enable the testing repo to get the appropriate dependencies.

Revision as of 15:33, 26 May 2009

This is a collection of information to help set up MythTV on a Red Hat Enterprise Linux (RHEL) or CentOS 5.2 machine.


Scope

Installing MythTV on RHEL/CentOS is nearly identical to Fedora. Being Fedora has well updated howto's this guide will note the differences in install MythTV on RHEL/CentOS instead of every step required in the process.

Why choose RHEL/CentOS

Fedora is one of the most popular and most supported in the Myth community. One of the major downfalls of Fedora is the life cycle is only ~6 months and packages are only updated for the two most recent releases. This means to stay on a supported OS you must upgrade or completely redo you Myth box every year. RHEL/CentOS gives you the advantage of using a OS that is nearly identical to Fedora yet supported for >6 years.

Choosing between RHEL or CentOS

RHEL is Red Hat's enterprise distribution. Generally used for servers that require long life cycles and stability. Based off the development of Fedora. RHEL is sold with support through Red Hat. While support is of great value many users of MythTV may be looking to save money and rely on the community for support. This is where CentOS comes in. Being, RHEL is based on GPL software Red Hat must release the source to the entire OS. CentOS takes the source, removes logo/trademarks of Red Hat and creates CentOS. CentOS is a 100% binary compatible with RHEL packages, so RPMs for EL are good for CentOS.

Enabling DVB

For some reason CentOS (not sure about RHEL) has DVB disabled by default in the kernel. The fix is easy. You need to install the centos.plus kernel. To do this

1. Enable the plus repo.

 su -
 vim /etc/yum.repos.d/CentOS-Base.repo 
       

Change enable=0 to enable=1 under the [centosplus] section.

 yum update kernel

DVB should now be enabled.

Configuring Yum Repo's

ATRPMS.net

Just like Fedora Axel provides great packages for RHEL/CentOS. To install the repo on i386 run:

rpm -i http://dl.atrpms.net/el5-i386/atrpms/stable/atrpms-package-config-120-3.el5.i386.rpm

For x86-64

rpm -i http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-package-config-120-3.el5.x86_64.rpm

You will also need to enable the testing repo to get the appropriate dependencies.

vim /etc/yum.repos.d/atrpms.repo
--cut--
#
# requires stable
#
[atrpms-testing]
name=Red Hat Enterprise Linux 5 - x86_64 - ATrpms testing
baseurl=http://dl.atrpms.net/el5-x86_64/atrpms/testing
failovermethod=priority
enabled=1
--cut--

Example i386 version of /etc/yum.repos.d/ATrpms.repo

[atrpms]
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1

[atrpms-testing]
name=EL $releasever - $basearch - ATrpms - ATrpms testing
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
failovermethod=priority
enabled=1

RPM Forge

Although RPM Forge is not required for MythTV is provides many packages a home user may want.

EL5 i386:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Red Hat Enterprise Linux 5 / x86_64:

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

EPEL

EPEL was started because many Fedora contributors wanted to use the Fedora packages they maintain on Red Hat Enterprise Linux (RHEL) and its compatible derivatives.

To install for both i386 and x86-64

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm


Continue

From this point the differences between Fedora and RHEL/CentOS are extremely Trival. Continue your install from the Fedora page