>>> On 5/10/2010 at 06:49 AM, in message <of6b7b2169.846ac176-on8525771f.004547b2-8525771f.00467...@us.ibm.com>, Michael MacIsaac <[email protected]> wrote: > Hi list, > > I haven't used "repos", zypper, yum, etc. too much so please bear with me > if these are basic questions. > > I'm trying to install a software package onto a SLES 11 virtual machine. > One option is a tar file, but this software also has a "repository" > compatible with yum and zypper on the Internet. So it would be simple to > do a "zypper install <package>". > > However, that package wants to pull in other RPMs that I believe are > included with SLES 11. Because I have not added the base SLES 11 as a > repository, zypper cannot find them. So I'd like to do the Add Repository > command "zypper ar <SLES11>". But the SLES ISOs don't seem to have a > prebuilt repository. So I'd like to do a "createrepo <SLES11>". But I > can't seem to find createrepo in SLES 11. > > So, two questions: > 1) How do I create a repo for SLES 11? (it would be nice if I could just > create it on the NFS server and export that to all Linuxes)
There is a --type option for addrepo which supports multiple install repos. zypper will try to determine the repo type automatically. You could specify yast2 for the install repo format that is on the SLES11 install media. The easiest way to do add a SLES11 install repo is to use YAST | Software | Software Repositories | Add but it sounds like you want do this via command line. > 2) Could I also be using "yum" instead of "zypper" so that I could use the > same tool that RHEL uses? Two problems that I see. 1) Yum is not part of the SLES11 install media. 2) You would have to build a yum repo of the SLES11 install media. Mike Friesenegger > > Thanks. > > "Mike MacIsaac" <[email protected]> (845) 433-7061 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
