Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:white-pages:latest:install_rpm [2017/01/25 12:09] (current)
Line 1: Line 1:
 +====== Installation for Red Hat/CentOS ======
  
 +<note important>​You need the package [[https://​pkgs.org/​download/​php-Smarty|php-Smarty]] which is not in official repositories</​note>​
 +
 +===== From LTB repository =====
 +
 +Configure the yum repository :
 +<​code>​
 +# vi /​etc/​yum.repos.d/​ltb-project.repo
 +</​code>​
 +<​file>​
 +[ltb-project-noarch]
 +name=LTB project packages (noarch)
 +baseurl=http://​ltb-project.org/​rpm/​$releasever/​noarch
 +enabled=1
 +gpgcheck=1
 +gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-LTB-project
 +</​file>​
 +
 +Then update:
 +<​code>​
 +# yum update
 +</​code>​
 +
 +Import repository key:
 +<​code>​
 +# rpm --import http://​ltb-project.org/​wiki/​lib/​RPM-GPG-KEY-LTB-project
 +</​code>​
 +
 +You are now ready to install:
 +<​code>​
 +# yum install white-pages
 +</​code>​
 +
 +===== From package =====
 +
 +RPM can be downloaded from [[:​download#​white-pages|this page]]. Choose the file with the .rpm extension.
 +
 +You should import LTB GPG key first:
 +<​code>​
 +# rpm --import http://​ltb-project.org/​wiki/​lib/​RPM-GPG-KEY-LTB-project
 +</​code>​
 +
 +Install the package:
 +<​code>​
 +# yum localinstall white-pages-VERSION.noarch.rpm
 +</​code>​
 +
 +Dependencies should be installed automatically by yum.