Skip to content

[DEVEL] Mojo 9

Francesc Guasch edited this page May 17, 2021 · 2 revisions

Keep both versions

You will need the latest stable mojolicious package. With these commands you will download it.

$ mkdir ~/mojo
$ cd ~/mojo/
$ apt download libmojolicious-perl

Create the package for Mojo 9

The Mojolicious 9 package is not available, you have to create it using dh-make-perl. You have to install it first because you probable don't have it.

It will ask to configure it automatically, say yes

$ cd ~/mojo
$ sudo apt install dh-make-perl
$ dh-make-perl --build --cpan Mojolicious
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes]

Now you have both packages available in your ~/mojo directory.

Install

Package names may be different in your environment, check the filenames with the deb extension in your mojo folder:

$ cd ~/mojo
$ ls *deb
  libmojolicious-perl_8.33+dfsg-1_all.deb
  libmojolicious-perl_9.17-1_all.deb

Install release 8

Install it typing:

sudo apt install libmojolicious-perl_8.33+dfsg-1_all.deb

Install release 9

Run this to install the latest mojo:

sudo dpkg -i libmojolicious-perl_9.17-1_all.deb

What release do I have now ?

If you loose track of the package you have installed you can check it with:

dpkg -l libmojolicious-perl

Clone this wiki locally