Beruflich Dokumente
Kultur Dokumente
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:
The yum repo files are located in /etc/yum.repos.d/ and end with a .repo extension
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
files.
/usr/src/redhat/SPECS
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