Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can I assume that if you add packages such as httpd and php these will be installed via "yum install" as long as I specify them after the %packages in the kickstart file?

Thanks

share|improve this question

2 Answers 2

up vote 1 down vote accepted

That's correct.

Here's a bit more documentation if you need more info

http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-packageselection.html

share|improve this answer

In a literal sense, no. The packages listed in the %packages section are installed by Anaconda, the Fedora installation program. This uses yum internally, but via API calls rather than exec'ing the yum command-line tool. That means the semantics of the install may differ slightly from what you get with yum install (particularly, the plugins configured will not necessarily be the same).

However, if the packages you specify are available in a configured repository at install time, the installer will pull them in and install the packages. And since httpd and php are of course part of the base Fedora release, unless you're doing something odd, putting them on the %packages section should just work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.