Skip to content

How to install a .RPM file?

Removed before it was archived.

Edited 9 Jul 2020. We only hold this version.

0 points12 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Edited
Score
0 · 20% up
Kind
Text
ID
hoavze

15 comments

Is there a reason you're trying to install from an .rpm instead of from the repos?

3 points
unknown author4 hidden

Deleted before we saved it.

-1 points

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.

3 points

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

1 points

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.

3 points

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.

1 points

How can I find missed dependencies?

1 points

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.

1 points

This sounds like a good use case for Docker?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.