www.centos.org Forum Index CentOS Social Easy (!!) way to add a new Respository?? Searching comfortable solution
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Easy (!!) way to add a new Respository?? Searching comfortable solution | #1 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2008/11/26
From
Posts: 76
|
Whenever users want to add a new repository they must know the exacty location, version, and 32bit/64bit indicator.
To add e.g. the RPMforge repo for a 64bit CentOS v6 one has to enter: rpm -Uhv http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm This is unhandy because the user has always to check for the appropriate version 0.5.2 and other repo pattern parts. Is there really no global comfortable RPMforge ID URL which must simply be called and then all remaining stuff is negotiated between the local System and the remote Repo? I am thinking about a command like rpm installrepo http://packages.sw.be/entrysetup After entering a protocol is processed and afterwards everything is installed: The newest catalog for the current system 32bit/64bit. Even better I would like to download one file with the most used 50 Repositories URLs. Then users just have to enter: rpm installrepo RPMforge That (!) would be really easy. Am I dreaming? Peter |
||
Posted on: 2011/12/23 16:34
|
|||
|
Re: Easy (!!) way to add a new Respository?? Searching comfortable solution | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Seems possible to write such a function or yum plugin, but it would require somebody to maintain the database of repos. SL has repo configs built in for some standard repos:
Thus one could just do "yum install rpmforge-release". Nothing release-specific here, so moving this thread to Social. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2011/12/23 23:25
|
|||
|
Re: Easy (!!) way to add a new Respository?? Searching comfortable solution | #4 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/1/16
From
Posts: 5
|
Yea a small script or a small GUI app could be made to check for the correct versions. The dev would have to update it frequently I would think.
It's a nice idea though. |
||
Posted on: 2012/1/16 17:48
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
pstein





You cannot start a new topic.
You can view topic.