Hey everyone! I just installed Ubuntu on my old laptop and I'm trying to learn how to use the command line with a book I found. I attempted to run the 'cal' command to check the calendar, but it seems like I need to use 'sudo' to do that. However, every time I try, I get an error saying 'unable to fetch archives' and it suggests using apt-get instead, which hasn't resolved the issue either. I'm also seeing permission denied messages. Can anyone help me figure out what's going on?
2 Answers
First off, it would help to know exactly which commands you've been entering and the full output you're getting from them. That way, we can troubleshoot better.
It sounds like the issue might be related to your book being a bit outdated. The 'cal' command may not be pre-installed anymore, which is why you’re getting prompted to install it. You can try running 'sudo apt install cal' to install the package. If that goes well, everything should work as expected after that.
I tried 'sudo apt install cal' but it said 'Unable to locate package cal.' Any other suggestions?