Enable snaps on CentOS and install notepadqq
https://snapcraft.io/install/notepadqq/centos
sudo yum install epel-release
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install notepadqq