Installing RPM in Alpine

4 posts / 0 new
Last post
#1 Fri, 2018-03-16 07:59
atheequeahmed
  • atheequeahmed's picture
  • Offline
  • Last seen: 2 weeks 2 days ago
  • Joined: 2018-03-16

We are using Alpine in current project. RPM command not found in Alpine. We downloaded RPM package from http://rpm.org/

We could not install in alpine, as there is no documentation available for "How to install RPM". Please guide us on installing RPM in Alpine.

Thanks

Fri, 2018-03-16 09:07
Head_on_a_Stick
  • Head_on_a_Stick's picture
  • Offline
  • Last seen: 1 week 1 day ago
  • Joined: 2016-05-01
Fri, 2018-03-16 11:27
atheequeahmed
  • atheequeahmed's picture
  • Offline
  • Last seen: 2 weeks 2 days ago
  • Joined: 2018-03-16

We have downloaded rpm-4.14.1 from https://pkgs.alpinelinux.org/package/edge/community/s390x/rpm

How do we install this package in Alpine linux.

Fri, 2018-03-16 20:32
Head_on_a_Stick
  • Head_on_a_Stick's picture
  • Offline
  • Last seen: 1 week 1 day ago
  • Joined: 2016-05-01

Install from the repositories with # apk add rpm or use the .apk file directly: # apk add rpm*.apk

But I think you're getting really confused here: RPM is not supposed to be used as Alpine Linux's package manager because Alpine has it's own package manager called `apk`.

The wiki can explain things better than me:

https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management

Log in or register to post comments