Sie sind auf Seite 1von 1

Note: When we try to install software package, the package should be available on the configured repository or the system

should be registered with RHN (Red Hat Network) with an internet connection. Otherwise, we will get error message like No Package_name Available. Using DVD/CD as a Repository in RHEL6:

Using DVD/CD ISO image might be a good source to be used as a repository. Many packages are available in the RHEL DVD/CD. Follow the following steps to use DVD as a repository:

Also look at Damian book (pg: 190)

The yum repo files are located in /etc/yum.repos.d/ and end with a .repo extension

RPM (Red Hat Package Manager):

RPM requires a set of directories in which to perform the build. While the directories' locations and names can be changed, unless there's a reason to do so, it's best to use the default layout. Note that if you've installed RPM, the build directories are most likely in place already.

The normal directory layout consists of a single top-level directory (The default name is /usr/src/redhat), with five subdirectories. The five subdirectories and their functions are:
/usr/src/redhat/SOURCES

Contains the original sources, patches, and icon

files.
/usr/src/redhat/SPECS

Contains the spec files used to control the build

process. The directory in which the sources are unpacked, and the software is built. In fact, the only important requirement is that the BUILD directory be part of a file system with sufficient free space to build the largest package expected. /usr/src/redhat/RPMS Contains the binary package files created by the build process. /usr/src/redhat/SRPMS Contains the source package files created by the build process.
/usr/src/redhat/BUILD

Das könnte Ihnen auch gefallen