# Install the DKMS configuration file to the appropriate directory
sudo install -Dm644 dkms/dkms.conf /usr/src/goodix-gt7868q-0.1.0/dkms.conf
# Copy the source to the DKMS source directory
sudo cp -r . /usr/src/goodix-gt7868q-0.1.0
# Add the DKMS module to the system
sudo dkms add -m goodix-gt7868q/0.1.0
# Install the DKMS module
sudo dkms install goodix-gt7868q/0.1.0
# Install the custom libinput quirks file to the appropriate directory
sudo install -Dm644 local-overrides.quirks /usr/share/libinput/60-custom-thinkbookg6p2024imh.quirks
# Check the status of the DKMS modules
sudo dkms status
You can easily install it using DKMS.