Skip to content

Node installation: update Ubuntu/Debian dependencies for cardano-node #1448

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

Conversation

ArturWieczorek
Copy link

Checklist

Updating documentation or Bugfix

Fix:

  • Replaced libncursesw5 with libncurses-dev - libncurses5 was removed in 24.04
  • Removed libtinfo-dev - libtinfo-dev is a transitional package that can safely be removed.

Additional Info

@ArturWieczorek ArturWieczorek changed the title docs(install): update Ubuntu/Debian dependencies for cardano-node Node installation: update Ubuntu/Debian dependencies for cardano-node Apr 24, 2025
@ArturWieczorek
Copy link
Author

Deleted previous fork with opened PR by mistake which resulted in auto closing of #1440

Copy link
Collaborator

@rphair rphair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ArturWieczorek thanks for resubmitting this!

@rphair rphair added the documentation Improvements or additions to documentation label Apr 24, 2025
@CarlosLopezDeLara
Copy link
Collaborator

CarlosLopezDeLara commented Apr 24, 2025

@ArturWieczorek just to double check. Is libncurses-dev backwards compatible? How would this affect users on something like Ubuntu Server 22.04.5 LTS which is still supported until April 2027.

Do we need to distinguish between OS versions or this change works on versions older than 24.04?

@rphair
Copy link
Collaborator

rphair commented Apr 25, 2025

@CarlosLopezDeLara on Ubuntu 24.04, the old instructions fail with:

# apt install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libtinfo-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libncursesw5 libtool autoconf liblmdb-dev -y
...
Note, selecting 'libncurses-dev' instead of 'libtinfo-dev'
E: Unable to locate package libncursesw5

... and on Ubuntu 22.04, the new instructions are successful since libtinfo-dev is not present:

# apt install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libncurses-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libtool autoconf liblmdb-dev -y
...
The following NEW packages will be installed:
  autoconf automake autotools-dev jq libffi-dev libgmp-dev libgmpxx4ldbl libjq1 liblmdb-dev libltdl-dev libltdl7
  libncurses-dev libonig5 libpkgconf3 libssl-dev libsystemd-dev libtool lmdb-doc m4 pkg-config pkgconf pkgconf-bin

So it can be verified that the new instructions work in the 2 latest LTS versions of Ubuntu.

@ArturWieczorek
Copy link
Author

I'm closing this PR because these changes have already been included in: https://github.com/cardano-foundation/developer-portal/pull/1453/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants