How to download rpm packages manually (without yum)?

trxrg

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.

Pierre-Alain TORET

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

yum + how to remove single rpm without dependencies

From Dev

How to publish a rpm package to YUM

From Dev

How can I manually download packages for atom editor and install them (manually)?

From Dev

How to view a list of packages that were manually installed without their dependancies

From Dev

Download packages without installing

From Dev

Download all RPM packages from CentOS repo?

From Dev

how to install libhdf5-dev? (without yum, rpm nor apt-get)

From Dev

Manually download packages on other operating systems

From Dev

Manually download packages on other operating systems

From Dev

How to download 3rd party rpm packages with all the dependencies for offline installation?

From Dev

How are rpm transactions used in `yum update`?

From Dev

how to force yum remove in order to remove rpm

From Dev

yum + how to captured all rpm that was installed by yum update

From Dev

`rpm -qa` vs `yum list installed`: Why certain packages can be found with `rpm -qa` only?

From Dev

How to find manually installed packages?

From Dev

Install Apache and PHP on Centos without package manager (yum, rpm...)

From Dev

How do I add a yum repository, manually?

From Dev

How can I install LVM2 without using using apt-get, yum, rpm, etc.?

From Dev

How to read var/lib/rpm/Packages content

From Dev

how to do multiple search in installed RPM packages?

From Dev

How are RPM packages marked as "security" updates?

From Dev

How to topologically sort installed rpm packages?

From Dev

How to use setuptools to create rpm packages for linux

From Dev

How to list packages and their urls in yum repository?

From Dev

How do I downgrade packages easily with Yum?

From Dev

How to install OS packages using yum?

From Dev

How to manually download, compile and install the tiff5 library on ubuntu 16.04 without root permissions?

From Dev

Why won't rpm/yum pick up the required packages when I list it specifically?

From Dev

yum install package without updating other packages or fail...?

Related Related

  1. 1

    yum + how to remove single rpm without dependencies

  2. 2

    How to publish a rpm package to YUM

  3. 3

    How can I manually download packages for atom editor and install them (manually)?

  4. 4

    How to view a list of packages that were manually installed without their dependancies

  5. 5

    Download packages without installing

  6. 6

    Download all RPM packages from CentOS repo?

  7. 7

    how to install libhdf5-dev? (without yum, rpm nor apt-get)

  8. 8

    Manually download packages on other operating systems

  9. 9

    Manually download packages on other operating systems

  10. 10

    How to download 3rd party rpm packages with all the dependencies for offline installation?

  11. 11

    How are rpm transactions used in `yum update`?

  12. 12

    how to force yum remove in order to remove rpm

  13. 13

    yum + how to captured all rpm that was installed by yum update

  14. 14

    `rpm -qa` vs `yum list installed`: Why certain packages can be found with `rpm -qa` only?

  15. 15

    How to find manually installed packages?

  16. 16

    Install Apache and PHP on Centos without package manager (yum, rpm...)

  17. 17

    How do I add a yum repository, manually?

  18. 18

    How can I install LVM2 without using using apt-get, yum, rpm, etc.?

  19. 19

    How to read var/lib/rpm/Packages content

  20. 20

    how to do multiple search in installed RPM packages?

  21. 21

    How are RPM packages marked as "security" updates?

  22. 22

    How to topologically sort installed rpm packages?

  23. 23

    How to use setuptools to create rpm packages for linux

  24. 24

    How to list packages and their urls in yum repository?

  25. 25

    How do I downgrade packages easily with Yum?

  26. 26

    How to install OS packages using yum?

  27. 27

    How to manually download, compile and install the tiff5 library on ubuntu 16.04 without root permissions?

  28. 28

    Why won't rpm/yum pick up the required packages when I list it specifically?

  29. 29

    yum install package without updating other packages or fail...?

HotTag

Archive