Installing rocJPEG with the package installer

Installing rocJPEG with the package installer#

Note

ROCm 6.3.0 or later must be installed before installing rocJPEG. See Quick start installation guide for detailed ROCm installation instructions.

There are three rocJPEG packages available:

  • rocjpeg: The rocJPEG runtime package. This is the basic rocJPEG package.

  • rocjpeg-dev: The rocJPEG development package. This package installs a full suite of libraries, header files, and samples for contributing to the rocJPEG code base.

  • rocjpeg-test: A test package that provides a CTest to verify the installation.

Developers who want to contribute to the rocJPEG code base must install both rocjpeg-dev and rocjpeg-test in addition to rocjpeg.

All the required prerequisites are installed when the package installation method is used.

Basic installation#

Use the following commands to install only the rocJPEG runtime package:

sudo apt install rocjpeg
sudo yum install rocjpeg
sudo zypper install rocjpeg

Developer installation#

All three rocJPEG packages, rocjpeg, rocjpeg-dev, and rocjpeg-test must be installed to develop for rocJPEG.

Use the following commands to install rocjpeg, rocjpeg-dev, and rocjpeg-test:

sudo apt install rocjpeg rocjpeg-dev rocjpeg-test
sudo yum install rocjpeg rocjpeg-devel rocjpeg-test
sudo zypper install rocjpeg rocjpeg-devel rocjpeg-test