0

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?

1
  • 3
    They do have .deb packages and also a tgz pack. Just download these instead of the rpm? Commented Jul 31, 2017 at 12:55

2 Answers 2

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
  • 2
    The worst that can happen, is that alien breaks some package dependencies and leaves the system in a messed up state... Commented Jul 31, 2017 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. Commented Jul 31, 2017 at 13:21

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.