Recently I tried to install packages for Sage using pip. Often the descriptions says to execute something like
sage -pip install package_name
If I execute that in the terminal I get the error
sage-run received unknown option: -pip
If I start sage in the terminal and execute it there I get invalid syntax errors. I tried the exact string from above, I tried "pip install ..." and "-pip install ...". All lead to a syntax error. What do I do wrong? This happens with all packages I tried.
I use a freshly installed virtual machine with Ubuntu 18.04 and SageMath version 8.1 which I installed using "sudo apt install sagemath". sage itself works perfectly fine and I can start it with "sage" from the terminal.
I have no real experience with linux, the terminal or with any of that stuff, so I am sure that I miss some really obvious things...