I want to try C++17 features and I want to install standard compliant compiler (preferably GCC). I'm totally new to Linux and Ubuntu and I simply don't understand a lot.
I tried to follow https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test but with no luck. First I ran:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update
As I understood this command installs some keys. Next I tried:
sudo add-apt-repository ppa:ubuntu-toolchain-r/gcc-7
Error: 'ppa:ubuntu-toolchain-r/gcc-7' invalid
Next I tried to install clang development branch:
apt-get install clang-4.0 lldb-4.0
And it gives me
E: Unable to locate package clang-4.0 E: Couldn't find any package by glob 'clang-4.0' E: Couldn't find any package by regex 'clang-4.0' E: Unable to locate package lldb-4.0 E: Couldn't find any package by glob 'lldb-4.0' E: Couldn't find any package by regex 'lldb-4.0'
What does all this means? What's wrong?