RPM Installation HOWTO

RPM Installation HOWTO

1. Configuration

In order to have access to the APF packages, a new YUM repository must be created. This can be achived downloading the provided *.repo file:

Shell
[root@centos53 ~]# cd /etc/yum.repos.d/ [root@centos53 yum.repos.d]# wget http://www.rottmann.it/apf/apf.repo

If you prefer to create the repository at your own, here's the content of the repo file, that must be located within the /etc/yum.repos.d folder:

Shell
[root@centos53 yum.repos.d]# cat /etc/yum.repos.d/apf.repo # Name: Adventure PHP Framework Repository for Red Hat Enterprise 5 # URL: http://adventure-php-framework.org # Maintainer: Reiner Rottmann ( reiner [at] rottmann . it ) # [apf] name = Adventure PHP Framework baseurl = http://www.rottmann.it/apf/ enabled = 1 protect = 1 gpgkey = http://www.rottmann.it/apf/RPM-GPG-KEY.key gpgcheck = 1
In order to enable YUM to check the integrity and authenticity of the RPM packages provided, the public key included in the repository must be imported into the RPM database first. This can be done typing rpm --import http://www.rottmann.it/apf/RPM-GPG-KEY.key on the command line.

2. Installation

To get a list of the available packages, use the following command:

Shell
[root@centos53 yum.repos.d]# yum search apf Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp-stud.fht-esslingen.de * updates: centos.intergenia.de * addons: ftp-stud.fht-esslingen.de * extras: ftp-stud.fht-esslingen.de =============================== Matched: apf =============================== nmap-frontend.i386 : Gtk+ frontend for nmap apf-codepack.noarch : Adventure PHP Framework (apf) apf-codepack apf-configpack.noarch : Adventure PHP Framework (apf) apf-configpack apf-demopack.noarch : Adventure PHP Framework (apf) apf-demopack apf-docs.noarch : Adventure PHP Framework (apf) apf-docs

To install one of above listed packages invoke the yum install command. The subsequent box shows an example installation:

Shell
[root@centos53 yum.repos.d]# rpm --import http://www.rottmann.it/apf/RPM-GPG-KEY.key [root@centos53 yum.repos.d]# yum install apf-demopack.noarch Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp-stud.fht-esslingen.de * updates: centos.intergenia.de * addons: ftp-stud.fht-esslingen.de * extras: ftp-stud.fht-esslingen.de Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package apf-demopack.noarch 0:1.10-200909041048 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================ Installing: apf-demopack noarch 1.10-200909041048 apf 621 k Transaction Summary ============================================================================ Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 621 k Is this ok [y/N]: y Downloading Packages: apf-demopack-1.10-200909041048.noarch.rpm | 621 kB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : apf-demopack [1/1] Installed: apf-demopack.noarch 0:1.10-200909041048 Complete!

To un-install a package, do the following:

Shell
[root@centos53 yum.repos.d]# yum remove apf-demopack.noarch Loaded plugins: fastestmirror Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package apf-demopack.noarch 0:1.10-200909041048 set to be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================ Removing: apf-demopack noarch 1.10-200909041048 installed 1.8 M Transaction Summary ============================================================================ Install 0 Package(s) Update 0 Package(s) Remove 1 Package(s) Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Erasing : apf-demopack [1/1] Removed: apf-demopack.noarch 0:1.10-200909041048 Complete!
Reiner Rottmann - specialist for LINUX cluster systems

This article was exclusively written for adventure-php-framework.org.

About the author:

Reiner Rottmann, specialist for LINUX cluster systems at Munich RE, has created RPM (RedHat package format) packages of the APF to ease installation on RedHat based LINUX distributions. They are available since version 1.10 and are hosted at a newly created YUM channel. Hence, installation and software distribution is quite easy on RedHat boxes.

Comments

Do you want to add a comment to the article above, or do you want to post additional hints? So please click here. Comments already posted can be found below.
« 1   »
Entries/Page: | 5 | 10 | 15 | 20 |
1
cheap_viagra 26.10.2016, 11:50:00
Buy cheap viagra in newcastle, viagra for females .
2
online_cialis 14.09.2016, 14:32:17

Kensington Direct speonline cialise in loans for people with bad credit!
3
online_cialis 14.09.2016, 14:31:37
Do you have a spam problem on this site I also am
4
online_cialis 14.09.2016, 14:30:53

In the mediterranean, the years made compare generic online cialis price royal for each surrounding.
5
online_cialis 14.09.2016, 14:30:38

And how long would the online cialis seem to work for you?