How To Install nickle on CentOS 8

nickle is A programming language-based prototyping environment

Introduction

In this tutorial we learn how to install nickle on CentOS 8.

What is nickle

Nickle is a programming language based prototyping environment with powerful programming and scripting capabilities. Nickle supports a variety of datatypes, especially arbitrary precision numbers. The programming language vaguely resembles C. Some things in C which do not translate easily are different, some design choices have been made differently, and a very few features are simply missing. Nickle provides the functionality of UNIX bc, dc and expr in much-improved form. It is also an ideal environment for prototyping complex algorithms. Nickle’s scripting capabilities make it a nice replacement for spreadsheets in some applications, and its numeric features nicely complement the limited numeric functionality of text-oriented languages such as AWK and PERL.

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

Install nickle on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install nickle

Install nickle on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install nickle using yum by running the following command:

sudo yum -y install nickle

How To Uninstall nickle on CentOS 8

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

sudo dnf remove nickle

nickle Package Contents on CentOS 8

/usr/bin/nickle
/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/696fde5d864655fb9bb61bdcfd0fa180e9e600
/usr/share/doc/nickle
/usr/share/doc/nickle/AUTHORS
/usr/share/doc/nickle/ChangeLog
/usr/share/doc/nickle/README
/usr/share/doc/nickle/README.name
/usr/share/doc/nickle/TODO
/usr/share/doc/nickle/examples
/usr/share/doc/nickle/examples/comb.5c
/usr/share/doc/nickle/examples/cribbage.5c
/usr/share/doc/nickle/examples/erat.5c
/usr/share/doc/nickle/examples/fourfours.5c
/usr/share/doc/nickle/examples/initializer.5c
/usr/share/doc/nickle/examples/is-prime.5c
/usr/share/doc/nickle/examples/kaiser.5c
/usr/share/doc/nickle/examples/menace2.5c
/usr/share/doc/nickle/examples/miller-rabin.5c
/usr/share/doc/nickle/examples/mutextest.5c
/usr/share/doc/nickle/examples/numbers.5c
/usr/share/doc/nickle/examples/polynomial.5c
/usr/share/doc/nickle/examples/prime.5c
/usr/share/doc/nickle/examples/qbrating.5c
/usr/share/doc/nickle/examples/randtest.5c
/usr/share/doc/nickle/examples/restart.5c
/usr/share/doc/nickle/examples/roman.5c
/usr/share/doc/nickle/examples/rsa-demo.5c
/usr/share/doc/nickle/examples/rsa.5c
/usr/share/doc/nickle/examples/skiplisttest.5c
/usr/share/doc/nickle/examples/smlng
/usr/share/doc/nickle/examples/smlng/COPYING
/usr/share/doc/nickle/examples/smlng/context.5c
/usr/share/doc/nickle/examples/smlng/data.sgml
/usr/share/doc/nickle/examples/smlng/generate.5c
/usr/share/doc/nickle/examples/smlng/parse.5c
/usr/share/doc/nickle/examples/smlng/test.5c
/usr/share/doc/nickle/examples/sudoku.5c
/usr/share/doc/nickle/examples/turtle
/usr/share/doc/nickle/examples/turtle/COPYING
/usr/share/doc/nickle/examples/turtle/snowflake.5c
/usr/share/doc/nickle/examples/turtle/snowflake.tex
/usr/share/doc/nickle/examples/turtle/turtle.5c
/usr/share/licenses/nickle
/usr/share/licenses/nickle/COPYING
/usr/share/man/man1/nickle.1.gz
/usr/share/nickle
/usr/share/nickle/abort.5c
/usr/share/nickle/arc4.5c
/usr/share/nickle/builtin.5c
/usr/share/nickle/command.5c
/usr/share/nickle/ctype.5c
/usr/share/nickle/factorial.5c
/usr/share/nickle/file.5c
/usr/share/nickle/gamma.5c
/usr/share/nickle/history.5c
/usr/share/nickle/json.5c
/usr/share/nickle/list.5c
/usr/share/nickle/math.5c
/usr/share/nickle/mutex.5c
/usr/share/nickle/parse-args.5c
/usr/share/nickle/prime_sieve.5c
/usr/share/nickle/printf.5c
/usr/share/nickle/prng.5c
/usr/share/nickle/process.5c
/usr/share/nickle/scanf.5c
/usr/share/nickle/skiplist.5c
/usr/share/nickle/socket.5c
/usr/share/nickle/sort.5c
/usr/share/nickle/string.5c
/usr/share/nickle/svg.5c
/usr/share/nickle/test
/usr/share/nickle/test/arraytest.5c
/usr/share/nickle/test/datetest.5c
/usr/share/nickle/test/factorial.5c
/usr/share/nickle/test/gcdtest.5c
/usr/share/nickle/test/hashtest.5c
/usr/share/nickle/test/inttest.5c
/usr/share/nickle/test/is_type.5c
/usr/share/nickle/test/jsontest.5c
/usr/share/nickle/test/math-tables.5c
/usr/share/nickle/test/math.5c
/usr/share/nickle/test/modtest.5c
/usr/share/nickle/test/optest.5c
/usr/share/nickle/test/orderofoptest.5c
/usr/share/nickle/test/rattest.5c
/usr/share/nickle/test/reftest.5c
/usr/share/nickle/test/round.5c
/usr/share/nickle/test/scanf.5c
/usr/share/nickle/test/signal.5c
/usr/share/nickle/test/string-file.5c

References

Summary

In this tutorial we learn how to install nickle on CentOS 8 using yum and dnf.