Marcm, that’s actually pretty straightforward. You can ignore it if you just want to install things. That’s a warning, it won’t stop you from using the terminal. If you want to fix it temporarily just for your current terminal session, try:
Long term fixing would involve following the instructions at the link you pasted from the warning message. I don’t think i could make that any easier for you by describing it again.