How to Mine Monero/BTC?

The advice I have does not solve your problem, but is rather security advice for your Qubes usage:

Have you connected your template to the internet? That’s generally not advised.

Quoting from How to install software | Qubes OS :

Why don’t templates have network access?

In order to protect you from performing risky activites in templates, they do not have normal network access. Instead, templates use an updates proxy that allows you to install and update software without giving the template direct network access.

The updates proxy is what you use to proxy commands like git clone on a template instead of giving the full template network access.

Another point is that you are installing software directly from github without verifying it’s integrity. You should clone a template and use it exclusively for this job to avoid it possibly infecting other AppVMs based on it.

Yet another point is that general issues with installing software in a template are probably issues with the template distribution (fedora-33) and not with Qubes itself. So a fedora forum may be more adequate in those cases.