Developing and Distributing wxPerl Applications on Linux: Difference between revisions

From Perl Guilds - Getting Medieval with Perl
Jump to navigation Jump to search
Created page with "== Install wxPerl on Debian and Run wx::Demo == This guide explains how to install **wxPerl** on **Debian** using the package available in the APT repository, install `Wx::Demo`, and run the demo. === Step 1: Update and Install wxPerl === Open a terminal and run the following command: sudo apt update sudo apt install -y libwx-perl This installs **wxPerl** and all necessary dependencies. === Step 2: Install cpanminus (cpanm) === `cpanm` (CPAN Minus) is required to..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
  sudo apt install -y cpanminus
  sudo apt install -y cpanminus


=== Step 3: Install wx::Demo ===
=== Step 3: Install Wx::Demo ===
Once `cpanm` is installed, install **Wx::Demo**:
Once `cpanm` is installed, install **Wx::Demo**:


Line 40: Line 40:
* [https://metacpan.org/pod/Wx Wx on MetaCPAN]
* [https://metacpan.org/pod/Wx Wx on MetaCPAN]
* [https://www.wxperl.it wxPerl Official Website]
* [https://www.wxperl.it wxPerl Official Website]
Let me know if you need further assistance! 🚀

Latest revision as of 13:44, 24 February 2025

Install wxPerl on Debian and Run wx::Demo

[edit | edit source]

This guide explains how to install **wxPerl** on **Debian** using the package available in the APT repository, install `Wx::Demo`, and run the demo.

Step 1: Update and Install wxPerl

[edit | edit source]

Open a terminal and run the following command:

sudo apt update
sudo apt install -y libwx-perl

This installs **wxPerl** and all necessary dependencies.

Step 2: Install cpanminus (cpanm)

[edit | edit source]

`cpanm` (CPAN Minus) is required to install additional Perl modules easily. Install it using:

sudo apt install -y cpanminus

Step 3: Install Wx::Demo

[edit | edit source]

Once `cpanm` is installed, install **Wx::Demo**:

cpanm Wx::Demo

Step 4: Run the wxPerl Demo

[edit | edit source]

After installation, you can run the wxPerl Demo by executing:

wxperl_demo.pl

If the command is not found, try running:

perl `which wxperl_demo.pl`

Or specify the full path:

/usr/local/bin/wxperl_demo.pl

Verification

[edit | edit source]

If the installation was successful, a **wxPerl Demo** window should open.

See Also