How To Install snap-confine on CentOS 7
Introduction
In this tutorial we learn how to install snap-confine
on CentOS 7.
What is snap-confine
This package is used internally by snapd to apply confinement to the started snap applications.
We can use yum
or dnf
to install snap-confine
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install snap-confine.
Install snap-confine on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install snap-confine
using yum
by running the following command:
Install snap-confine on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install snap-confine
using dnf
by running the following command:
How To Uninstall snap-confine on CentOS 7
To uninstall only the snap-confine
package we can use the following command:
References
Summary
In this tutorial we learn how to install snap-confine
on CentOS 7 using yum
and dnf
.