How To Install golang-github-tideland-golib-dev on Ubuntu 18.04

In this tutorial we learn how to install golang-github-tideland-golib-dev on Ubuntu 18.04. golang-github-tideland-golib-dev is collection of misc Go packages

Introduction

In this tutorial we learn how to install golang-github-tideland-golib-dev on Ubuntu 18.04.

What is golang-github-tideland-golib-dev

golang-github-tideland-golib-dev is:

The Tideland Go Library contains a set of useful Google Go packages for different purposes. They include:

  • Audit: Support for unit tests with multiple different assertion types and functions to generate test data.
  • Cache: Lazy loading and caching of values.
  • Collections: Different additional collection types like ring buffer, stack, tree, and more.
  • Errors: Detailed error values.
  • Etc: Reading and parsing of SML-formatted configurations including substitution of templates.
  • Feed (Atom): Atom feed client.
  • Feed (RSS): RSS feed client.
  • Identifier: Identifier generation, like UUIDs or composed values.
  • Logger: Flexible logging.
  • Loop: Control of goroutines and their possible errors. Additional option of recovering in case of an error or a panic. Sentinels can monitor multiple loops and restart them all in case of an abnormal end of one of them.
  • Map/Reduce: Map/Reduce for data analysis.
  • Monitoring: Monitoring of execution times, stay-set indicators, and configurable system variables.
  • Numerics: Different functions for statistical analysis.
  • Redis Client: Client for the Redis database.
  • Scene: Context-based shared data access, e.g. for web sessions or in cells.
  • Scroller: Continuous filtered reading/writing of data.
  • SML: Simple Markup Language, looking lispy, only with curly braces.
  • Sort: Parallel Quicksort.
  • Stringex: Helpful functions around strings extending the original strings package.
  • Timex: Helpful functions around dates and times.
  • Version: Documentation of semantic versions.

There are three methods to install golang-github-tideland-golib-dev on Ubuntu 18.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 golang-github-tideland-golib-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-github-tideland-golib-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-tideland-golib-dev

Install golang-github-tideland-golib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-tideland-golib-dev using apt by running the following command:

sudo apt -y install golang-github-tideland-golib-dev

Install golang-github-tideland-golib-dev 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 golang-github-tideland-golib-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-tideland-golib-dev

How To Uninstall golang-github-tideland-golib-dev on Ubuntu 18.04

To uninstall only the golang-github-tideland-golib-dev package we can use the following command:

sudo apt-get remove golang-github-tideland-golib-dev

Uninstall golang-github-tideland-golib-dev And Its Dependencies

To uninstall golang-github-tideland-golib-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove golang-github-tideland-golib-dev

Remove golang-github-tideland-golib-dev Configurations and Data

To remove golang-github-tideland-golib-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge golang-github-tideland-golib-dev

Remove golang-github-tideland-golib-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-tideland-golib-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-tideland-golib-dev

References

Summary

In this tutorial we learn how to install golang-github-tideland-golib-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.