LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 01-04-2013, 11:23 AM   #1
rupeshforu
Member
 
Registered: Dec 2012
Posts: 97

Rep: Reputation: Disabled
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.

Regards,
Rupesh.
Attached Files
File Type: txt repositories.txt (58.2 KB, 12 views)
 
Old 01-04-2013, 11:39 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by rupeshforu View Post
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.
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.
 
Old 01-04-2013, 12:03 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
yes I agree with TB0ne, Just use zypper in OpenSuse, yum in fedora and apt-get in debian. You should be fine leaving them that way.
 
Old 01-05-2013, 01:11 AM   #4
rupeshforu
Member
 
Registered: Dec 2012
Posts: 97

Original Poster
Rep: Reputation: Disabled
illustrating what I want

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.

Regards,
Rupesh.
 
Old 01-05-2013, 02:59 AM   #5
rupeshforu
Member
 
Registered: Dec 2012
Posts: 97

Original Poster
Rep: Reputation: Disabled
Sir,

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.



Regards,
Rupesh.
 
Old 01-05-2013, 03:19 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by rupeshforu View Post
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.
 
1 members found this post helpful.
Old 01-05-2013, 04:17 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by rupeshforu View Post
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????

This is very similar to your Debian thread where you wanted to add "all the packages approximately 36000 from online repositories using apt-get download" http://www.linuxquestions.org/questi...an-4175442948/

You really don't need all of that stuff.
You can install anything you want on Debian or Suse with only a few of the non-free repos for those distros.
 
1 members found this post helpful.
Old 01-05-2013, 09:54 AM   #8
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by rupeshforu View Post
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.
 
Old 01-05-2013, 10:06 AM   #9
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,006

Rep: Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051
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.
 
2 members found this post helpful.
Old 01-05-2013, 11:14 AM   #10
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
You can manage the repositories in YaST. Here is how you switch to the Packman repository

for KDE you do it this way
http://dl.dropbox.com/u/10573557/Swi...man_switch.png

For Gnome you do it this way
http://dl.dropbox.com/u/10573557/Swi...in%20gnome.png

And here is a little video switching under the KDE desktop too
http://dl.dropbox.com/u/10573557/packman-switch.mpeg

Thanks to caf4926 for that nice how to. here is a link to the original post
http://forums.opensuse.org/content/1...uide-12-2.html

Good luck to you

Last edited by TroN-0074; 01-05-2013 at 11:16 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Requesting updates to Fedora Repositories twchambers Fedora 5 07-03-2011 11:40 AM
Software repositories in Suse 10.1 cvzyl Suse/Novell 20 08-13-2006 04:19 AM
How do you add more Yum repositories? Wheat_Thins Linux - Newbie 1 11-27-2005 01:54 PM
Are there repositories for SuSE 9 users to use with APT/YUM/URPMI ? dsfh24 Linux - Distributions 1 11-12-2003 09:08 PM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration