How to install Perl Switch.pm module required to build WebKit-GTK?

Sameer Naik

I noticed that the perl version (5.14) shipped with 12.10 does not include the Switch.pm module needed while building WebKiT-GTK.

Looking around on the internet I found few suggestions indicating that I should install something call p5-switch from ports. I have looked around and was not able to get this done. I am not a perl guy and have no idea where i can get this package.

Can someone please help me as to

  1. Where to download the package for ubuntu 12.10
  2. In case it is not a .deb, How do i install it.
Kevin Bowen

If you want to install the Switch.pm Perl module into your system Perl config, there are two methods of installing it:

  1. Install it through the Ubuntu repositories.

  2. Install the .pm through CPAN.

At this time, both will provide the current version of this module(2.16).

Installing Switch.pm using the Ubuntu repositories:

  • From the command-line, the installation can be completed by running the following command from the terminal (Ctrl-Alt-t):

    sudo apt-get install libswitch-perl

    • Within Synaptic, right-click on the libswitch-perl package, select Mark for installation, then click on the Apply button.

    • Within the Ubuntu Software Center (USC), search for the phrase libswitch-perl, highlight the package and select install:

Installing Switch.pm using CPAN: If you would prefer to install this via cpan, follow these instructions:

  1. Open a terminal(Ctrl-Alt-t).

  2. Enter the command cpan.

  3. At the prompt cpan[1]>, type install Switch.

  4. Once completed, Type exit.

The Switch.pm Perl module will now be available for you to use in your scripts.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to install .pm to run the perl script

From Dev

Install gtk, webkit and jswebkit with python

From Dev

How to install perl module and include in Perl script?

From Dev

Invalid version format (version required) at Module/Runtime.pm when executing a perl script that uses Elasticsearch.pm

From Dev

Whitespace with perl Switch module

From Dev

how to install Spreadsheet::WriteExcel module for Active perl?

From Dev

How to install the PHP/Serialization module in Perl?

From Dev

How to build webkit on Linux

From Dev

Install Perl module with dependencies

From Dev

Unable to locate DBI.pm module in Perl

From Dev

Perl threads - calling subroutine from module (pm)

From Dev

Perl threads - calling subroutine from module (pm)

From Dev

How to enable chameleonic background using GTK webkit?

From Dev

How to enable chameleonic background using GTK webkit?

From Dev

How to install the perl module DBD::Sybase on Unix (Mac OSX)?

From Dev

How to install the perl module DBD::Sybase on Unix (Mac OSX)?

From Dev

How to install YAML::PP perl module by resolving this error?

From Dev

Perl Module install error CPAN

From Dev

Perl Module install error CPAN

From Dev

perl sdl module install fail

From Dev

How do I build and install a Puppet module locally from source?

From Dev

How do I fix "'module' object has no attribute 'required_version'" for "gi.require_version('Gtk', '3.0')"?

From Dev

How can I load a Python flask app into a gtk webview (Webkit)

From Dev

How to get "WebKit for GTK+3 1.3.7" headers for ubuntu?

From Dev

how do I overlay an image on webview using python Gtk and webkit

From Dev

How can I load a Python flask app into a gtk webview (Webkit)

From Dev

How to get "WebKit for GTK+3 1.3.7" headers for ubuntu?

From Dev

How to show a graph in a Perl Gtk GUI?

From Dev

Error while trying to install nodejs pm2 module

Related Related

  1. 1

    How to install .pm to run the perl script

  2. 2

    Install gtk, webkit and jswebkit with python

  3. 3

    How to install perl module and include in Perl script?

  4. 4

    Invalid version format (version required) at Module/Runtime.pm when executing a perl script that uses Elasticsearch.pm

  5. 5

    Whitespace with perl Switch module

  6. 6

    how to install Spreadsheet::WriteExcel module for Active perl?

  7. 7

    How to install the PHP/Serialization module in Perl?

  8. 8

    How to build webkit on Linux

  9. 9

    Install Perl module with dependencies

  10. 10

    Unable to locate DBI.pm module in Perl

  11. 11

    Perl threads - calling subroutine from module (pm)

  12. 12

    Perl threads - calling subroutine from module (pm)

  13. 13

    How to enable chameleonic background using GTK webkit?

  14. 14

    How to enable chameleonic background using GTK webkit?

  15. 15

    How to install the perl module DBD::Sybase on Unix (Mac OSX)?

  16. 16

    How to install the perl module DBD::Sybase on Unix (Mac OSX)?

  17. 17

    How to install YAML::PP perl module by resolving this error?

  18. 18

    Perl Module install error CPAN

  19. 19

    Perl Module install error CPAN

  20. 20

    perl sdl module install fail

  21. 21

    How do I build and install a Puppet module locally from source?

  22. 22

    How do I fix "'module' object has no attribute 'required_version'" for "gi.require_version('Gtk', '3.0')"?

  23. 23

    How can I load a Python flask app into a gtk webview (Webkit)

  24. 24

    How to get "WebKit for GTK+3 1.3.7" headers for ubuntu?

  25. 25

    how do I overlay an image on webview using python Gtk and webkit

  26. 26

    How can I load a Python flask app into a gtk webview (Webkit)

  27. 27

    How to get "WebKit for GTK+3 1.3.7" headers for ubuntu?

  28. 28

    How to show a graph in a Perl Gtk GUI?

  29. 29

    Error while trying to install nodejs pm2 module

HotTag

Archive