Results 1 to 5 of 5

Thread: Can I relocate .rpm file w/o breaking the program?

  1. #1

    Default Can I relocate .rpm file w/o breaking the program?

    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!

  2. #2
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    323

    Default Re: Can I relocate .rpm file w/o breaking the program?

    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.
    Opensuse 15.2 with VirtualBox VM's (XP, 10 & OpenSUSE 15.0)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11 in "B" , Interdata 7/32 in "C") (AT&T, Tandy, Convergent, IBM, NCR, HP flavors)
    Linux since 1995 (mandrake, redhat, fedora, centos, now OpenSUSE)

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    2,384

    Default Re: Can I relocate .rpm file w/o breaking the program?

    /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.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 15.1, TW, 15.2 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&15.1 on i965P/Radeon
    Tertiary: TW,15.2,15.1,Fedora,Debian,more on Kaby Lake,iQ45,iQ43,iG41,iG3X,i965G,AMD,NVidia&&&

  4. #4

    Default Re: Can I relocate .rpm file w/o breaking the program?

    Thanks for the education! I'll delete the .rpm file.

    Odd that it placed itself where it did.

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    2,384

    Default Re: Can I relocate .rpm file w/o breaking the program?

    Quote Originally Posted by LacunaBlue View Post
    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?
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 15.1, TW, 15.2 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&15.1 on i965P/Radeon
    Tertiary: TW,15.2,15.1,Fedora,Debian,more on Kaby Lake,iQ45,iQ43,iG41,iG3X,i965G,AMD,NVidia&&&

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •