Upgrading OS Dependencies
Upgrading glibc
The following procedure applies to the deepin 15.2 x86 OS.
- Download the following glibc RPM packages:
- Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
- Run the following commands to install glibc:
1 2 3 4 5 6 7
rpm -ivh glibc-common-2.17-55.el7.x86_64.rpm rpm -ivh glibc-utils-2.17-55.el7.x86_64.rpm rpm -ivh glibc-headers-2.17-55.el7.x86_64.rpm rpm -ivh glibc-static-2.17-55.el7.x86_64.rpm rpm -ivh glibc-devel-2.17-55.el7.x86_64.rpm rpm -ivh glibc-2.17-55.el7.x86_64.rpm rpm -ivh nscd-2.17-55.el7.x86_64.rpm
If dependencies need to be installed first, run the following command to install the dependencies:
1yum install dependency_package_name
After the dependencies are installed, run the following commands to install glibc:
1 2 3 4 5 6 7
rpm -ivh glibc-common-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh glibc-utils-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh glibc-headers-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh glibc-static-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh glibc-devel-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh glibc-2.17-55.el7.x86_64.rpm --force --nodeps rpm -ivh nscd-2.17-55.el7.x86_64.rpm --force --nodeps
- After the installation is complete, run the following command to check the glibc version:
1ldd --versionIf the displayed version is the installed version, glibc is upgraded successfully.
Upgrading glibcxx
The following procedure applies to the deepin 15.2 x86 OS.
- Download the following glibcxx RPM packages:
- Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
- Run the following commands to install glibcxx:
1 2 3
rpm -ivh libstdc++-4.8.2-16.el7.x86_64.rpm rpm -ivh libstdc++-devel-4.8.2-16.el7.x86_64.rpm rpm -ivh libstdc++-static-4.8.2-16.el7.x86_64.rpm
If dependencies need to be installed first, run the following command to install the dependencies:
1yum install dependency_package_name
After the dependencies are installed, run the following commands to install glibcxx:
1 2 3
rpm -ivh libstdc++-4.8.2-16.el7.x86_64.rpm --force --nodeps rpm -ivh libstdc++-devel-4.8.2-16.el7.x86_64.rpm --force --nodeps rpm -ivh libstdc++-static-4.8.2-16.el7.x86_64.rpm --force --nodeps
- After the installation is complete, run the following command to check the glibcxx version:
1strings /usr/lib64/libstdc++.so.6.0.19 | grep GLIBCXX_3.4.19
If the displayed version is the installed version, glibcxx is upgraded successfully.
Upgrading OpenSSL
This procedure applies to the following OSs:
- CentOS 7.2 or 7.3
- RHEL 7.2 or 7.3
- Deepin 15.2 x86
- Download the following RPM packages for OpenSSL:
- Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
- Run the following commands to install OpenSSL.
1 2 3
rpm -ivh openssl-libs-1.0.2k-16.el7.x86_64.rpm rpm -ivh openssl-devel-1.0.2k-16.el7.x86_64.rpm rpm -ivh openssl-1.0.2k-16.el7.x86_64.rpm
If dependencies need to be installed first, run the following command to install the dependencies:
1yum install dependency_package_name
After the dependencies are installed, run the following commands to install OpenSSL:
1 2 3
rpm -ivh openssl-libs-1.0.2k-16.el7.x86_64.rpm --force --nodeps rpm -ivh openssl-devel-1.0.2k-16.el7.x86_64.rpm --force --nodeps rpm -ivh openssl-1.0.2k-16.el7.x86_64.rpm --force --nodeps
- After the installation is complete, run the following command to check the OpenSSL version:
1openssl versionIf the following content is displayed, OpenSSL is upgraded successfully.
1OpenSSL 1.0.2k-fips
Upgrading libffi
The following procedure applies to the deepin 15.2 x86 OS.
- Download the libffi installation package libffi-3.0.13-11.el7.x86_64.rpm.
- Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
- Run the following command to install libffi.
1rpm -ivh libffi-3.0.13-11.el7.x86_64.rpm
If dependencies need to be installed first, run the following command to install the dependencies:
1yum install dependency_package_name
After the dependencies are installed, run the following commands to install libffi:
1rpm -ivh libffi-3.0.13-11.el7.x86_64.rpm
- After the installation is complete, run the following command to check the libffi version:
1rpm -qa | grep libffi
If the displayed version is the installed version, libffi is upgraded successfully.