How to download rpm packages manually (without yum)?
up vote
0
down vote
favorite
I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.
Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.
centos yum rpm
New contributor
add a comment |
up vote
0
down vote
favorite
I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.
Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.
centos yum rpm
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.
Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.
centos yum rpm
New contributor
I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.
Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.
centos yum rpm
centos yum rpm
New contributor
New contributor
edited Dec 3 at 13:51
New contributor
asked Dec 3 at 13:30
trxrg
62
62
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Concerning your dependencies issues you an use yum deplist [package]
. That will return you a list for the package you listed in the commandline.
You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.
If you use CentOS you probably use EPEL repo (confirm with yum repolist
). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.
If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf
and look for the line baseurl. You might find something like :
baseurl=http://custom.repo.example.com/pub/7/$basearch
In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).
Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.
If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm"
and cross fingers that it returns something interesting.
You could copy it from there and transfer it to your Windows machine, using any way you'd like.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Concerning your dependencies issues you an use yum deplist [package]
. That will return you a list for the package you listed in the commandline.
You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.
If you use CentOS you probably use EPEL repo (confirm with yum repolist
). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.
If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf
and look for the line baseurl. You might find something like :
baseurl=http://custom.repo.example.com/pub/7/$basearch
In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).
Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.
If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm"
and cross fingers that it returns something interesting.
You could copy it from there and transfer it to your Windows machine, using any way you'd like.
add a comment |
up vote
0
down vote
Concerning your dependencies issues you an use yum deplist [package]
. That will return you a list for the package you listed in the commandline.
You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.
If you use CentOS you probably use EPEL repo (confirm with yum repolist
). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.
If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf
and look for the line baseurl. You might find something like :
baseurl=http://custom.repo.example.com/pub/7/$basearch
In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).
Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.
If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm"
and cross fingers that it returns something interesting.
You could copy it from there and transfer it to your Windows machine, using any way you'd like.
add a comment |
up vote
0
down vote
up vote
0
down vote
Concerning your dependencies issues you an use yum deplist [package]
. That will return you a list for the package you listed in the commandline.
You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.
If you use CentOS you probably use EPEL repo (confirm with yum repolist
). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.
If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf
and look for the line baseurl. You might find something like :
baseurl=http://custom.repo.example.com/pub/7/$basearch
In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).
Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.
If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm"
and cross fingers that it returns something interesting.
You could copy it from there and transfer it to your Windows machine, using any way you'd like.
Concerning your dependencies issues you an use yum deplist [package]
. That will return you a list for the package you listed in the commandline.
You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.
If you use CentOS you probably use EPEL repo (confirm with yum repolist
). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.
If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf
and look for the line baseurl. You might find something like :
baseurl=http://custom.repo.example.com/pub/7/$basearch
In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).
Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.
If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm"
and cross fingers that it returns something interesting.
You could copy it from there and transfer it to your Windows machine, using any way you'd like.
answered Dec 3 at 14:35
Pierre-Alain TORET
31617
31617
add a comment |
add a comment |
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485688%2fhow-to-download-rpm-packages-manually-without-yum%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown