# Installation ```eval_rst .. toctree:: :glob: :maxdepth: 4 ``` ## Operating System OmniTrace is only supported on Linux. - Ubuntu 18.04 - Ubuntu 20.04 - OpenSUSE 15.2 - OpenSUSE 15.3 - Other OS distributions may be supported but are not tested ### Identifying the Operating System If you are unsure of the operating system and version, the `/etc/os-release` and `/usr/lib/os-release` files contain operating system identification data for Linux systems. ```shell $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ... VERSION_ID="20.04" ... ``` The relevent fields are `ID` and the `VERSION_ID`. ## Architecture With regards to instrumentation, at present only amd64 (x86_64) architectures are tested; however, Dyninst supports several more architectures and thus, omnitrace instrumentation may support other CPU architectures such as aarch64, ppc64, etc. Other modes of use, such as sampling and causal profiling, are not dependent on Dyninst and therefore may be more portable. ## Installing omnitrace from binary distributions Every omnitrace release provides binary installer scripts of the form: ```shell omnitrace-{VERSION}-{OS_DISTRIB}-{OS_VERSION}[-ROCm-{ROCM_VERSION}[-{EXTRA}]].sh ``` E.g.: ```shell omnitrace-1.0.0-ubuntu-18.04-OMPT-PAPI-Python3.sh omnitrace-1.0.0-ubuntu-18.04-ROCm-405000-OMPT-PAPI-Python3.sh ... omnitrace-1.0.0-ubuntu-20.04-ROCm-50000-OMPT-PAPI-Python3.sh ``` Any of the EXTRA fields with a cmake build option (e.g. PAPI, see below) or no link requirements (e.g. OMPT) have self-contained support for these packages. ### Download the appropriate binary distribution ```shell wget https://github.com/AMDResearch/omnitrace/releases/download/v/