Hello,
Recently installed Atom for coding study purposes and it plopped its .rpm file in /Home/User right in front of the bin folder. Lame.
This brings up a few questions:
- Can a .rpm file be relocated without breaking the program?
- This might be (probably is) dumb… but the .rpm file icon looks like a .zip icon, so my instinct is that I can just move it to Downloads without harming functionality ← **True **or False?
- How does a .rpm file / zypper install decide the install location?
I’m a bit leery of trial and error as I don’t want to break anything this late in the evening. I can uninstall/re-install to a selected directory next time if that’s the solution. Was planning on using the commands listed here to select an install directory, unless there is a better way?
Thanks!
rpm is a delivery format for a program - you can delete it after you install it or move it - it is a basically an enhanced tar file.
tar files have the path to where it goes in the file.
rpm = Redhat Package Manager. A take on the old NCR package add / package remove format.
/Home/ is not a standard location. One wouldn’t expect it to exist, much less house a User directory.
Rpm files do not get “installed” or run. Their content gets installed by the package management system (rpm/zypper/YaST) according to instructions within them. Where these instructions specify rarely if ever include any user’s home directory.
An rpm file somewhere in a user’s home tree can be moved anywhere the user pleases without breaking anything, subject to space availability.
Thanks for the education! I’ll delete the .rpm file.
Odd that it placed itself where it did.
Not really. The download location is often suggested by the site it is downloaded from. Whether the suggested location is used depends on what app is used to download it, and how that app is configured. Often apps are configured by default to automatically choose ~/Downloads/.
What was it downloaded with, and how is its download behavior configured?