following instructions at https://support.torproject.org/apt/tor-deb-repo/ step 3:
Then add the gpg key used to sign the packages by running the following commands at your command prompt
# wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
# gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
results in
"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). E: This command can only be used by root."
could someone update/correct/clarify the instructions?