I haven’t been in Linux for a long time and my English is not very good, I have been looking for video tutorials on youtube and reddit to install Tor browser, but there are several ways to install it, and it seems that one of them has no graphical interface, or something similar.
So I’m still in doubt and don’t know what is the correct way to install Tor on EndeavourOS KDE. I want to install Tor and have it work as normal, like Mozilla Firefox, Librewolf, Brave, etc.
After reading ArchWiki, I think -S tor is not correct, I think it should be -S torbrowser-launcher or -S tor-browser.
Maybe it’s always better to install the ARCH version/repository than AUR, but I’m not sure.
Using torbrowser-launcher from the official repos is identical to manually downloading Tor from the Tor website. You get the same binary from exactly the same place. Both options are considered safe. The only difference is a convenience of a little Python script that fetches the data. It’s easy to see what the script does and it is extremely unlikely the version of it from the official repos is ever going to get compromised.
Besides, the mere fact you are using Arch implies that you have unconditional trust in the Arch package maintainers. So anything from the repos should be automatically trustworthy to you.
With Tor it is extremely important not to use any third-party repo. And if you use the AUR, you have to be very careful where it is sourced from. Given how easy it is to use the launcher from the official repos, there is really no justification for using any third party repo.
Actually the correct way is to download directly from the tor site, extract, place where one wants the folder, then either run tor from the short cut in the folder or create a link to the short on your apps menu.
The only point I want to stress is that: if it is from the official repos, it is safe, assuming you think Arch in general is safe. It is not logical to consider one thing from the repos to be unsafe, and the rest safe. If you do not trust it, you shouldn’t be using Arch at all.