Package: opensm

"opensm" package binaries on CentOS:

/usr/sbin/opensm /usr/sbin/osmtest

You may install this package on CentOS with yum install opensm

"opensm" package binaries on Debian:

/usr/sbin/opensm /usr/sbin/osmtest

You may install this package on Debian with apt-get install opensm