Difference between revisions of "RedHat Trinity Repository Installation Instructions"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
imported>PunisherHD
(add instructions for CentOS 7)
(31 intermediate revisions by 8 users not shown)
Line 7: Line 7:
 
Install EPEL repository: http://fedoraproject.org/wiki/EPEL
 
Install EPEL repository: http://fedoraproject.org/wiki/EPEL
   
(for EL4) Install RPMFORGE repository: http://repoforge.org/use/
+
Install RPMFUSION repository: http://rpmfusion.org/Configuration
 
(for EL5, EL6) Install RPMFUSION repository: http://rpmfusion.org/Configuration
 
 
(for EL7) Install NUX repository: http://li.nux.ro/repos.html
 
   
 
===2. Download and install the configuration package for your distribution:===
 
===2. Download and install the configuration package for your distribution:===
   
====For RHEL/CentOS 4 (v3.5.13.2)====
+
====For RHEL/CentOS 9 (R14.1.2)====
  +
<syntaxhighlight lang="shell-session">
 
rpm -Uvh http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el4/trinity-3.5.13/RPMS/noarch/extras/trinity repo-3.5.13.2-2.el4.opt.noarch.rpm
+
# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el9/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el9.noarch.rpm
  +
</syntaxhighlight>
   
  +
Depending on your exact distribution, you may need to enable the 'devel' repository prior to installing Trinity.
====For RHEL/CentOS 5 (v3.5.13.2)====
 
  +
<syntaxhighlight lang="shell-session">
  +
# dnf config-manager --enable devel
  +
</syntaxhighlight>
   
 
====For RHEL/CentOS 8 (R14.1.2)====
wget http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el5/trinity-3.5.13/RPMS/noarch/extras/trinity-repo-3.5.13.2-2.el5.opt.noarch.rpm
 
  +
<syntaxhighlight lang="shell-session">
rpm -Uvh --nosignature trinity-repo-3.5.13.2-2.el5.opt.noarch.rpm
 
 
# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el8/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el8.noarch.rpm
  +
</syntaxhighlight>
   
====For RHEL/CentOS 6 (v3.5.13.2)====
+
====For RHEL/CentOS 7 (R14.1.2)====
   
  +
<syntaxhighlight lang="shell-session">
rpm -Uvh http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el6/trinity-3.5.13/RPMS/noarch/extras/trinity-repo-3.5.13.2-2.el6.opt.noarch.rpm
 
 
# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el7/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el7.noarch.rpm
  +
</syntaxhighlight>
   
====For RHEL/CentOS 7 (v3.5.13.2)====
+
====For RHEL/CentOS 6 (R14.0.13)====
   
  +
<syntaxhighlight lang="shell-session">
rpm -Uvh http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el7/trinity-3.5.13/RPMS/noarch/extras/trinity-repo-3.5.13.2-2.el7.opt.noarch.rpm
 
 
# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el6/trinity-r14/RPMS/noarch/trinity-repo-14.0.13-1.el6.noarch.rpm
  +
</syntaxhighlight>
   
 
===3. Install the Trinity desktop environment===
 
===3. Install the Trinity desktop environment===
Line 64: Line 70:
 
===5. (Optional) Sets TDM as the default display manager===
 
===5. (Optional) Sets TDM as the default display manager===
   
====For CentOS 4, 5, 6====
+
====For RHEL / CentOS 6====
   
 
Edit or create file: /etc/sysconfig/desktop
 
Edit or create file: /etc/sysconfig/desktop
 
Add/modify the line:
 
Add/modify the line:
   
DISPLAYMANAGER=/opt/trinity/bin/kdm
+
DISPLAYMANAGER=/opt/trinity/bin/tdm
   
 
Save the file then reboot your computer.
 
Save the file then reboot your computer.
   
====For CentOS 7====
+
====For RHEL / CentOS 7, 8, 9====
   
 
You must disable your current Display Manager in systemd.
 
You must disable your current Display Manager in systemd.
Line 92: Line 98:
 
In order to add the missing codecs, you must install the "xine-lib-extra-freeworld" package, by typing the following command.
 
In order to add the missing codecs, you must install the "xine-lib-extra-freeworld" package, by typing the following command.
   
====For CentOS? 6 (i686):====
+
====For CentOS 6 (i686):====
   
yum install http://li.nux.ro/download/nux/dextop/el6/i386/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.i686.rpm
+
<nowiki>yum install http://li.nux.ro/download/nux/dextop/el6/i386/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.i686.rpm</nowiki>
   
====For CentOS? 6 (x86_64):====
+
====For CentOS 6 (x86_64):====
   
yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.x86_64.rpm
+
<nowiki>yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.x86_64.rpm</nowiki>

Revision as of 09:33, 30 April 2024

RedHat Trinity Repository Installation Instructions

1. Configure the supplementary 3rdparty repositories

Install EPEL repository: http://fedoraproject.org/wiki/EPEL

Install RPMFUSION repository: http://rpmfusion.org/Configuration

2. Download and install the configuration package for your distribution:

For RHEL/CentOS 9 (R14.1.2)

# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el9/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el9.noarch.rpm

Depending on your exact distribution, you may need to enable the 'devel' repository prior to installing Trinity.

# dnf config-manager --enable devel

For RHEL/CentOS 8 (R14.1.2)

# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el8/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el8.noarch.rpm

For RHEL/CentOS 7 (R14.1.2)

# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el7/trinity-r14/RPMS/noarch/trinity-repo-14.1.2-1.el7.noarch.rpm

For RHEL/CentOS 6 (R14.0.13)

# rpm -Uvh http://mirror.ppa.trinitydesktop.org/trinity/rpm/el6/trinity-r14/RPMS/noarch/trinity-repo-14.0.13-1.el6.noarch.rpm

3. Install the Trinity desktop environment

Installing the minimum, basic desktop (about 200 MB disk space required):

yum install trinity-tdebase

Installing the entire Trinity desktop (about 600 MB disk space required):

yum install trinity-desktop

Installing the entire Trinity desktop + all Trinity supported applications (about 1200 MB disk space required):

yum install trinity-desktop-all

4. (Optional) Install your locale translation package, e.g for French translation

yum install trinity-tde-i18n-French

Koffice translations:

yum install trinity-koffice-i18n-French

K3B translations:

yum install trinity-k3b-i18n-French

Note: you can obtain a list of available TDE packages with the following command:

yum search trinity-

5. (Optional) Sets TDM as the default display manager

For RHEL / CentOS 6

Edit or create file: /etc/sysconfig/desktop Add/modify the line:

DISPLAYMANAGER=/opt/trinity/bin/tdm

Save the file then reboot your computer.

For RHEL / CentOS 7, 8, 9

You must disable your current Display Manager in systemd. E.g:

systemctl disable gdm.service
systemctl disable kdm.service
systemctl disable xdm.service

Then enable TDM service:

systemctl enable tdm.service

Then reboot your computer.

7. (Optional) Install missing XINE codecs

By default, the Xine libraries provided with RHEL/CentOS cannot play some formats like MPEG1/MPEG2. As a result, Kaffeine cannot playback video DVD (among other problems). In order to add the missing codecs, you must install the "xine-lib-extra-freeworld" package, by typing the following command.

For CentOS 6 (i686):

yum install http://li.nux.ro/download/nux/dextop/el6/i386/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.i686.rpm

For CentOS 6 (x86_64):

yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/xine-lib-extras-freeworld-1.1.18.1-1.el6.nux.x86_64.rpm