How To Install spice-server-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install spice-server-devel.x86_64 in Amazon Linux 2. spice-server-devel.x86_64 is Header files, libraries and development documentation for

Introduction

In this tutorial we learn how to install spice-server-devel.x86_64 on Amazon Linux 2.

What is spice-server-devel.x86_64

This package contains the header files, static libraries and development documentation for spice-server. If you like to develop programs using spice-server, you will need to install spice-server-devel.

We can use yum to install spice-server-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install spice-server-devel.x86_64.

Install spice-server-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install spice-server-devel.x86_64 using yum by running the following command:

sudo yum -y install spice-server-devel.x86_64

How To Uninstall spice-server-devel.x86_64 on Amazon Linux 2

To uninstall only the spice-server-devel.x86_64 package we can use the following command:

sudo yum remove spice-server-devel.x86_64

spice-server-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/spice-server
/usr/include/spice-server/spice-audio.h
/usr/include/spice-server/spice-char.h
/usr/include/spice-server/spice-core.h
/usr/include/spice-server/spice-experimental.h
/usr/include/spice-server/spice-input.h
/usr/include/spice-server/spice-migration.h
/usr/include/spice-server/spice-qxl.h
/usr/include/spice-server/spice-replay.h
/usr/include/spice-server/spice-server.h
/usr/include/spice-server/spice-version.h
/usr/include/spice-server/spice.h
/usr/lib64/libspice-server.so
/usr/lib64/pkgconfig/spice-server.pc

References

Summary

In this tutorial we learn how to install spice-server-devel.x86_64 on Amazon Linux 2 using yum.