Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04, Ubuntu-22.04, Debian buster, Debian bullseye and others derivatives without nodejs >=18 #368

Open
pieroproietti opened this issue Jun 15, 2024 · 2 comments

Comments

@pieroproietti
Copy link
Owner

pieroproietti commented Jun 15, 2024

Debian buster / bullseye, Ubuntu 20.04 / 22.04

Changing from version 9.7.x to 10.0.x I'm using a new way to package penguins-eggs: nodejs is not more included on the package like before, but rely on it's presence in available repos.

This is configured on the penguins-eggs package, who actually ask for : nodejs (>= 18) on it's DEBIAN/control file.

Unfortunately, distros on this note and derivatives, have nodejs >=18 available on the their original repository.

So, before to try to install penguins-eggs-10.0.x we need to add nodejs repos from nodesource for nodejs 18 or better.

sudo apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh

At this point, we are ready to install penguins-eggs on our system.

sudo dpkg -i penguins-eggs-10.0.5-1_amd64.deb
sudo apt install -f

This procedure can be applied to: Ubuntu focal 20.04, Ubuntu jammy 22.04, Debian 10 Buster, Debian 11 Bullseye and derivatives, (see here).

Already tested on linuxmint 21.3 virginia and xubuntu 22.04, now I'm preparing the actual KDE neon.

You can confirm from others derivatives.

@pieroproietti
Copy link
Owner Author

pieroproietti commented Jun 15, 2024

UBUNTU 18.04 bionic, Debian stretch and derivatives

If you are using Ubuntu 18.04 bionic, or derivatives, I have good news too!

It's not possible to install nodejs 18 on Ubuntu 18.04, but it's possible to use the same procedure to install nodejs 16.

sudo apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh

Then, I just release a new package, with dependencies nodejs >=16, so:

sudo dpkg -i penguins-eggs-10.0.5-bionic-1_amd64.deb
sudo apt install -f

Ubuntu bionic is like Bruce Williams: Die Hard!

@pieroproietti pieroproietti changed the title Ubuntu-22.04 and others with node12 Jun 15, 2024
@pieroproietti pieroproietti changed the title Ubuntu-22.04 and others derivatives without nodejs >=18 Jun 15, 2024
@pieroproietti
Copy link
Owner Author

pieroproietti commented Jun 19, 2024

Note about remastering Ubuntu 18.04

I was able to remaster ubuntu-18.04.6-desktop-amd64.iso and ubuntu-18.04.6-live-server-amd64.iso.

On both there is a problem: after the installation we don't get more /lib/live/boot and it's contents. We need to restore before to create new eggs, without our ISOs will not boot! To restore, just: sudo apt update && sudo apt install live-boot.

After installed, for same reason, we don't have /etc/resolv.conf, I use to rewrite it for my demos.

Strange enought, we get differents kernels on desktop and server, on desktop the kernel is in 5.x series, on serve is 4.x kernels.

I know there is something like pro to extend support, but this is out of my possibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant