When rebuilding SRPMs, you will probably have more chance of success for packages that are add-ons to the system, rather than for core packages. You may be able use these instructions to rebuild those SRPMs on your system. Finally, some distribution-independent open source software is available in the form of SRPMs. The chance of rebuilding SRPMs made for other divergent RPM-based distributions, such as Mandriva or SuSE, without substantial changes is medium to low. For CentOS-6 the corresponding Fedora versions are 12/13, the approximate versions from which EL6 was forked, and many Fedora 14 and above SRPMs will build successfully. Some SRPMs up to Fedora 11 may rebuild on CentOS-5 without problems but those from Fedora 11 and later currently require use of the "-nomd5" flag with the rpm command to install. The chance of rebuilding SRPMs for a higher version of Red Hat or CentOS is fairly good, the chance of rebuilding SRPMs from Fedora Core 6 or Fedora 7 on CentOS-5 is quite good, but the chances of rebuilding those from later Fedora versions is lower, as they have diverged considerably from the EL5 branch point during FC6 test versions. As Red Hat (and consequently CentOS) is partially based on a stabilized subset of Fedora, it is often possible to rebuild SRPMs from Fedora in CentOS. You may want to look for SRPMs from other distros based on Red Hat, such as Scientific Linux, since they will tend to be compatible with the CentOS base packages. For example, it is almost certain that you will have success in rebuilding Red Hat or CentOS packages for the same major version. The chance of success in rebuilding a SRPM package largely depends on how close the distribution is to CentOS. Only packages signed with the relevant CentOS GPG key are products of the CentOS project. For instance, the CentOS 'testing' archive is one that does NOT seek to expressly provide an update path. Most of the sources listed in the 'Repositories' wiki page have such resources and features, but some do not. Most people using repositories expect support (mailing list, fora, bug tracker, IRC channel), and an archive which issues security and feature updates on the packages it provides. Before deciding to rebuild a SRPM, you should probably look for the desired package in one of the available Repositories to see if they already contain the package you seek. You will have to maintain it and rebuild it every time that security updates are available. After building packages you may want to consider setting up a local repo to simplify package management using yum or GUI tools.įirst consider the burden that rebuilding a SRPM will be for you. There are considerable benefits to using a package management system to manage dependencies versus source installs. Even if the software is not available in CentOS, you should always try to get or build a RPM for the software, since the advantages of using a package management system will compensate for the work you will have building the package. One of the reasons why you may want to do this is to install a software package that is not available in CentOS repositories. This document will guide you on how to rebuild a Source RPM (SRPM) package on your CentOS distribution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |