我要评分
获取效率
正确性
完整性
易理解

Upgrading OS Dependencies

Upgrading glibc

The following procedure applies to the deepin 15.2 x86 OS.

  1. Download the following glibc RPM packages:
  2. Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
  3. 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:

    1
    yum 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
    
  4. After the installation is complete, run the following command to check the glibc version:
    1
    ldd --version
    

    If the displayed version is the installed version, glibc is upgraded successfully.

Upgrading glibcxx

The following procedure applies to the deepin 15.2 x86 OS.

  1. Download the following glibcxx RPM packages:
  2. Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
  3. 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:

    1
    yum 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
    
  4. After the installation is complete, run the following command to check the glibcxx version:
    1
    strings /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
  1. Download the following RPM packages for OpenSSL:
  2. Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
  3. 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:

    1
    yum 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
    
  4. After the installation is complete, run the following command to check the OpenSSL version:
    1
    openssl version
    

    If the following content is displayed, OpenSSL is upgraded successfully.

    1
    OpenSSL 1.0.2k-fips
    

Upgrading libffi

The following procedure applies to the deepin 15.2 x86 OS.

  1. Download the libffi installation package libffi-3.0.13-11.el7.x86_64.rpm.
  2. Upload the RPM packages to a directory on the server and run the cd command to go to the directory.
  3. Run the following command to install libffi.
    1
    rpm -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:

    1
    yum install dependency_package_name
    

    After the dependencies are installed, run the following commands to install libffi:

    1
    rpm -ivh libffi-3.0.13-11.el7.x86_64.rpm
    
  4. After the installation is complete, run the following command to check the libffi version:
    1
    rpm -qa | grep libffi
    

    If the displayed version is the installed version, libffi is upgraded successfully.