Installing RPM in Alpine
#1
Fri, 2018-03-16 07:59
atheequeahmed
-
- Offline
- 2 weeks 2 days ago
- 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
The package is available in the edge branch:
https://pkgs.alpinelinux.org/packages?name=rpm&branch=edge
See https://wiki.alpinelinux.org/wiki/Edge
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.
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