How To Install simplestreams on Ubuntu 20.04

In this tutorial we learn how to install simplestreams on Ubuntu 20.04. simplestreams is Library and tools for using Simple Streams data Library and tools for using Simple Streams data

Introduction

In this tutorial we learn how to install simplestreams on Ubuntu 20.04.

What is simplestreams

simplestreams is:

This package provides a client for interacting with simple streams data as is produced to describe Ubuntu’s cloud images.

Package: simplestreams Architecture: all Version: 0.1.0-30-g3cc8988a-0ubuntu1 Priority: extra Section: universe/python Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 36 Depends: python3-simplestreams, python3-yaml, python3:any Filename: pool/universe/s/simplestreams/simplestreams_0.1.0-30-g3cc8988a-0ubuntu1_all.deb Size: 6000 MD5sum: a2cfaf69ab36498a32b2a4a27394feaf SHA1: 61eeb2331bb4cd01a2cd1293375e82e4035a0528 SHA256: 46bcf4d707fc82294ac4306321024db80edf91b0c0a106d50f859a1646397fc7 Homepage: http://launchpad.net/simplestreams Description-en: Library and tools for using Simple Streams data This package provides a client for interacting with simple streams data as is produced to describe Ubuntu’s cloud images.

There are three methods to install simplestreams 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 simplestreams Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install simplestreams using apt-get by running the following command:

sudo apt-get -y install simplestreams

Install simplestreams Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install simplestreams using apt by running the following command:

sudo apt -y install simplestreams

Install simplestreams 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 simplestreams using aptitude by running the following command:

sudo aptitude -y install simplestreams

How To Uninstall simplestreams on Ubuntu 20.04

To uninstall only the simplestreams package we can use the following command:

sudo apt-get remove simplestreams

Uninstall simplestreams And Its Dependencies

To uninstall simplestreams and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove simplestreams

Remove simplestreams Configurations and Data

To remove simplestreams configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge simplestreams

Remove simplestreams configuration, data, and all of its dependencies

We can use the following command to remove simplestreams configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge simplestreams

References

Summary

In this tutorial we learn how to install simplestreams package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.