Example for adding a repository with zypper:

`zypper addrepo --refresh nfs://192.168.0.1/nfs/sles11sp1/dvd1SLES11SP1DVD1`

Example for removing a repository:

`zypper removerepo nfs://192.168.0.1/nfs/sles11sp1/dvd1`

On Mon, May 10, 2010 at 8:49 AM, 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)
> 2) Could I also be using "yum" instead of "zypper" so that I could use the
> same tool that RHEL uses?
>
> 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

Reply via email to