Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
automatically installing packages

I have two virtual machines, and I want to install packages atomically from repository . Is there any specific package management software, that install packages automatically,

Lets says that I have a fresh linux, and i want to install php 5.3 , mysql , memcached , and I want them to be installed automatically by running a code or software. Is there any tool?

share|improve this question

marked as duplicate by bahamat, cjm, jasonwryan, rozcietrzewiacz, Renan Aug 27 '12 at 15:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

There are many packages managers for linux.. What do you mean fresh linux? linux from scratch? If not than you probably already have installed package manager like Synaptic, Ubuntu software center, ...

share|improve this answer
    
Fresh linux, I mean a new linux machine. And I have to install 20packages, Normally I type in yum install php etc but I want a tool that I run it, and it automatically installs the packages which I list it in file or through console –  meWantToLearn Aug 27 '12 at 6:56
    
You mean a single command like yum install php5.3 mysql memcached? –  bahamat Aug 27 '12 at 7:14
1  
If you want yum to install packages which names are listed in a file or read from STDIN you can use xargs. If the packages are listed in a file the command looks like cat file_with_package-names | xargs yum or if you want to read the package names from STDIN which is very error-prone you must invoke cat | xargs yum –  user1146332 Aug 27 '12 at 9:47
add comment

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