How To Install perl-Inline.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Inline.noarch in Amazon Linux 2. perl-Inline.noarch is Write Perl subroutines in other programming languages

Introduction

In this tutorial we learn how to install perl-Inline.noarch on Amazon Linux 2.

What is perl-Inline.noarch

The Inline module allows you to put source code from other programming languages directly “inline” in a Perl script or module. The code is automatically compiled as needed, and then loaded for immediate access from Perl. Inline saves you from the hassle of having to write and compile your own glue code using facilities like XS or SWIG. Simply type the code where you want it and run your Perl as normal. All the hairy details are handled for you. The compilation and installation of your code chunks all happen transparently; all you will notice is the delay of compilation on the first run. The Inline code only gets compiled the first time you run it (or whenever it is modified) so you only take the performance hit once. Code that is Inlined into distributed modules (like on the CPAN) will get compiled when the module is installed, so the end user will never notice the compilation time.

We can use yum to install perl-Inline.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Inline.noarch.

Install perl-Inline.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Inline.noarch using yum by running the following command:

sudo yum -y install perl-Inline.noarch

How To Uninstall perl-Inline.noarch on Amazon Linux 2

To uninstall only the perl-Inline.noarch package we can use the following command:

sudo yum remove perl-Inline.noarch

perl-Inline.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Inline-0.53
/usr/share/doc/perl-Inline-0.53/Changes
/usr/share/doc/perl-Inline-0.53/README
/usr/share/man/man3/Inline-API.3pm.gz
/usr/share/man/man3/Inline-FAQ.3pm.gz
/usr/share/man/man3/Inline-Support.3pm.gz
/usr/share/man/man3/Inline.3pm.gz
/usr/share/man/man3/Inline::C-Cookbook.3pm.gz
/usr/share/man/man3/Inline::C.3pm.gz
/usr/share/man/man3/Inline::C::ParseRecDescent.3pm.gz
/usr/share/man/man3/Inline::C::ParseRegExp.3pm.gz
/usr/share/perl5/vendor_perl/Inline
/usr/share/perl5/vendor_perl/Inline-API.pod
/usr/share/perl5/vendor_perl/Inline-FAQ.pod
/usr/share/perl5/vendor_perl/Inline-Support.pod
/usr/share/perl5/vendor_perl/Inline.pm
/usr/share/perl5/vendor_perl/Inline.pod
/usr/share/perl5/vendor_perl/Inline/C
/usr/share/perl5/vendor_perl/Inline/C-Cookbook.pod
/usr/share/perl5/vendor_perl/Inline/C.pm
/usr/share/perl5/vendor_perl/Inline/C.pod
/usr/share/perl5/vendor_perl/Inline/C/ParseRecDescent.pm
/usr/share/perl5/vendor_perl/Inline/C/ParseRegExp.pm
/usr/share/perl5/vendor_perl/Inline/Foo.pm
/usr/share/perl5/vendor_perl/Inline/MakeMaker
/usr/share/perl5/vendor_perl/Inline/MakeMaker.pm
/usr/share/perl5/vendor_perl/Inline/MakeMaker/Changes
/usr/share/perl5/vendor_perl/Inline/denter.pm
/usr/share/perl5/vendor_perl/auto
/usr/share/perl5/vendor_perl/auto/Inline
/usr/share/perl5/vendor_perl/auto/Inline/M01_usage_use.al
/usr/share/perl5/vendor_perl/auto/Inline/M02_usage.al
/usr/share/perl5/vendor_perl/auto/Inline/M03_usage_bind.al
/usr/share/perl5/vendor_perl/auto/Inline/M04_error_nocode.al
/usr/share/perl5/vendor_perl/auto/Inline/M05_error_eval.al
/usr/share/perl5/vendor_perl/auto/Inline/M06_code_file_failed_open.al
/usr/share/perl5/vendor_perl/auto/Inline/M07_code_file_does_not_exist.al
/usr/share/perl5/vendor_perl/auto/Inline/M08_no_DATA_source_code.al
/usr/share/perl5/vendor_perl/auto/Inline/M09_marker_mismatch.al
/usr/share/perl5/vendor_perl/auto/Inline/M10_usage_WITH_USING.al
/usr/share/perl5/vendor_perl/auto/Inline/M11_usage_DIRECTORY.al
/usr/share/perl5/vendor_perl/auto/Inline/M12_usage_NAME.al
/usr/share/perl5/vendor_perl/auto/Inline/M13_usage_VERSION.al
/usr/share/perl5/vendor_perl/auto/Inline/M14_usage_Config.al
/usr/share/perl5/vendor_perl/auto/Inline/M15_usage_install_directory.al
/usr/share/perl5/vendor_perl/auto/Inline/M16_DIRECTORY_mkdir_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M17_config_open_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M18_error_old_version.al
/usr/share/perl5/vendor_perl/auto/Inline/M19_usage_language.al
/usr/share/perl5/vendor_perl/auto/Inline/M20_config_creation_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M21_opendir_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M22_usage_register.al
/usr/share/perl5/vendor_perl/auto/Inline/M23_usage_alias_used.al
/usr/share/perl5/vendor_perl/auto/Inline/M24_open_for_output_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M25_no_WITH_support.al
/usr/share/perl5/vendor_perl/auto/Inline/M26_error_version_without_name.al
/usr/share/perl5/vendor_perl/auto/Inline/M27_module_not_indexed.al
/usr/share/perl5/vendor_perl/auto/Inline/M28_error_grokking_path.al
/usr/share/perl5/vendor_perl/auto/Inline/M29_error_relative_path.al
/usr/share/perl5/vendor_perl/auto/Inline/M30_error_no_obj.al
/usr/share/perl5/vendor_perl/auto/Inline/M31_inline_open_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M32_error_md5_validation.al
/usr/share/perl5/vendor_perl/auto/Inline/M33_error_old_inline_version.al
/usr/share/perl5/vendor_perl/auto/Inline/M34_error_incorrect_version.al
/usr/share/perl5/vendor_perl/auto/Inline/M35_error_no_object_file.al
/usr/share/perl5/vendor_perl/auto/Inline/M36_usage_install_main.al
/usr/share/perl5/vendor_perl/auto/Inline/M37_usage_install_auto.al
/usr/share/perl5/vendor_perl/auto/Inline/M38_usage_install_name.al
/usr/share/perl5/vendor_perl/auto/Inline/M39_usage_install_version.al
/usr/share/perl5/vendor_perl/auto/Inline/M40_usage_install_badname.al
/usr/share/perl5/vendor_perl/auto/Inline/M41_usage_install_version_mismatch.al
/usr/share/perl5/vendor_perl/auto/Inline/M42_usage_loader.al
/usr/share/perl5/vendor_perl/auto/Inline/M43_error_bootstrap.al
/usr/share/perl5/vendor_perl/auto/Inline/M45_usage_with.al
/usr/share/perl5/vendor_perl/auto/Inline/M46_usage_with_bad.al
/usr/share/perl5/vendor_perl/auto/Inline/M47_invalid_config_option.al
/usr/share/perl5/vendor_perl/auto/Inline/M48_usage_shortcuts.al
/usr/share/perl5/vendor_perl/auto/Inline/M49_usage_unsafe.al
/usr/share/perl5/vendor_perl/auto/Inline/M51_unused_DATA.al
/usr/share/perl5/vendor_perl/auto/Inline/M52_invalid_filter.al
/usr/share/perl5/vendor_perl/auto/Inline/M53_mkdir_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M54_rmdir_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M55_unlink_failed.al
/usr/share/perl5/vendor_perl/auto/Inline/M56_no_DIRECTORY_found.al
/usr/share/perl5/vendor_perl/auto/Inline/M57_wrong_architecture.al
/usr/share/perl5/vendor_perl/auto/Inline/M58_site_install.al
/usr/share/perl5/vendor_perl/auto/Inline/M59_bad_inline_file.al
/usr/share/perl5/vendor_perl/auto/Inline/M60_no_inline_files.al
/usr/share/perl5/vendor_perl/auto/Inline/M61_not_parsed.al
/usr/share/perl5/vendor_perl/auto/Inline/M62_invalid_config_file.al
/usr/share/perl5/vendor_perl/auto/Inline/M63_no_source.al
/usr/share/perl5/vendor_perl/auto/Inline/M64_install_not_c.al
/usr/share/perl5/vendor_perl/auto/Inline/_mkdir.al
/usr/share/perl5/vendor_perl/auto/Inline/_rmtree.al
/usr/share/perl5/vendor_perl/auto/Inline/autosplit.ix
/usr/share/perl5/vendor_perl/auto/Inline/check_config_file.al
/usr/share/perl5/vendor_perl/auto/Inline/check_module.al
/usr/share/perl5/vendor_perl/auto/Inline/clean_build.al
/usr/share/perl5/vendor_perl/auto/Inline/create_config_file.al
/usr/share/perl5/vendor_perl/auto/Inline/denter
/usr/share/perl5/vendor_perl/auto/Inline/denter/M01_invalid_indent_width.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M02_no_key_end_marker.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M03_no_value_end_marker.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M04_mismatched_quotes.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M05_invalid_key_value.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M06_invalid_indent_level.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/M07_invalid_scalar_value.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/_print_ref.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/autosplit.ix
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_array.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_data.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_hash.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_name.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_ref.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_scalar.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_undef.al
/usr/share/perl5/vendor_perl/auto/Inline/denter/indent_value.al
/usr/share/perl5/vendor_perl/auto/Inline/env_untaint.al
/usr/share/perl5/vendor_perl/auto/Inline/filter.al
/usr/share/perl5/vendor_perl/auto/Inline/find_temp_dir.al
/usr/share/perl5/vendor_perl/auto/Inline/install.al
/usr/share/perl5/vendor_perl/auto/Inline/maker_utils.al
/usr/share/perl5/vendor_perl/auto/Inline/mkpath.al
/usr/share/perl5/vendor_perl/auto/Inline/obj_untaint.al
/usr/share/perl5/vendor_perl/auto/Inline/print_info.al
/usr/share/perl5/vendor_perl/auto/Inline/read_inline_file.al
/usr/share/perl5/vendor_perl/auto/Inline/receive_code.al
/usr/share/perl5/vendor_perl/auto/Inline/reportbug.al
/usr/share/perl5/vendor_perl/auto/Inline/rmpath.al
/usr/share/perl5/vendor_perl/auto/Inline/with_configs.al
/usr/share/perl5/vendor_perl/auto/Inline/write_inl_file.al

References

Summary

In this tutorial we learn how to install perl-Inline.noarch on Amazon Linux 2 using yum.