How to install a .RPM file?
Removed before it was archived.
Edited 9 Jul 2020. We only hold this version.
About this post
- Posted
- Archived
- Deleted on
- Edited
- Score
- 0 · 20% up
- Kind
- Text
- ID
- hoavze
Removed before it was archived.
Edited 9 Jul 2020. We only hold this version.
15 comments
Is there a reason you're trying to install from an .rpm instead of from the repos?
Deleted before we saved it.
This is the oracle DB client, correct?
The Arch Wiki has some info about installing parts of it. Might see if that can help.
https://wiki.archlinux.org/index.php/Oracle_Database_client
https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html
Is its the files in this page, why don't you try the second (zip file) option following the instructions right beneath the link?
Also, here's a link that may or may not be of help https://wiki.archlinux.org/index.php/Oracle_Database
RPM (Red Hat Package Manager) files are usually only used when installing packages on a Linux distro based on Red Hat Linux (like centos). Even though you can extract and manually install the files found in an RPM it would likely not be designed for Arch and thus you'd likely find problems.
What is it that you're trying to install?
Arch uses pacman to handle installing packages and there might already be a package made for Arch that you can install with pacman.
So, Can I convert rpm file to any formats that can be installed on ArchLinux? It shows I should install that Oracle Database on Windows
The risk is that files inside the RPM would be configured assuming a RPM based distro, so could outright point to incorrect places, or not have dependencies or files needed by arch. When programs get packaged up they are usually cut down to be only what is needed for that specific distro.
Is there a .deb equivalent file available? You can uncompress a deb file and place each file in the corresponding folders, then run your app in a terminal and check for missing dependencies. Ive installed ubuntu-only software in arch like that. Maybe that helps.
How can I find missed dependencies?
Just run your program in the terminal. For example, I installed a program that came in a deb file. After uncompressing, I had 2 folders: opt and usr. I just copied the files in opt to my /opt folder and the things in usr to their respective counterparts in my actual /usr folder.
Then I ran the program in the terminal (make sure the actual executable file is in your PATH), and there was an error message like "blah blah blah, important-package not found". So I pacman -S that package and ran again. Then it worked. It can be tedious, since the terminal will tell you about missing stuff one at a time, but I got the app running, so it was worth it. I know it's not that practical but if it works...
I've also managed to run ubuntu stuff in arch by mounting an existing ubuntu partition then making a chroot to it. maybe that's another option. This also can be done from a virtualbox file, not necessaruly an actual partition. So maybe you can have a vm with an rpm based distro and chroot into it.
A couple of ideas here
https://bbs.archlinux.org/viewtopic.php?id=35288
Deleted before we saved it.
This sounds like a good use case for Docker?