Student coder here. I am trying to complete a project that asks me to install a package called "libncurses5-dev" and run a program through Ubuntu. It worked the first day, thankfully. However, on the second day I wanted to set my default directory to my homework folder so that I could skip the cd /mnt/c/Users/... step and just go straight to where my programs are. I tried to follow a tutorial online but I believe I made a typo or something because afterwards my Ubuntu kept crashing! I could not open it for long enough to fix it, the error was something along the lines of "directory does not exist." So, I uninstalled and reinstalled Ubuntu. I redid the process of installing all the packages I needed for coding on WSL. However, when I need to run my program, it keeps saying that I am missing a package. When I try to install that package, it says the package does not exist. Please see the attached files, which show what the project is supposed to look like and what it looks like now. I looked at image 2 again and it shows that I made a typo in the library name, but after trying it again I get the same error anyways. Thanks in advance for the help.
Asked
Active
Viewed 25 times
1
libncurses5
- try reinstalling it – steeldriver May 08 '20 at 13:25