Requesting help about how to add software repositories to yum in suse linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Requesting help about how to add software repositories to yum in suse linux
Sir,
I have installed opensuse X86-64 12.2 on AMD-FX 4100 machine. I have downloaded all the software repositories related to opensuse and stored in a text file. I know how to add one software repository( url ) to yum at a time. I have collected approximately 750 urls which is not possible to add one url at a time. I am submitting the collected file for your review.
Sir can you please specify a procedure to add all the repositories( url's ) to yum contained in my collected file.
I have installed opensuse X86-64 12.2 on AMD-FX 4100 machine. I have downloaded all the software repositories related to opensuse and stored in a text file. I know how to add one software repository( url ) to yum at a time. I have collected approximately 750 urls which is not possible to add one url at a time. I am submitting the collected file for your review.
Sir can you please specify a procedure to add all the repositories( url's ) to yum contained in my collected file.
There are not just "sirs" on this site.
You CAN install yum on openSUSE, but what's the point?? Zypper does the same thing, and is pretty much the 'standard' on openSUSE. Secondly, why would you EVER add that many repositories (and based on the list, most are going to conflict with others), to your system?? You're mixing official repositories with non-official ones, and stable with unstable.
This is very similar to other threads you posted about Debian, and you never really explained what you were trying to do, or why.
you have misunderstood me.I am not going to install all the packages listed in these 750 repositories. I just want to download and install the required selected packages later.
Sir Kindly provide solution to add repositories to yum and to only download packages not installation of these packages.
As I am new to opensuse can you please suggest a method to only download the packages from online repositories using zypper. And also suggest a method to add repositories bulkly to zypper.
As I am new to opensuse can you please suggest a method to only download the packages from online repositories using zypper. And also suggest a method to add repositories bulkly to zypper.
You should definitely read some guides and man pages. Check http://en.opensuse.org/SDB:Zypper_usage to learn the basic usage and specifically to add repositories from the command line. You will need a loop to read the urls from your file and add them one at a time. To download the packages you may check the --download-only option in
Code:
man zypper
Anyway, as TB0ne already pointed out, is it a good idea to add all these repositories??? Even if you want to download the packages and install them later, the problem persists. Packages coming from so many different repositories may cause instability. Moreover, in my experience, some of the listed repositories are not up-to-date and maybe they require an older version of some packages to satisfy dependencies.
I am not going to install all the packages listed in these 750 repositories. I just want to download and install the required selected packages later.
Do you really need 750 repositories?????
I would think that you could install everything but the kitchen sink on Suse with far fewer repos.
See this tutorial on How To Forge where they install a boatload of software with just a few extra repositories: http://www.howtoforge.com/the-perfec...-gnome-desktop
Why do you have such a burning need for so many software sources????
Sir,
you have misunderstood me.I am not going to install all the packages listed in these 750 repositories. I just want to download and install the required selected packages later.
Sir Kindly provide solution to add repositories to yum and to only download packages not installation of these packages.
AGAIN, there are not just 'sirs' on this site. And no, we didn't misunderstand you...but you're not listening to the advice given to you. Adding all those repositories is a VERY BAD IDEA, and will serve NO USEFUL PURPOSE. The repositories will conflict with each other, so even getting them to UPDATE will be almost impossible, much less function. The repository files are kept in /etc/zypp/repos.d....look at one of the files in there already, and you can easily write a script to import that list and create those new files, if you really want to.
But when you're done, you will be left with a system that will not update, because the various repositories will STILL CONFLICT WITH EACH OTHER. And you've been asked several times in your Debian thread (which is similar to this one), as to WHY YOU WANT TO DO THIS, but haven't answered. Without knowing your goal, we can't help you.
Quote:
Originally Posted by rupeshforu
As I am new to opensuse can you please suggest a method to only download the packages from online repositories using zypper. And also suggest a method to add repositories bulkly to zypper.
Yes, you read the man page on the zypper command, which will tell you how to do it. And again, this is NOT going to work, because of the repositories you want to add.
How about you try using zypper to install the packages you need FIRST, and THEN add a repo here or there as needed when the standard ones don't have a package you need? What you're planning on doing will break your system. I've been using OpenSUSE for years, and I've only ever added 4 repos to the standard list: VLC, google-chrome, nVidia, and Packman. If you think you need more than this (especially this many more), then you really need to take another look at what you're trying to do and why.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.