RHEL 7 Repository Question
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?
rhel repository
add a comment |Â
up vote
0
down vote
favorite
I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?
rhel repository
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?
rhel repository
I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?
rhel repository
edited Nov 28 '17 at 20:44
Jeff Schaller
32.1k849109
32.1k849109
asked Nov 28 '17 at 20:25
Randy Teer
61
61
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
Using createrepo
against a directory will update its repo metadata or create it if none exists.
createrepo some/directory
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
add a comment |Â
up vote
2
down vote
The tool that's often used for this job is createrepo
.
See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Using createrepo
against a directory will update its repo metadata or create it if none exists.
createrepo some/directory
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
add a comment |Â
up vote
3
down vote
Using createrepo
against a directory will update its repo metadata or create it if none exists.
createrepo some/directory
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Using createrepo
against a directory will update its repo metadata or create it if none exists.
createrepo some/directory
Using createrepo
against a directory will update its repo metadata or create it if none exists.
createrepo some/directory
answered Nov 28 '17 at 20:35
Ignacio Vazquez-Abrams
32.1k66780
32.1k66780
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
add a comment |Â
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
You run this after copying the rpms into the repo directory, yes?
â docwebhead
Nov 28 '17 at 20:40
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
@docwebhead: Correct.
â Ignacio Vazquez-Abrams
Nov 28 '17 at 20:42
add a comment |Â
up vote
2
down vote
The tool that's often used for this job is createrepo
.
See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository
add a comment |Â
up vote
2
down vote
The tool that's often used for this job is createrepo
.
See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository
add a comment |Â
up vote
2
down vote
up vote
2
down vote
The tool that's often used for this job is createrepo
.
See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository
The tool that's often used for this job is createrepo
.
See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository
answered Nov 28 '17 at 20:37
Tomáà ¡ PospÃà ¡ek
542110
542110
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407580%2frhel-7-repository-question%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password