Developing and Distributing wxPerl Applications on Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
sudo apt install -y cpanminus | sudo apt install -y cpanminus | ||
=== Step 3: Install | === Step 3: Install Wx::Demo === | ||
Once `cpanm` is installed, install **Wx::Demo**: | Once `cpanm` is installed, install **Wx::Demo**: | ||
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