Setting up Tor bridges on Fedora 34

Hi, I am currently trying to set up Tor bridges.
I am using this guide:

https://community.torproject.org/relay/setup/bridge/fedora/

In the first step, it says:

Add the following to /etc/yum.repos.d/tor.repo

[tor]
name=Tor for Fedora $releasever - $basearch
baseurl=https://rpm.torproject.org/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://rpm.torproject.org/fedora/public_gpg.key
cost=100

However, this file does not exist in the yum.repos.d folder (at least I can’t see it in the files).
What am I supposed to do then?
And, when the folder exists, how can I add those described configurations? Just enter it in a text document and save it there (might be stupid but that’s the only way I can think of).

Thanks!

Simple.
Follow the instructions.
Add that file with the content given.

Yes it is a text file.
Be aware of required permissions and ownership similar to other files there.

Hi, I don’t see my question answered regarding what I am supposed to do as the directory doesn’t exist. The instructions don*t tell me that.

The file does not exist —> add it with the content given.

Those directions are not hard for anybody to understand.

  1. Open a terminal
  2. Type sudo nano /etc/yum.repos.d/tor.repo this Open an empty file.
  3. Paste your text there.
  4. CTRL - O to save it and then CTRL - X to exit.
  5. Done…

Regards.,