How To Install snap-confine on Ubuntu 20.04
Introduction
In this tutorial we learn how to install snap-confine
on Ubuntu 20.04.
What is snap-confine
snap-confine is:
This is a transitional dummy package. It can safely be removed.
Package: snap-confine Architecture: amd64 Version: 2.48.3+20.04 Priority: optional Section: universe/utils Source: snapd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 158 Depends: snapd (= 2.48.3+20.04) Filename: pool/universe/s/snapd/snap-confine_2.48.3+20.04_amd64.deb Size: 1784 MD5sum: 2cd38652910a04113550d8cf46d14d9c SHA1: f979f32db9c6a6cffb3ee768b33423b46b933d8a SHA256: 4a20cc98c53ccfe0103ae9f4305b49f2b21d08135451720d2439c1b055ff245b SHA512: 2f4f2cf659bad9690d6c54873a51bcdb60b7bef20515f4b3b461b5bfc28825c540999b81d777a084235c96d812e631e3e24e01f0f919e289ed45fa13eaa24677 Homepage: https://github.com/snapcore/snapd Description-en: Transitional package for snapd This is a transitional dummy package. It can safely be removed.
Package: snap-confine Architecture: amd64 Version: 2.44.3+20.04 Priority: optional Section: universe/utils Source: snapd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 134 Depends: snapd (= 2.44.3+20.04) Filename: pool/universe/s/snapd/snap-confine_2.44.3+20.04_amd64.deb Size: 1792 MD5sum: fe10e9c915110561049d1c067eb58d6f SHA1: 9723d5f46eb2c6a4d0aaf9ed5355b87bc8ab9f4a SHA256: 8589b941bed9dc73405f46b7dacf0528504d906e66029899249442c6f9b88a10 Homepage: https://github.com/snapcore/snapd Description-en: Transitional package for snapd This is a transitional dummy package. It can safely be removed.
There are three methods to install snap-confine
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install snap-confine Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install snap-confine
using apt-get
by running the following command:
sudo apt-get -y install snap-confine
Install snap-confine Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install snap-confine
using apt
by running the following command:
sudo apt -y install snap-confine
Install snap-confine Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install snap-confine
using aptitude
by running the following command:
sudo aptitude -y install snap-confine
How To Uninstall snap-confine on Ubuntu 20.04
To uninstall only the snap-confine
package we can use the following command:
sudo apt-get remove snap-confine
Uninstall snap-confine And Its Dependencies
To uninstall snap-confine
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove snap-confine
Remove snap-confine Configurations and Data
To remove snap-confine
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge snap-confine
Remove snap-confine configuration, data, and all of its dependencies
We can use the following command to remove snap-confine
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge snap-confine
References
Summary
In this tutorial we learn how to install snap-confine
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.