How To Install rakudo on Fedora 34

rakudo is Perl 6 compiler implementation that runs on MoarVM

Introduction

In this tutorial we learn how to install rakudo on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install rakudo.

Install rakudo on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove rakudo

rakudo Package Contents on Fedora 34

/usr/bin/perl6
/usr/bin/perl6-m
/usr/bin/raku
/usr/bin/raku-debug
/usr/bin/rakudo
/usr/bin/rakudo-debug
/usr/bin/rakudo-debug-m
/usr/bin/rakudo-gdb-m
/usr/bin/rakudo-lldb-m
/usr/bin/rakudo-m
/usr/bin/rakudo-valgrind-m
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/ee9aa1ba644539287b4b4904dfb7b4bd2c6cf0
/usr/lib/.build-id/30
/usr/lib/.build-id/30/9c646d950b8be9868ee94236a0c3b0643f4584
/usr/lib/.build-id/36
/usr/lib/.build-id/36/75fca42129215b8ea4cd7d4f1f9abe2141acdf
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/d8509505a1fbc80c46fb8435eb98da1e09941f
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/cfff2e4bfab49bfa9f7e15560a427b530061b7
/usr/lib/rpm/macros.d/macros.perl6
/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
/usr/share/perl6
/usr/share/perl6/bin
/usr/share/perl6/bin/mod_inst.pl
/usr/share/perl6/core
/usr/share/perl6/core/bin
/usr/share/perl6/core/dist
/usr/share/perl6/core/dist/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/precomp
/usr/share/perl6/core/precomp/.lock
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/09
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/09/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/09/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/10
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/10/10E86A71646D649AE0856ACE1737E1FFACC669D6
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/10/10E86A71646D649AE0856ACE1737E1FFACC669D6.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/1C
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/1C/1C08282E0E9C9AD04D60AE924EF6A2DD50636161
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/1C/1C08282E0E9C9AD04D60AE924EF6A2DD50636161.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/2D
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/2D/2D4A7CA10695CD2B374573413D261A660E282E2A
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/2D/2D4A7CA10695CD2B374573413D261A660E282E2A.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/50
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/50/50080754BA481DEC619CEB2A3439D233AA3FB264
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/50/50080754BA481DEC619CEB2A3439D233AA3FB264.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/64
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/64/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/64/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/70
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/70/70EBDA25F44EBFF8734F739F5779D64914083409
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/70/70EBDA25F44EBFF8734F739F5779D64914083409.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/86
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/86/8660F65A7B3492675BB3B2058DB30E411A4C4E54
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/86/8660F65A7B3492675BB3B2058DB30E411A4C4E54.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/94
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/94/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/94/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/B9
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/B9/B907C3D79B0C46CD90969C6854540B32202541FE
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/B9/B907C3D79B0C46CD90969C6854540B32202541FE.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/D4
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/D4/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/D4/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/DD
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/DD/DD6202A4D369F12EC0DFC94D32293844F97E99E6
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/DD/DD6202A4D369F12EC0DFC94D32293844F97E99E6.repo-id
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/E5
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/E5/E564ED492C22010CEF050F4409FDD7853321823B
/usr/share/perl6/core/precomp/D334AB0B75B15D5AB4016B8BFCE760249ED47F04/E5/E564ED492C22010CEF050F4409FDD7853321823B.repo-id
/usr/share/perl6/core/repo.lock
/usr/share/perl6/core/resources
/usr/share/perl6/core/short
/usr/share/perl6/core/short/0D7FDBBC72083980348BED148BF46BD198D51DE8
/usr/share/perl6/core/short/0D7FDBBC72083980348BED148BF46BD198D51DE8/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/2216470A6AACB2EDEC4887E9EADEC834847AFC5D
/usr/share/perl6/core/short/2216470A6AACB2EDEC4887E9EADEC834847AFC5D/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/33A52796DB3EBB40BEF94B7696A1B0AB7A29B5C5
/usr/share/perl6/core/short/33A52796DB3EBB40BEF94B7696A1B0AB7A29B5C5/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/4572C95D8CF876588C349264F7E943A1F258045B
/usr/share/perl6/core/short/4572C95D8CF876588C349264F7E943A1F258045B/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/5C64D4D594EFA6C5343DC4B7A7F5FE423DAB3B23
/usr/share/perl6/core/short/5C64D4D594EFA6C5343DC4B7A7F5FE423DAB3B23/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/640AB2BAE07BEDC4C163F679A746F7AB7FB5D1FA
/usr/share/perl6/core/short/640AB2BAE07BEDC4C163F679A746F7AB7FB5D1FA/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/6B7A1AECF02807F30DDAD99C02C34440CA036AF6
/usr/share/perl6/core/short/6B7A1AECF02807F30DDAD99C02C34440CA036AF6/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/6D917C2DF32BB3F8FB6B5F8E529BB779C3DCA6F7
/usr/share/perl6/core/short/6D917C2DF32BB3F8FB6B5F8E529BB779C3DCA6F7/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/6DD4FE806EB6AA488B589ABD5DAAA57F324F6077
/usr/share/perl6/core/short/6DD4FE806EB6AA488B589ABD5DAAA57F324F6077/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/9938EA7FBD24E15BFC1DBC1C0C05E6334D5A27CF
/usr/share/perl6/core/short/9938EA7FBD24E15BFC1DBC1C0C05E6334D5A27CF/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/A7BEDED1F1E6D7B79807BF5661696F687C21E51F
/usr/share/perl6/core/short/A7BEDED1F1E6D7B79807BF5661696F687C21E51F/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/B1B49A477F5975E36B2CEB81543FA9C3CAB302CA
/usr/share/perl6/core/short/B1B49A477F5975E36B2CEB81543FA9C3CAB302CA/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/B879776A8AE66092E34488CFD4956F8700BDB9DD
/usr/share/perl6/core/short/B879776A8AE66092E34488CFD4956F8700BDB9DD/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/short/F6FD7A4346B3BB0E3124991926D729836808DA54
/usr/share/perl6/core/short/F6FD7A4346B3BB0E3124991926D729836808DA54/E14CAA5C7DE5B1A1BAC1ED1155377A9AF4962C18
/usr/share/perl6/core/sources
/usr/share/perl6/core/sources/09AD0895983003F8BD0D4FB6C3B0212C822A7FE8
/usr/share/perl6/core/sources/10E86A71646D649AE0856ACE1737E1FFACC669D6
/usr/share/perl6/core/sources/1C08282E0E9C9AD04D60AE924EF6A2DD50636161
/usr/share/perl6/core/sources/2D4A7CA10695CD2B374573413D261A660E282E2A
/usr/share/perl6/core/sources/50080754BA481DEC619CEB2A3439D233AA3FB264
/usr/share/perl6/core/sources/640513B7D1E5E2EDE6D794F332FBDA16ED5D608C
/usr/share/perl6/core/sources/70EBDA25F44EBFF8734F739F5779D64914083409
/usr/share/perl6/core/sources/8660F65A7B3492675BB3B2058DB30E411A4C4E54
/usr/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B
/usr/share/perl6/core/sources/B907C3D79B0C46CD90969C6854540B32202541FE
/usr/share/perl6/core/sources/D47B7F04B51CBB19CDF1E266B32AF87ACAE3A08B
/usr/share/perl6/core/sources/DD6202A4D369F12EC0DFC94D32293844F97E99E6
/usr/share/perl6/core/sources/E564ED492C22010CEF050F4409FDD7853321823B
/usr/share/perl6/core/version
/usr/share/perl6/lib
/usr/share/perl6/lib/Perl6
/usr/share/perl6/lib/Perl6/Actions.moarvm
/usr/share/perl6/lib/Perl6/BOOTSTRAP
/usr/share/perl6/lib/Perl6/BOOTSTRAP/v6c.moarvm
/usr/share/perl6/lib/Perl6/BOOTSTRAP/v6d.moarvm
/usr/share/perl6/lib/Perl6/BOOTSTRAP/v6e.moarvm
/usr/share/perl6/lib/Perl6/Compiler.moarvm
/usr/share/perl6/lib/Perl6/Grammar.moarvm
/usr/share/perl6/lib/Perl6/Metamodel.moarvm
/usr/share/perl6/lib/Perl6/ModuleLoader.moarvm
/usr/share/perl6/lib/Perl6/Ops.moarvm
/usr/share/perl6/lib/Perl6/Optimizer.moarvm
/usr/share/perl6/lib/Perl6/Pod.moarvm
/usr/share/perl6/lib/Perl6/World.moarvm
/usr/share/perl6/runtime
/usr/share/perl6/runtime/CORE.c.setting.moarvm
/usr/share/perl6/runtime/CORE.d.setting.moarvm
/usr/share/perl6/runtime/CORE.e.setting.moarvm
/usr/share/perl6/runtime/RESTRICTED.setting.moarvm
/usr/share/perl6/runtime/dynext
/usr/share/perl6/runtime/dynext/libperl6_ops_moar.so
/usr/share/perl6/runtime/perl6-debug.moarvm
/usr/share/perl6/runtime/perl6.moarvm
/usr/share/perl6/runtime/rakudo-debug.moarvm
/usr/share/perl6/runtime/rakudo.moarvm
/usr/share/perl6/site
/usr/share/perl6/site/bin
/usr/share/perl6/site/dist
/usr/share/perl6/site/precomp
/usr/share/perl6/site/resources
/usr/share/perl6/site/short
/usr/share/perl6/site/sources
/usr/share/perl6/site/version
/usr/share/perl6/vendor
/usr/share/perl6/vendor/bin
/usr/share/perl6/vendor/dist
/usr/share/perl6/vendor/precomp
/usr/share/perl6/vendor/resources
/usr/share/perl6/vendor/short
/usr/share/perl6/vendor/sources
/usr/share/perl6/vendor/version

References

Summary

In this tutorial we learn how to install rakudo on Fedora 34 using yum and dnf.