Installing/Uninstalling via .run [duplicate]

this question is more of the understanding of .run installation, when you download a file and use .run to install it, does it actually interact with Linux's package manager, or does it work just like a portable program, where once you delete the installation path, it's gone?

For example, if I download Qt Creator which has a .run file, and I install it in Documents/Qt, does that mean it's installed in that path and once I delete that folder it's gone from my system?


.run files are simply executable files that contain a program's installation instructions.

Package managers can't track where the program's files are installed, so it's not really possible to uninstall the program.

The only way you can uninstall a program that uses a .run installer is if it provides an uninstaller. This is why programs that use .run installers are not recommended...


It can interact with the package manager. It can do anything. They're just scripts. What they actually do depends on the people who write them. It is very possible that they build themselves a fake package to aid removal.

I have had some installers do this. I honestly can't remember which they were but they built themselves little meta-packages to aid removal.

These were system-installed though. I think it's very unlikely that a home-installed application is going to request to elevate to root permissions to do the same though.