Error message : bash: git: command not found

I have just installed Fedora 31 Workstation Cinnamon Desktop from Spins.
During the Wi-Fi adapter installation, I got an error message:

[fedora002@localhost ~]$ su
Password:
[root@localhost fedora002]# sudo dnf update
Last metadata expiration check: 2:36:22 ago on Thu 02 Jan 2020 02:53:53 PM +07.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost fedora002]# sudo dnf install dkms make kernel-devel -y
Last metadata expiration check: 2:36:41 ago on Thu 02 Jan 2020 02:53:53 PM +07.
Package dkms-2.7.1-2.fc31.noarch is already installed.
Package make-1:4.2.1-15.fc31.x86_64 is already installed.
Package kernel-devel-5.3.16-300.fc31.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost fedora002]# git clone GitHub - tomaspinho/rtl8821ce
bash: git: command not found

What should be done next ?

as simlpe as :

sudo dnf install git

and then:

git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh

Regards.,

1 Like

First, Topic Starter rather need to exit the root shell…
“[root@localhost fedora002]# git clone …”
Never (PLACEHOLDER) as root user?