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 difference)

Revision as of 13:43, 24 February 2025

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 install additional Perl modules easily. Install it using:

sudo apt install -y cpanminus

Step 3: Install wx::Demo

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

cpanm Wx::Demo

Step 4: Run the wxPerl Demo

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

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

See Also

Let me know if you need further assistance! 🚀