I have just recently installed Ubuntu onto my new laptop, following all steps correctly during installation, installing new applications and drivers from online. Upon finishing installing Ubuntu, I attepmted to install MariaDB via the terminal by typing:
sudo apt-get install software-properties-common
and then the following error is returned:
sudo apt-get install software-propterties-common
File "<stdin>", line 1
sudo apt-get install software-propterties-common
^
SyntaxError: invalid syntax
How can i get my termianl to function correctly?
You are running the command in a Python interpreter. The command is supposed to be run in a shell. If you are still at the Python interpreter, use Ctrl+D or type
exit()
to quit the interpreter and return to the shell, or Press Ctrl+Alt+T to open a new terminal. Execute the command there.