rpm -qa | grep openssl
rpm -e --justdb --nodeps <yourpackage>
sudo yum -y groupinstall 'Development Tools'
git clone https://github.com/philyuchkoff/openssl-RPM-Builder
cd openssl-RPM-Builder
chmod +x install-openssl_3.sh
sudo ./install-openssl_3.sh
Builded RPM will be in
/root/rpmbuild/RPMS/x86_64/
After install-openssl_3.sh
will finish, you can install builded rpm:
sudo rpm -ivvh /root/rpmbuild/RPMS/x86_64/openssl-3.4.0-1.el7.x86_64.rpm --nodeps
sudo yum -y groupinstall 'Development Tools'
git clone https://github.com/philyuchkoff/openssl-RPM-Builder
cd openssl-RPM-Builder
chmod +x install-openssl_1.1.1.sh
sudo ./install-openssl_1.1.1.sh
Builded RPM will be in
/root/rpmbuild/RPMS/x86_64/
After install-openssl_1.1.1.sh
will finish, you can install builded rpm:
sudo rpm -ivvh /root/rpmbuild/RPMS/x86_64/openssl-1.1.1w-1.el7.x86_64.rpm --nodeps
$openssl version
OpenSSL 1.1.1w 11 Sep 2023
or
$rpm -qa openssl
openssl-1.1.1w-1.el7.x86_64