[erlang-questions] What is the best way to test rpm installed Erlang? (smoke test)

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri May 29 17:10:21 CEST 2015


On Fri, May 29, 2015 at 4:42 PM, Bing Li wrote:

> I am wondering what is the best way to test rpm installed Erlang?

1. figure out which erlang (if there's more than one installed) you're using
result: path_to_erlang_binary

2. rpm -qf path_to_erlang_binary
result: rpm_package or error

If that binary does not match what you're using, either you've
configured to use another erlang install, or it wasn't installed as an
rpm package.

If you have more than one erlang install available, query the
rpm db for each.

I don't have access to an rpm based distro, so I didn't verify
rpm -qf works, but it did the last time I used it.



More information about the erlang-questions mailing list