"curl: command not found"
- Inicie sesión ou rexístrese para enviar comentarios
Following the instructions here https://2019.www.torproject.org/docs/debian.html.en
which is being linked to form here https://trisquel.info/en/wiki/tor I get an output with no "error" but it says at the beginning "sudo: curl: command not found" followed by:
gpg: keyring `/home/user/.gnupg/secring.gpg' created
gpg: keyring `/home/user/.gnupg/pubring.gpg' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
when doing the # curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
command.
Does this mean that this step failed in some way, or is this how it's supposed to be?
You're missing the program named curl. That's why it says it's not found. Because it's not there. :) The package manager can be used to install it.
xD
The way to install it is
"sudo apt install curl"
just in case you need it
When curl is not readily available, substitute with wget. It should work the same in most cases.
But now when I do sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
I get error:
ERROR: This command can only be used by root.
Even though I used sudo.
Open root terminal as instructed.
'sudo -i'
Because sudo doesn't carry over: In the example command you gave, gpg using being run as root but when piped into apt-key, apt-key is running as you and not root. The correct way would be to put the sudo after the pipe, resulting in:
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
When I do apt update now I get:
E: The repository 'https://deb.torproject.org/torproject.org flidas Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
They have no file for Trisquel. Trisquel 8 is based on Ubuntu 16.04, Xenial. Use 'xenial'.
Right. That worked. Thank you. You don't happen to know what they mean in the last step:
If there are no errors you're good to continue.
We provide a Debian package to help you keep our signing key current. It is recommended you use it. Install it together with tor:
# apt install tor deb.torproject.org-keyring
I did that, does that mean I'm done? Do I have the browser now? Do you know?
The browser is a different thing (get the tarball, extract and run). You have installed the Tor client which you can use to torify all your networking. It's a command line utility tor(1). If you only need to browse the web, get the Tor Browser which has onion routing built in for easy use.
https://trisquel.info/en/forum/local-installation-icecattor-browser-executable-tarball
Right right :) thank you for taking your time to guide this noob:)
- Inicie sesión ou rexístrese para enviar comentarios