I can't Install the public repository key

Hello,
I want to install flair on ubantu18.04.,And I choose the automatic installation mode.
I follow the guidance of flair official website, and type:
" $ sudo wget -q -O - https://cern.ch/flair/download/ubuntu/KEY.gpg | sudo apt-key add - " in the terminal,but it didn’t work, and said " gpg: no valid OpenPGP data found ".

Looking forward to the answer!

Dear @lingyunlong,

the $ sign is not part of the command. You only need to run:

sudo wget -q -O - https://cern.ch/flair/download/ubuntu/KEY.gpg | sudo apt-key add -

Whit this I could install the repository key without an issue just now.

Cheers,
David

Thanks! I solved the problem .