Skip to content

Instantly share code, notes, and snippets.

@javierisassi
javierisassi / gist:0518f559a839d490cdad321448161473
Created October 5, 2022 13:18
The following commands in RH 8 UBI container install some misc libraries in c which are not part of the distribution.
║ dnf -y install wget
get https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
rpm --import http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf -y install epel-release
dnf -y install --nogpgcheck http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/c/CUnit-2.1.3-26.fc37.x86_64.rpm
dnf -y install --nogpgcheck http://rpmfind.net/linux/centos/8-stream/AppStream/x86_64/os/Packages/CUnit-2.1.3-17.el8.x86_64.rpm
dnf -y install --nogpgcheck http://rpmfind.net/linux/centos/8-stream/PowerTools/x86_64/os/Packages/CUnit-devel-2.1.3-17.el8.x86_64.rpm
dnf -y install --nogpgcheck http://rpmfind.net/linux/centos/8-stream/AppStream/x86_64/os/Packages/gsl-2.5-1.el8.x86_64.rpm
dnf -y install --nogpgcheck http://rpmfind.net/linux/centos/8-stream/AppStream/x86_64/os/Packages/gsl-devel-2.5-1.el8.x86_64.rpm
@javierisassi
javierisassi / gist:049edc283290cc12465faa296a509f09
Created October 5, 2022 18:35
To enable middle button emulation.
$xinput list
$xinput list-props 26
$xinput set-prop 26 "libinput Middle Emulation Enabled" 1