How To Install gnu-smalltalk on CentOS 7

In this tutorial we learn how to install gnu-smalltalk on CentOS 7. gnu-smalltalk is GNU Smalltalk

Introduction

In this tutorial we learn how to install gnu-smalltalk on CentOS 7.

What is gnu-smalltalk

GNU Smalltalk is an implementation that closely follows the Smalltalk-80 language as described in the book `Smalltalk-80 Language and its Implementation’ by Adele Goldberg and David Robson. The Smalltalk programming language is an object oriented programming language. Unlike other Smalltalks (including Smalltalk-80), GNU Smalltalk emphasizes Smalltalk’s rapid prototyping features rather than the graphical and easy-to-use nature of the programming environment. Therefore, even though we have a nice GUI environment including a class browser, the goal of the GNU Smalltalk project is currently to produce a complete system to be used to write your scripts in a clear, aesthetically pleasing, and philosophically appealing programming language.

We can use yum or dnf to install gnu-smalltalk on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gnu-smalltalk.

Install gnu-smalltalk on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gnu-smalltalk using yum by running the following command:

sudo yum -y install gnu-smalltalk

Install gnu-smalltalk 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.

sudo dnf makecache

After updating yum database, We can install gnu-smalltalk using dnf by running the following command:

sudo dnf -y install gnu-smalltalk

How To Uninstall gnu-smalltalk on CentOS 7

To uninstall only the gnu-smalltalk package we can use the following command:

sudo dnf remove gnu-smalltalk

References

Summary

In this tutorial we learn how to install gnu-smalltalk on CentOS 7 using yum and dnf.