How To Install rakudo on CentOS 8

rakudo is Perl 6 compiler implementation that runs on MoarVM

Introduction

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

What is rakudo

Rakudo Perl 6, or just Rakudo, is an implementation of the Perl 6 language specification. More information about Perl 6 is available from <http MoarVM virtual machine.

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

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

sudo dnf -y install rakudo

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

sudo yum -y install rakudo

How To Uninstall rakudo on CentOS 8

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

sudo dnf remove rakudo

rakudo Package Contents on CentOS 8

/usr/bin/perl6
/usr/bin/perl6-debug
/usr/bin/perl6-debug-m
/usr/bin/perl6-gdb-m
/usr/bin/perl6-lldb-m
/usr/bin/perl6-m
/usr/bin/perl6-valgrind-m
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/8960947b39b52682f26b3fa54ab7d06b4f1d8f
/usr/lib/.build-id/67
/usr/lib/.build-id/67/e65b210adb1c2622a3f29182085da4edf022d8
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/e6af8f458c859b594582db87d23fcf5ea0b8bf
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/09d300c1f97dc79e945f9e26d33989c46fc398
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/be5ef209369a78fd5d7635ec7de50a6e10e5a0
/usr/lib/rpm/macros.d/macros.perl6
/usr/lib64/perl6
/usr/lib64/perl6/bin
/usr/lib64/perl6/bin/mod_inst.pl
/usr/lib64/perl6/core
/usr/lib64/perl6/core/bin
/usr/lib64/perl6/core/dist
/usr/lib64/perl6/core/dist/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/precomp
/usr/lib64/perl6/core/precomp/.lock
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/09
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/09/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/09/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/1C
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/1C/1C08282E0E9C9AD04D60AE924EF6A2DD50636161
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/1C/1C08282E0E9C9AD04D60AE924EF6A2DD50636161.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/2D
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/2D/2D4A7CA10695CD2B374573413D261A660E282E2A
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/2D/2D4A7CA10695CD2B374573413D261A660E282E2A.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/50
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/50/50080754BA481DEC619CEB2A3439D233AA3FB264
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/50/50080754BA481DEC619CEB2A3439D233AA3FB264.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/64
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/64/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/64/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/70
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/70/70EBDA25F44EBFF8734F739F5779D64914083409
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/70/70EBDA25F44EBFF8734F739F5779D64914083409.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/86
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/86/8660F65A7B3492675BB3B2058DB30E411A4C4E54
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/86/8660F65A7B3492675BB3B2058DB30E411A4C4E54.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/94
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/94/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/94/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/B9
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/B9/B907C3D79B0C46CD90969C6854540B32202541FE
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/B9/B907C3D79B0C46CD90969C6854540B32202541FE.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/D4
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/D4/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/D4/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/DD
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/DD/DD6202A4D369F12EC0DFC94D32293844F97E99E6
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/DD/DD6202A4D369F12EC0DFC94D32293844F97E99E6.repo-id
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/E5
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/E5/E564ED492C22010CEF050F4409FDD7853321823B
/usr/lib64/perl6/core/precomp/045D00477395383BD8B1805CF823D5A5B479B2C2/E5/E564ED492C22010CEF050F4409FDD7853321823B.repo-id
/usr/lib64/perl6/core/repo.lock
/usr/lib64/perl6/core/resources
/usr/lib64/perl6/core/short
/usr/lib64/perl6/core/short/0D7FDBBC72083980348BED148BF46BD198D51DE8
/usr/lib64/perl6/core/short/0D7FDBBC72083980348BED148BF46BD198D51DE8/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/2216470A6AACB2EDEC4887E9EADEC834847AFC5D
/usr/lib64/perl6/core/short/2216470A6AACB2EDEC4887E9EADEC834847AFC5D/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/33A52796DB3EBB40BEF94B7696A1B0AB7A29B5C5
/usr/lib64/perl6/core/short/33A52796DB3EBB40BEF94B7696A1B0AB7A29B5C5/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/4572C95D8CF876588C349264F7E943A1F258045B
/usr/lib64/perl6/core/short/4572C95D8CF876588C349264F7E943A1F258045B/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/5C64D4D594EFA6C5343DC4B7A7F5FE423DAB3B23
/usr/lib64/perl6/core/short/5C64D4D594EFA6C5343DC4B7A7F5FE423DAB3B23/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/640AB2BAE07BEDC4C163F679A746F7AB7FB5D1FA
/usr/lib64/perl6/core/short/640AB2BAE07BEDC4C163F679A746F7AB7FB5D1FA/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/6B7A1AECF02807F30DDAD99C02C34440CA036AF6
/usr/lib64/perl6/core/short/6B7A1AECF02807F30DDAD99C02C34440CA036AF6/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/6D917C2DF32BB3F8FB6B5F8E529BB779C3DCA6F7
/usr/lib64/perl6/core/short/6D917C2DF32BB3F8FB6B5F8E529BB779C3DCA6F7/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/6DD4FE806EB6AA488B589ABD5DAAA57F324F6077
/usr/lib64/perl6/core/short/6DD4FE806EB6AA488B589ABD5DAAA57F324F6077/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/A7BEDED1F1E6D7B79807BF5661696F687C21E51F
/usr/lib64/perl6/core/short/A7BEDED1F1E6D7B79807BF5661696F687C21E51F/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/B1B49A477F5975E36B2CEB81543FA9C3CAB302CA
/usr/lib64/perl6/core/short/B1B49A477F5975E36B2CEB81543FA9C3CAB302CA/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/B879776A8AE66092E34488CFD4956F8700BDB9DD
/usr/lib64/perl6/core/short/B879776A8AE66092E34488CFD4956F8700BDB9DD/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/short/F6FD7A4346B3BB0E3124991926D729836808DA54
/usr/lib64/perl6/core/short/F6FD7A4346B3BB0E3124991926D729836808DA54/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/lib64/perl6/core/sources
/usr/lib64/perl6/core/sources/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8
/usr/lib64/perl6/core/sources/1C08282E0E9C9AD04D60AE924EF6A2DD50636161
/usr/lib64/perl6/core/sources/2D4A7CA10695CD2B374573413D261A660E282E2A
/usr/lib64/perl6/core/sources/50080754BA481DEC619CEB2A3439D233AA3FB264
/usr/lib64/perl6/core/sources/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C
/usr/lib64/perl6/core/sources/70EBDA25F44EBFF8734F739F5779D64914083409
/usr/lib64/perl6/core/sources/8660F65A7B3492675BB3B2058DB30E411A4C4E54
/usr/lib64/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B
/usr/lib64/perl6/core/sources/B907C3D79B0C46CD90969C6854540B32202541FE
/usr/lib64/perl6/core/sources/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B
/usr/lib64/perl6/core/sources/DD6202A4D369F12EC0DFC94D32293844F97E99E6
/usr/lib64/perl6/core/sources/E564ED492C22010CEF050F4409FDD7853321823B
/usr/lib64/perl6/core/version
/usr/lib64/perl6/lib
/usr/lib64/perl6/lib/Perl6
/usr/lib64/perl6/lib/Perl6/Actions.moarvm
/usr/lib64/perl6/lib/Perl6/BOOTSTRAP.moarvm
/usr/lib64/perl6/lib/Perl6/Compiler.moarvm
/usr/lib64/perl6/lib/Perl6/Grammar.moarvm
/usr/lib64/perl6/lib/Perl6/Metamodel.moarvm
/usr/lib64/perl6/lib/Perl6/ModuleLoader.moarvm
/usr/lib64/perl6/lib/Perl6/Ops.moarvm
/usr/lib64/perl6/lib/Perl6/Optimizer.moarvm
/usr/lib64/perl6/lib/Perl6/Pod.moarvm
/usr/lib64/perl6/lib/Perl6/World.moarvm
/usr/lib64/perl6/runtime
/usr/lib64/perl6/runtime/CORE.d.setting.moarvm
/usr/lib64/perl6/runtime/CORE.e.setting.moarvm
/usr/lib64/perl6/runtime/CORE.setting.moarvm
/usr/lib64/perl6/runtime/RESTRICTED.setting.moarvm
/usr/lib64/perl6/runtime/dynext
/usr/lib64/perl6/runtime/dynext/libperl6_ops_moar.so
/usr/lib64/perl6/runtime/perl6-debug.moarvm
/usr/lib64/perl6/runtime/perl6.moarvm
/usr/lib64/perl6/site
/usr/lib64/perl6/site/bin
/usr/lib64/perl6/site/dist
/usr/lib64/perl6/site/precomp
/usr/lib64/perl6/site/resources
/usr/lib64/perl6/site/short
/usr/lib64/perl6/site/sources
/usr/lib64/perl6/site/version
/usr/lib64/perl6/vendor
/usr/lib64/perl6/vendor/bin
/usr/lib64/perl6/vendor/dist
/usr/lib64/perl6/vendor/precomp
/usr/lib64/perl6/vendor/resources
/usr/lib64/perl6/vendor/short
/usr/lib64/perl6/vendor/sources
/usr/lib64/perl6/vendor/version
/usr/share/applications/2015-perl6-course-pdf.desktop
/usr/share/applications/intro_link.desktop
/usr/share/applications/intro_pdf.desktop
/usr/share/applications/perl6_doc_link.desktop
/usr/share/applications/usr_bin_perl6.desktop
/usr/share/doc/rakudo
/usr/share/doc/rakudo/2015-spw-perl6-course.pdf
/usr/share/doc/rakudo/CREDITS
/usr/share/doc/rakudo/ChangeLog
/usr/share/doc/rakudo/README.md
/usr/share/doc/rakudo/cheatsheet.txt
/usr/share/doc/rakudo/module_management.md
/usr/share/doc/rakudo/perl6intro.pdf
/usr/share/icons/hicolor/16x16/apps/browser_world.png
/usr/share/icons/hicolor/16x16/apps/pdf_doc.png
/usr/share/licenses/rakudo
/usr/share/licenses/rakudo/LICENSE
/usr/share/man/man1/perl6-m.1.gz
/usr/share/man/man1/perl6.1.gz

References

Summary

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