I was trying to install ncurses on Ubuntu 22.04.1 LTS with the following line:
sudo apt-get install libncurses6-dev libncursesw6-dev
I get this output:
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libncurses6-dev
E: Unable to locate package libncursesw6-dev
Any idea how I can fix this?