How To Install libgnustep-base1.25 on Ubuntu 18.04

In this tutorial we learn how to install libgnustep-base1.25 on Ubuntu 18.04. libgnustep-base1.25 is GNUstep Base library

Introduction

In this tutorial we learn how to install libgnustep-base1.25 on Ubuntu 18.04.

What is libgnustep-base1.25

libgnustep-base1.25 is:

The GNUstep Base Library is a powerful fast library of general-purpose, non-graphical Objective C classes, inspired by the OpenStep API but implementing Apple and GNU additions to the API as well. It includes for example classes for unicode strings, arrays, dictionaries, sets, byte streams, typed coders, invocations, notifications, notification dispatchers, scanners, tasks, files, networking, threading, remote object messaging support (distributed objects), event loops, loadable bundles, attributed unicode strings, xml, mime, user defaults.

There are three methods to install libgnustep-base1.25 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 libgnustep-base1.25 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libgnustep-base1.25 using apt-get by running the following command:

sudo apt-get -y install libgnustep-base1.25

Install libgnustep-base1.25 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgnustep-base1.25 using apt by running the following command:

sudo apt -y install libgnustep-base1.25

Install libgnustep-base1.25 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 libgnustep-base1.25 using aptitude by running the following command:

sudo aptitude -y install libgnustep-base1.25

How To Uninstall libgnustep-base1.25 on Ubuntu 18.04

To uninstall only the libgnustep-base1.25 package we can use the following command:

sudo apt-get remove libgnustep-base1.25

Uninstall libgnustep-base1.25 And Its Dependencies

To uninstall libgnustep-base1.25 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgnustep-base1.25

Remove libgnustep-base1.25 Configurations and Data

To remove libgnustep-base1.25 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgnustep-base1.25

Remove libgnustep-base1.25 configuration, data, and all of its dependencies

We can use the following command to remove libgnustep-base1.25 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgnustep-base1.25

References

Summary

In this tutorial we learn how to install libgnustep-base1.25 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.