Installing a new node on Ubuntu 24.04.1 LTS following steps on:
developers. cardano. org/docs/get-started/cardano-node/installing-cardano-node/
I’m getting issue installing libncursesw5. anybody else getting the same issue?
Ubuntu 24.04 is based on Debian 13 & so that package is also in the Ubuntu repository:
# lsb_release -rc
No LSB modules are available.
Release: 24.04
Codename: noble
# apt install libncurses5-dev
...
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
Suggested packages:
ncurses-doc
The following NEW packages will be installed
libncurses-dev
libncursesw5-dev is another alias for libncurses-dev:
4:matangi# apt install libncursesw5-dev
...
Note, selecting 'libncurses-dev' instead of 'libncursesw5-dev'
libncurses-dev is already the newest version (6.4+20240113-1ubuntu2).
However, as you saw, libncursesw5 isn’t aliased to anything. So the command line in the installation instructions I guess works for Debian but not Ubuntu: whose dependency instructions have been combined up to this point.
If you can confirm apt install libncurses5-dev (the working alias) gets you through the installation I’ll submit a request to change the installation instructions accordingly: probably by separating the Debian & Ubuntu command lines. cc @adatainment@rdlrt
Thank you for your quick response. I really appreciate it. this is what I got (seems that it’s already installed)
sudo apt install libncurses5-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘libncurses-dev’ instead of ‘libncurses5-dev’
libncurses-dev is already the newest version (6.4+20240113-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
so I omitted libncursesw5 from:
sudo apt-get install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libtinfo-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libtool autoconf liblmdb-dev -y
and it proceeded without an issue with the install of the other libraries.
JimBo, thank you so much for your post. I’m running through the install right now, and it seems to be going smoothly so far (fingers crossed).
I would still love for the official cardano install documentation to be updated / fixed. I think there’s some room for improvement. if we want even broader adoption and growth of the SPO network we need to make sure that the barrier to entry is is low. I get it that cardano community wants only experienced operators, but you have to start somewhere, and if someone who wants to join is discouraged by minor hickups at the outset than we as a community are worse off.
look at Pi Network, they have over 100 million people running their network on their phones… because it was so simple and automated to install and run. I know that’s an unfair comparison on so many levels, but the main point still remains. You want to build out more nodes and continue to grow Cardano distributed network, make it easier to get the node install process.
I want to THANK everyone in this forum who so kindly offered to help me out. Much appreciated.
You all know that you can just use the pre-compiled binaries provided on https://github.com/IntersectMBO/cardano-node/releases and do not have to get the compilation going (including all those dependencies with different names in different distributions), don’t you?
I don’t know if that is necessarily true. More nodes that are not SPOs do not really benefit the network or the security and rather result in more load, more connections.
How many SPOs “we” want is a hot topic. Recruiting lots and lots of them who are then very frustrated after a few months that they can’t attract stake, don’t produce blocks, don’t earn rewards, and just have significant costs is also not optimal.
But, yes, there are some non-SPO reasons for running a node yourself: using it for certain kinds of development, for submitting transactions without relying on another party, as a backend for a dApp, just curiosity how it works, … And for those people, the documentation should be better and less scattered. I’ve cursed it many times. It just doesn’t necessarily has to be compatible for the very broad masses.
thank you for your words Sean and happy thanksgiving!
I’m curious if there was any research done modeling optimal number of SPOs. as any bell curve distribution I’m sure there is a sweet spot for the number of SPOs in the network. I wonder what that is and where are we at with relation to it.
Thank you for sharing the info about pre-compiled binaries. don’t you think that it would be nice if that would be included in the Cardano node installation page?
@COSDpool Robert, perhaps you can help with that update as well. It would be great to have vetted instructions how to deploy Cardano nodes using pre-compiled binaries and docker images. thoughts?
@CryptoJimBo21 Jim, definitely make that YT video! it’s time for an updated detailed installation video. I’ll be the first one to give it a thumbs up
For what it’s worth: I am not an SPO, do not want to run a pool, but I need a node sometimes to play around and develop and for that purpose I have written this last year:
Tried to be more bare-bones, get as much as possible directly from the source and just describe my ideas how to organise it. With a bit of Linux knowledge, I hope it is easy to adapt to other peoples’ likings, just take the “one systemd unit for testnets and mainnets” idea or just the symlinks from directory in $PATH to unpacked binary distributions idea or just the information where to find the latest configuration, topology, and genesis files.
… and if you think anything is missing that would help SPOs — after also reading the latest comments — you can post an issue on the Developer Portal’s GitHub repository in the same place as the issue above.