1

The program I'm interested in is COMPHEP. I have ubuntu and it wants redhat. If I try and download and run it anyway is there a risk that I will damage my system some how?

  • 3
    They do have .deb packages and also a tgz pack. Just download these instead of the rpm? – Ziazis Jul 31 '17 at 12:55
3

You should find a source tarball for COMPHEP and you could compile that (perhaps asking help on the COMPHEP forum).

In practice, if you download a binary, it won't break your system if you try running it. However, it could crash, and you'll better run it first in some terminal to notice that.

In theory, a malicious developer could make some executable which detects the distribution and do bad things on your system. Since you are a theoretician, read about the halting problem (perhaps also Gödel, Escher, Bach) then about trusted computing bases and ken thompson's compiler hack. So when you download some program, you need some trust (more a social issue than a technical one in practice).

2

Ubuntu are based on Debian, so it uses Debian packages, so the .DEB package will run better than .RPM.

But if you really want to use the red hat version (RPM), just download the rpm and convert it using alien. I think the worst that can happen to you, is that the program will just not run.

If it is a production server dont install any packages DEB, RPM, tar.gz without testing them first in a identical test computer.

  • 2
    The worst that can happen, is that alien breaks some package dependencies and leaves the system in a messed up state... – dr01 Jul 31 '17 at 13:18
  • 1
    You are describing a situation that can occur with a .deb file too, specially if downloaded from a site. In most of the cases you can just uninstall the deb package.... If not, just remove or manually fix the postremove and preremove scripts of the package. – Luciano Andress Martini Jul 31 '17 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.