当前位置:   article > 正文

Linux运维_Bash脚本_编译安装FreeRDP-3.3.0_freerdp 3.0 参数参考

freerdp 3.0 参数参考

Linux运维_Bash脚本_编译安装FreeRDP-3.3.0

Bash (Bourne Again Shell) 是一个解释器,负责处理 Unix 系统命令行上的命令。它是由 Brian Fox 编写的免费软件,并于 1989 年发布的免费软件,作为 Sh (Bourne Shell) 的替代品。

您可以在 Linux 和 MacOS 机器上使用 Bash,甚至可以通过适用于 Linux 的 Windows 子系统在 Windows 10 机器上使用。

使用方法

  • 下载源码包:

eudev-3.2.14.tar.gz

pkcs11-helper-1.30.0.tar.bz2

e2fsprogs-1.45.5.tar.gz

krb5-1.21.2.tar.gz

icu4c-74_2-src.tgz

libusb-1.0.27.tar.bz2

cups-2.4.7-source.tar.gz

fuse-3.16.2.tar.gz

freerdp-3.3.0.tar.gz

  • 放于指定路径:

这里 Bash Shell 脚本的全局变量 STORAGE 指定的存放源码包的路径 /home/goufeng 可进行修改。

  • 执行 Bash Shell 脚本:

输入 /[路径名]/[脚本名].sh 即可进行自动编译部署,过程中提示输入 (y/n) 输入 y 则进行下一步,这样分阶段确认的原因是为了确保能够看到上一个源码编译结果中可能的错误和提示。

完整脚本

#! /bin/bash
# Create By GF 2024-03-13 22:22

# --------------------------------------------------
# Install First: 
# * GNU-Tools (Contains: pkg-config, m4, autoconf, automake, libtool, gettext, flex, bison, libiconv, make)
# * CMake >= 3.14.0
# * Python == 3.x.x
# * Meson
# * Ninja
# * X11
# * Glib
# * Pango == 1.51.x (Contains: Fribidi, FreeType, Fontconfig / Needed by libinput)
# * FFmpeg == 6.x.x

# ------------------- Dependency -------------------
# Need File: eudev-3.2.14.tar.gz
# Need File: pkcs11-helper-1.30.0.tar.bz2
# Need File: e2fsprogs-1.45.5.tar.gz
# Need File: krb5-1.21.2.tar.gz
# Need File: icu4c-74_2-src.tgz
# Need File: libusb-1.0.27.tar.bz2 (Needed by Cups)
# Need File: cups-2.4.7-source.tar.gz
# Need File: fuse-3.16.2.tar.gz
# -------------------- FreeRDP ---------------------
# Need File: freerdp-3.3.0.tar.gz

# ##################################################
# Recommended Optional Installation
# * GnuTLS-3.7.0 (GnuTLS是一个安全的通信库, 实现 SSL, TLS 和 DTLS 协议及其周围的技术。它提供了用于访问安全通信协议的简单 C语言 应用程序编程接口 (API), 以及用于解析和编写 X.509, PKCS 和其他所需结构的API。)

# ##################################################
STORAGE=/home/goufeng

# ############################################ Dependency ############################################

# Function: 编译安装(Compile Install) eudev-3.2.14
# ##################################################
function Compile_Install_eudev_3_2_14() {

    # Attention: may conflict with the original "udev" in the system.
    # 注意: 可能与系统原有的 "udev" 冲突。

    # eudev 提供针对内核提供的 udev 设备管理服务的函数库。
    # udev 是 Linux 2.6 内核的设备管理器。
    # udev 它在 /dev 目录下动态地 创建/移除 设备节点, 用于在系统中传递解决方案的有关设备信息, 以及在出现设备事件 (如删除、插入设备) 时触发相应的操作。

    if [[ ! -d "/opt/eudev-3.2.14" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_BUILDED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( eudev-3.2.14 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/eudev-3.2.14.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        cd $STORAGE/eudev-3.2.14 && ./configure --prefix=/opt/eudev-3.2.14 && STEP_BUILDED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            # Skip # ln -sf /opt/eudev-3.2.14/bin/udevadm /usr/local/bin/
            # Skip # ln -sf /opt/eudev-3.2.14/bin/udevadm /usr/local/sbin/udevadm
            # ......................................
            # Skip # ln -sf /opt/eudev-3.2.14/sbin/udevd /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/eudev-3.2.14/include/ /usr/local/include/
            # Skip # rsync -av /opt/eudev-3.2.14/lib/     /usr/local/lib/
            # ......................................
            cp -f /opt/eudev-3.2.14/lib/pkgconfig/libudev.pc /opt/lib/pkgconfig/
        fi

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/eudev-3.2.14 && return 0
    else
    
        echo "[Caution] Path: ( /opt/eudev-3.2.14 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) pkcs11-helper-1.30.0
# ##################################################
function Compile_Install_pkcs11_helper_1_30_0() {

    if [[ ! -d "/opt/pkcs11-helper-1.30.0" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( pkcs11-helper-1.30.0 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -jxvf $STORAGE/pkcs11-helper-1.30.0.tar.bz2 && STEP_UNZIPPED=1
        
        # ------------------------------------------
        cd $STORAGE/pkcs11-helper-1.30.0 && ./configure --prefix=/opt/pkcs11-helper-1.30.0 \
                                                        PKG_CONFIG_PATH="/opt/lib/pkgconfig" && \
                                                        STEP_CONFIGURED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            rsync -av /opt/pkcs11-helper-1.30.0/include/ /usr/local/include/
            rsync -av /opt/pkcs11-helper-1.30.0/lib/     /usr/local/lib/
            # ......................................
            cp -f /opt/pkcs11-helper-1.30.0/lib/pkgconfig/libpkcs11-helper-1.pc /opt/lib/pkgconfig/
        fi

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/pkcs11-helper-1.30.0 && return 0
    else
    
        echo "[Caution] Path: ( /opt/pkcs11-helper-1.30.0 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) e2fsprogs-1.45.5
# ##################################################
function Compile_Install_e2fsprogs_1_45_5() {

    # e2fsprogs-1.45.5 Provide: chattr        (Binary File)
    # e2fsprogs-1.45.5 Provide: compile_et    (Binary File)
    # e2fsprogs-1.45.5 Provide: lsattr        (Binary File)
    # e2fsprogs-1.45.5 Provide: mk_cmds       (Binary File)
    # e2fsprogs-1.45.5 Provide: uuidgen       (Binary File)
    # e2fsprogs-1.45.5 Provide: libblkid.a    (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libblkid.so   (Shared Libraries)
    # e2fsprogs-1.45.5 Provide: libcom_err.a  (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libcom_err.so (Shared Libraries)
    # e2fsprogs-1.45.5 Provide: libe2p.a      (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libe2p.so     (Shared Libraries)
    # e2fsprogs-1.45.5 Provide: libext2fs.a   (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libext2fs.so  (Shared Libraries)
    # e2fsprogs-1.45.5 Provide: libss.a       (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libss.so      (Shared Libraries)
    # e2fsprogs-1.45.5 Provide: libuuid.a     (Static Libraries)
    # e2fsprogs-1.45.5 Provide: libuuid.so    (Shared Libraries)

    if [[ ! -d "/opt/e2fsprogs-1.45.5" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( e2fsprogs-1.45.5 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/e2fsprogs-1.45.5.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        # *  Option: --enable-elf-shlibs: select ELF shared libraries
        # ..........................................
        # *  Option: --enable-bsd-shlibs: select BSD shared libraries
        cd $STORAGE/e2fsprogs-1.45.5 && ./configure --prefix=/opt/e2fsprogs-1.45.5 \
                                                    --enable-elf-shlibs \
                                                    PKG_CONFIG_PATH="/opt/lib/pkgconfig" && \
                                                    STEP_CONFIGURED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # ln -sf /opt/e2fsprogs-1.45.5/bin/* /usr/local/bin/
            # ......................................
            # Skip # ln -sf /opt/e2fsprogs-1.45.5/sbin/* /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/e2fsprogs-1.45.5/include/ /usr/local/include/
            # Skip # rsync -av /opt/e2fsprogs-1.45.5/lib/     /usr/local/lib/
            # ......................................
            cp -f /opt/e2fsprogs-1.45.5/lib/pkgconfig/*.pc /opt/lib/pkgconfig/
        fi

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/e2fsprogs-1.45.5 && return 0
    else
    
        echo "[Caution] Path: ( /opt/e2fsprogs-1.45.5 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) MIT-Kerberos-V5-1.21.2
# ##################################################
function Compile_Install_MIT_Kerberos_V5_1_21_2() {

    # Configuring MIT Kerberos V5
    # 
    #     Config Files
    #     
    #         /etc/krb5.conf and /var/lib/krb5kdc/kdc.conf
    #     
    #     Configuration Information
    #     
    #     Kerberos Configuration
    #     
    #             Tip
    #             
    #             You should consider installing some sort of password checking dictionary so that you can configure the installation to only accept strong passwords.
    #             A suitable dictionary to use is shown in the CrackLib-2.9.11 instructions. Note that only one file can be used, but you can concatenate many files into one.
    #             The configuration file shown below assumes you have installed a dictionary to /usr/share/dict/words.
    #     
    #         Create the Kerberos configuration file with the following commands issued by the root user:
    #     
    #             cat > /etc/krb5.conf << "EOF"
    #             # Begin /etc/krb5.conf
    #             
    #             [libdefaults]
    #                 default_realm = <EXAMPLE.ORG>
    #                 encrypt = true
    #             
    #             [realms]
    #                 <EXAMPLE.ORG> = {
    #                     kdc = <belgarath.example.org>
    #                     admin_server = <belgarath.example.org>
    #                     dict_file = /usr/share/dict/words
    #                 }
    #             
    #             [domain_realm]
    #                 .<example.org> = <EXAMPLE.ORG>
    #             
    #             [logging]
    #                 kdc = SYSLOG:INFO:AUTH
    #                 admin_server = SYSLOG:INFO:AUTH
    #                 default = SYSLOG:DEBUG:DAEMON
    #             
    #             # End /etc/krb5.conf
    #             EOF
    #         You will need to substitute your domain and proper hostname for the occurrences of the <belgarath> and <example.org> names.
    #         
    #         default_realm should be the name of your domain changed to ALL CAPS. This isn't required, but both Heimdal and MIT recommend it.
    #         
    #         encrypt = true provides encryption of all traffic between kerberized clients and servers. It's not necessary and can be left off. If you leave it off, you can encrypt all traffic from the client to the server using a switch on the client program instead.
    #         
    #         The [realms] parameters tell the client programs where to look for the KDC authentication services.
    #         
    #         The [domain_realm] section maps a domain to a realm.
    #         
    #         Create the KDC database:
    #     
    #             kdb5_util create -r <EXAMPLE.ORG> -s
    #         Now you should populate the database with principals (users). For now, just use your regular login name or root.
    #     
    #             kadmin.local
    #             kadmin.local: add_policy dict-only
    #             kadmin.local: addprinc -policy dict-only <loginname>
    #         The KDC server and any machine running kerberized server daemons must have a host key installed:
    #     
    #             kadmin.local: addprinc -randkey host/<belgarath.example.org>
    #         After choosing the defaults when prompted, you will have to export the data to a keytab file:
    #     
    #             kadmin.local: ktadd host/<belgarath.example.org>
    #         This should have created a file in /etc named krb5.keytab (Kerberos 5). This file should have 600 (root rw only) permissions. Keeping the keytab files from public access is crucial to the overall security of the Kerberos installation.
    #     
    #         Exit the kadmin program (use quit or exit) and return back to the shell prompt. Start the KDC daemon manually, just to test out the installation:
    #     
    #             /usr/sbin/krb5kdc
    #         Attempt to get a ticket with the following command:
    #     
    #             kinit <loginname>
    #         You will be prompted for the password you created. After you get your ticket, you can list it with the following command:
    #     
    #             klist
    #         Information about the ticket should be displayed on the screen.
    #     
    #         To test the functionality of the keytab file, issue the following command as the root user:
    #     
    #             ktutil
    #             ktutil: rkt /etc/krb5.keytab
    #             ktutil: l
    #         This should dump a list of the host principal, along with the encryption methods used to access the principal.
    #     
    #         Create an empty ACL file that can be modified later:
    #     
    #             touch /var/lib/krb5kdc/kadm5.acl
    #         At this point, if everything has been successful so far, you can feel fairly confident in the installation and configuration of the package.

    if [[ ! -d "/opt/krb5-1.21.2" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( krb5-1.21.2 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/krb5-1.21.2.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        # * Explain: sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test: The sed command removes a test that is known to fail.
        #                                                                                sed 命令删除已知失败的测试。
        if [[ $STEP_UNZIPPED == 1 ]]; then
            sed -i -e '/eq 0/{N;s/12 //}' $STORAGE/krb5-1.21.2/src/plugins/kdb/db2/libdb2/test/run.test
        fi
        
        # ------------------------------------------
        # * Default Configure Options:
        # ./configure --prefix=/usr \
        #             --sysconfdir=/etc \
        #             --localstatedir=/var/lib \
        #             --runstatedir=/run \
        #             --with-system-et \
        #             --with-system-ss \
        #             --with-system-verto=no \
        #             --enable-dns-for-realm
        # ..........................................
        # *  Option: --with-system-et: This switch causes the build to use the system-installed versions of the error-table support software.
        # ..........................................
        # *  Option: --with-system-ss: This switch causes the build to use the system-installed versions of the subsystem command-line interface software.
        # ..........................................
        # *  Option: --with-system-verto=no: This switch fixes a bug in the package: it does not recognize its own verto library installed previously.
        #                                    This is not a problem, if reinstalling the same version, but if you are updating, the old library is used as system's one, instead of installing the new version.
        # ..........................................
        # *  Option: --enable-dns-for-realm: This switch allows realms to be resolved using the DNS server.
        # ..........................................
        # *  Option: --with-ldap: Use this switch if you want to compile the OpenLDAP database backend module.
        cd $STORAGE/krb5-1.21.2/src && ./configure --prefix=/opt/krb5-1.21.2 \
                                                   --with-system-et \
                                                   --with-system-ss \
                                                   --with-system-verto=no \
                                                   --enable-dns-for-realm \
                                                   PKG_CONFIG_PATH="/opt/lib/pkgconfig" && \
                                                   STEP_CONFIGURED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # ln -sf /opt/krb5-1.21.2/bin/* /usr/local/bin/
            # ......................................
            # Skip # ln -sf /opt/krb5-1.21.2/sbin/* /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/krb5-1.21.2/include/ /usr/local/include/
            # Skip # rsync -av /opt/krb5-1.21.2/lib/     /usr/local/lib/
            # ......................................
            cp -f /opt/krb5-1.21.2/lib/pkgconfig/*.pc /opt/lib/pkgconfig/
        fi
        
        # ------------------------------------------
        # Now, as the root user:
        # cp -vfr ../doc -T /usr/share/doc/krb5-1.21.2
        # ..........................................
        # Still as the root user, remove linker flags setting RPATH from the krb5-config script.
        # These flags are unneeded for an installation in the standard prefix (/usr) and they may cause some packages fail to build:
        # 仍然作为根用户, 从 krb5-config 配置脚本中删除设置 RPATH 的链接器标志。
        # 这些标志对于标准前缀 (/usr) 中的安装是不需要的, 它们可能会导致某些包无法构建:
        # sed '/PROG_RPATH_FLAGS/d' -i /usr/bin/krb5-config

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/krb5-1.21.2 && return 0
    else
    
        echo "[Caution] Path: ( /opt/krb5-1.21.2 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) ICU-74.2
# ##################################################
function Compile_Install_ICU_74_2() {

    # The International Components for Unicode (ICU) package is a mature, widely used set of C/C++ libraries providing Unicode and Globalization support for software applications.
    # ICU is widely portable and gives applications the same results on all platforms.
    # 国际 Unicode 组件 (ICU) 包是一组成熟、广泛使用的 C/C++ 库, 为软件应用程序提供Unicode和全球化支持。
    # ICU具有广泛的便携性, 在所有平台上都能为应用程序提供相同的结果。
    # ..............................................
    # Warning:
    # Upgrading this package to a new major version (for example, from 72.1 to 74.2) will require rebuilding of many other packages.
    # If some packages that use the libraries built by icu4c-74 are rebuilt, they will use the new libraries while current packages will use the previous libraries.
    # If the Linux application loader (/usr/lib/ld-linux-x86-64.so.2) determines that both the old and new libraries are needed, and a symbol (name of data or function) exists in both versions of the library, all references to the symbol will be resolved to the version appearing earlier in the breadth-first sequence of the dependency graph.
    # This may result in the application failing if the definition of the data or the behavior of the function referred by the symbol differs in two versions.
    # To avoid the issue, users will need to rebuild every package linked to an ICU library as soon as possible once ICU is updated to a new major version.
    # 警告:
    # 将此软件包升级到新的主要版本 (例如, 从 72.1 升级到 74.2) 将需要重建许多其他软件包。
    # 如果重建了一些使用 icu4c-74 构建的库的包, 它们将使用新的库, 而当前包将使用以前的库。
    # 如果 Linux 应用程序加载程序 (/usr/lib/ld-Linux-x86-64.so.2) 确定需要旧库和新库, 并且两个版本的库中都存在一个符号 (数据或函数的名称), 则对该符号的所有引用都将解析为依赖关系图的广度优先序列中较早出现的版本。
    # 如果数据的定义或符号引用的函数的行为在两个版本中不同,这可能会导致应用程序失败。
    # 为了避免这个问题, 一旦 ICU 更新到新的主要版本, 用户需要尽快重建链接到 ICU 库的每个包。
    # ..............................................
    # To determine what external libraries are needed (directly or indirectly) by an application or a library, run:
    # 要确定应用程序或库 (直接或间接) 需要哪些外部库, 请运行:
    #     ldd <application or library> 
    # or to see only the directly needed libraries:
    # 或者只查看直接需要的库:
    #     readelf -d  <application or library> | grep NEEDED

    if [[ ! -d "/opt/icu-74.2" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( icu-74.2 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/icu4c-74_2-src.tgz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        cd $STORAGE/icu/source && ./configure --prefix=/opt/icu-74.2 && STEP_CONFIGURED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # ln -sf /opt/icu-74.2/bin/* /usr/local/bin/
            # ......................................
            # Skip # ln -sf /opt/icu-74.2/sbin/* /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/icu-74.2/include/ /usr/local/include/
            # Skip # rsync -av /opt/icu-74.2/lib/     /usr/local/lib/
            # ......................................
            cp -f /opt/icu-74.2/lib/pkgconfig/icu-i18n.pc /opt/lib/pkgconfig/
            cp -f /opt/icu-74.2/lib/pkgconfig/icu-io.pc   /opt/lib/pkgconfig/
            cp -f /opt/icu-74.2/lib/pkgconfig/icu-uc.pc   /opt/lib/pkgconfig/
        fi

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/icu && return 0
    else
    
        echo "[Caution] Path: ( /opt/icu-74.2 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) libusb-1.0.27
# ##################################################
function Compile_Install_libusb_1_0_27() {

    # Configuring Libusb
    #     To access raw USB devices (those not treated as a disk by the mass-storage driver), appropriate support must be available in the kernel. Check your kernel configuration:
    #     
    #     Device Drivers --->
    #       [*] USB support --->                                             [USB_SUPPORT]
    #         <*/M>   Support for Host-side USB                                      [USB]
    #         [*]     PCI based USB host interface                               [USB_PCI]
    #         # These are most common USB controller drivers for PC-like systems.
    #         # For modern systems often [USB_XHCI_HCD] is the only one needed
    #         # even if the system has USB 2.0 ports:
    #         < /*/M> xHCI HCD (USB 3.0) support                            [USB_XHCI_HCD]
    #         < /*/M> EHCI HCD (USB 2.0) support                            [USB_EHCI_HCD]
    #         < /*/M> OHCI HCD (USB 1.1) support                            [USB_OHCI_HCD]
    #     For more details on setting up USB devices, see the section called “USB Device Issues”.

    if [[ ! -d "/opt/libusb-1.0.27" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( libusb-1.0.27 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -jxvf $STORAGE/libusb-1.0.27.tar.bz2 && STEP_UNZIPPED=1
        
        # ------------------------------------------
        cd $STORAGE/libusb-1.0.27 && ./configure --prefix=/opt/libusb-1.0.27 \
                                                 --disable-static \
                                                 PKG_CONFIG_PATH="/opt/lib/pkgconfig" && \
                                                 STEP_CONFIGURED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # rsync -av /opt/libusb-1.0.27/include/ /usr/local/include/
            # ......................................
            # Skip # rsync -av /opt/libusb-1.0.27/lib/ /usr/local/lib/
            # ......................................
            cp -f /opt/libusb-1.0.27/lib/pkgconfig/libusb-1.0.pc /opt/lib/pkgconfig/
        fi
        
        # ------------------------------------------
        # If Doxygen is installed and you wish to build the API documentation, issue the following commands:
        # 如果安装了 Doxygen, 并且您希望构建 API 文档, 请发出以下命令:
        #     pushd doc                &&
        #       doxygen -u doxygen.cfg &&
        #       make docs              &&
        #     popd
        # ..........................................
        # This package does not come with a test suite.
        # 此软件包没有附带测试套件。
        # ..........................................
        # If you built the API documentation, install it using the following commands as the root user:
        # 如果您构建了 API 文档, 请使用以下命令作为 root 用户进行安装:
        #     install -v -d -m755 /usr/share/doc/libusb-1.0.27/apidocs &&
        #     install -v -m644    doc/api-1.0/* \
        #                         /usr/share/doc/libusb-1.0.27/apidocs

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/libusb-1.0.27 && return 0
    else
    
        echo "[Caution] Path: ( /opt/libusb-1.0.27 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 编译安装(Compile Install) Cups-2.4.7
# ##################################################
function Compile_Install_Cups_2_4_7() {

    # Kernel Configuration
    #     Note:
    #     There used to be a conflict between the Cups libusb backend and the usblp kernel driver. This is no longer the case and cups will work with both of these enabled.
    # 
    # If you want to use the kernel usblp driver (for example, if you wish to use escputil from Gutenprint-5.3.4) enable the following options in your kernel configuration and recompile the kernel:
    # 
    #     Device Drivers --->
    #       [*] USB support --->                                             [USB_SUPPORT]
    #         <*/M> USB Printer support                                      [USB_PRINTER]
    # If you have a parallel printer, enable the following options in your kernel configuration and recompile the kernel:
    # 
    #     Device Drivers --->
    #       <*/M> Parallel port support --->                                     [PARPORT]
    #         <*/M> PC-style hardware                                         [PARPORT_PC]
    #       Character devices --->
    #         <*/M> Parallel printer support                                     [PRINTER]
    # ..............................................
    # Configuring Cups
    # Config Files
    #     /etc/cups/*
    # 
    # Configuration Information
    #     Normally, printers are set up via a web browser.
    #     The Cups server will normally connect via the url http://localhost:631. From there printers, print jobs, and the server configuration can be set up and managed.
    #     Remote system administration can also be set up. Configuration can also be done from the command line via the lpadmin, lpoptions, and lpstat commands.
    # 
    #     Configuration of Cups is dependent on the type of printer and can be complex.
    #     Generally, PostScript printers are easier. For detailed instructions on configuration and use of Cups, see https://www.cups.org/documentation.html.
    # 
    #     For non-PostScript printers to print with Cups, you need to install ghostscript-10.03.0 to convert PostScript to raster images and a driver (e.g. from Gutenprint-5.3.4) to convert the resulting raster images to a form that the printer understands.
    #     Foomatic drivers use ghostscript-10.03.0 to convert PostScript to a printable form directly, but this is considered suboptimal by Cups developers.
    # 
    # Linux PAM Configuration
    #     If CUPS has been built with Linux PAM support, you need to create a PAM configuration file to get it working correctly with BLFS.
    # 
    #     Issue the following command as the root user to create the configuration file for Linux PAM:
    # 
    #         cat > /etc/pam.d/cups << "EOF"
    #         # Begin /etc/pam.d/cups
    #         
    #         auth    include system-auth
    #         account include system-account
    #         session include system-session
    #         
    #         # End /etc/pam.d/cups
    #         EOF
    # Boot Script
    #     If you want the Cups print service to start automatically when the system is booted, install the init script included in the blfs-bootscripts-20240209 package:
    # 
    #         make install-cups

    if [[ ! -d "/opt/cups-2.4.7" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CONFIGURED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Compile and Install ( cups-2.4.7 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/cups-2.4.7-source.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        # You will need to add an lp user, as Cups will create some files owned by this user.
        # (The lp user is the default used by Cups, but may be changed to a different user by passing a parameter to the configure script.)
        # Use the following command as the root user:
        # 您将需要添加一个 lp 用户, 因为 Cups 将创建该用户拥有的一些文件。
        # ( lp 用户是 Cups 使用的默认用户, 但可以通过向配置脚本传递参数将其更改为其他用户。)
        # 作为 root 用户使用以下命令:
        useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp
        # ..........................................
        # You will also need a dedicated group that will contain users allowed to do Cups administrative tasks.
        # Add the group by running the following command as the root user:
        # 您还需要一个专门的组, 其中包含允许执行 Cups 管理任务的用户。
        # 通过以 root 用户身份运行以下命令来添加组:
        groupadd -g 19 lpadmin
        # ..........................................
        # If you want to add a user to the Cups administrative group, run the following command as the root user:
        # 如果要将用户添加到 Cups 管理组, 请以 root 用户身份运行以下命令:
        #     usermod -a -G lpadmin <username>
        usermod -a -G lpadmin lp
        # ..........................................
        # If you didn't install xdg-utils-1.2.1, use the following sed to change the default browser that will be used to access the Cups web interface:
        # 如果您没有安装 xdg-util-1.2.1, 请使用以下 sed 更改将用于访问 Cups Web 界面的默认浏览器:
        #     sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in
        # Replace firefox with the web browser of your choice.
        # 用您选择的 Web 浏览器替换 firefox。
        sed -i 's#@CUPS_HTMLVIEW@#firefox#' $STORAGE/cups-2.4.7/desktop/cups.desktop.in
        
        # ------------------------------------------
        # Default Configure Options:
        # ./configure --libdir=/usr/lib \
        #             --disable-systemd \
        #             --with-rcdir=/tmp/cupsinit \
        #             --with-rundir=/run/cups \
        #             --with-system-groups=lpadmin \
        #             --with-docdir=/usr/share/cups/doc-2.4.7
        # ..........................................
        # *  Option: --disable-systemd: Systemd is not supported by this version of BLFS.
        # ..........................................
        # *  Option: --with-rcdir=/tmp/cupsinit: This switch tells the build process to install the shipped bootscript into /tmp instead of /etc/rc.d.
        # ..........................................
        # *  Option: --with-rundir=/run/cups: This switch prevents the package from referring to the deprecated /var/run directory.
        # ..........................................
        # *  Option: --with-system-groups=lpadmin: This switch ensures that only lpadmin will be used as the Cups administrative group.
        # ..........................................
        # *  Option: --disable-libusb: Use this switch if you have installed libusb-1.0.27, but wish to use the kernel usblp driver.
        # ..........................................
        # *  Option: --enable-libpaper: Use this switch if you have installed libpaper and wish to use it with Cups.
        cd $STORAGE/cups-2.4.7 && ./configure --prefix=/opt/cups-2.4.7 \
                                              --disable-systemd \
                                              --with-system-groups=lpadmin && \
                                              STEP_CONFIGURED=1
        
        # ------------------------------------------
        # To test the results, issue: LC_ALL=C make -k check.
        # An already active graphical session with bus address is necessary to run the tests.
        # Make sure that there is not other instance of Cups running, otherwise at least 4 tests will fail with "address in use".
        # 要测试结果, 请使用指令: LC_ALL=C make-k check。
        # 运行测试需要一个具有总线地址的已激活图形会话。
        # 确保没有其他 Cup 实例在运行, 否则至少有 4 个测试将失败, 并显示 "地址在使用中"。
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # ln -sf /opt/cups-2.4.7/bin/* /usr/local/bin/
            # ......................................
            # Skip # ln -sf /opt/cups-2.4.7/sbin/* /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/cups-2.4.7/include/ /usr/local/include/
            # ......................................
            # Skip # rsync -av /opt/cups-2.4.7/lib/ /usr/local/lib/
            # ......................................
            cp -f /opt/cups-2.4.7/lib/pkgconfig/cups.pc /opt/lib/pkgconfig/
        fi
        
        # ------------------------------------------
        # Remove the shipped bootscript, which is incompatible with LFS:
        # 删除附带的与 LFS 不兼容的引导脚本:
        #     rm -rf /tmp/cupsinit
        # Create a basic Cups client configuration file by running the following command as the root user:
        # 通过 root 用户身份运行以下命令, 创建基本 Cups 客户端配置文件:
        #     echo "ServerName /run/cups/cups.sock" > /etc/cups/client.conf
        # ..........................................
        # Note:
        # This package installs icon files into the /usr/share/icons/hicolor hierarchy and you can improve system performance and memory usage by updating /usr/share/icons/hicolor/index.theme.
        # To perform the update you must have GTK+-3.24.41 installed and issue the following command as the root user:
        # 此软件包将图标文件安装到 /usr/share/icons/hicolor 层次结构中, 您可以通过更新 /usr/share/ics/hicolor/index.theme 来提高系统性能和内存使用率。
        # 要执行更新, 您必须安装 GTK+-3.24.41 并以 root 用户身份使用以下命令:
        #     gtk-update-icon-cache -qtf /usr/share/icons/hicolor

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/cups-2.4.7 && return 0
    else
    
        echo "[Caution] Path: ( /opt/cups-2.4.7 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# Function: 构建安装(Build Install) Fuse-3.16.2
# ##################################################
function Build_Install_Fuse_3_16_2() {

    # Kernel Configuration
    #     Enable the following options in the kernel configuration and recompile the kernel if necessary:
    #     
    #         File systems --->
    #           <*/M> FUSE (Filesystem in Userspace) support                         [FUSE_FS]
    #     Character devices in userspace should be enabled too for running the tests:
    #     
    #         File systems --->
    #           <*/M> FUSE (Filesystem in Userspace) support                         [FUSE_FS]
    #           <*/M>   Character device in Userspace support                           [CUSE]
    # ..............................................
    # Configuring fuse
    # Config Files
    #     Some options regarding mount policy can be set in the file /etc/fuse.conf. To install the file run the following command as the root user:
    # 
    #         cat > /etc/fuse.conf << "EOF"
    #         # Set the maximum number of FUSE mounts allowed to non-root users.
    #         # The default is 1000.
    #         #
    #         #mount_max = 1000
    #         
    #         # Allow non-root users to specify the 'allow_other' or 'allow_root'
    #         # mount options.
    #         #
    #         #user_allow_other
    #         EOF
    #     Additional information about the meaning of the configuration options are found in the man page.

    if [[ ! -d "/opt/fuse-3.16.2" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_BUILDED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Build and Install ( fuse-3.16.2 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/fuse-3.16.2.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        # This command disables the installation of a boot script and udev rule that are not needed:
        # 此命令禁用不需要的启动脚本和 udev 规则的安装:
        #     sed -i '/^udev/,$ s/^/#/' util/meson.build
        sed -i '/^udev/,$ s/^/#/' $STORAGE/fuse-3.16.2/util/meson.build
        
        # ------------------------------------------
        cd $STORAGE/fuse-3.16.2 && meson build/ --prefix=/opt/fuse-3.16.2 \
                                                --buildtype=release && \
                                                STEP_BUILDED=1
        
        # ------------------------------------------
        cd $STORAGE/fuse-3.16.2 && ninja -C build/ install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            # Skip # if [[ ! -d "/usr/local/sbin" ]]; then mkdir /usr/local/sbin; fi
            # ......................................
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            # Skip # ln -sf /opt/fuse-3.16.2/bin/fusermount3 /usr/local/bin/
            # ......................................
            # Skip # ln -sf /opt/fuse-3.16.2/sbin/mount.fuse3 /usr/local/sbin/
            # ......................................
            # Skip # rsync -av /opt/fuse-3.16.2/include/ /usr/local/include/
            # ......................................
            # Skip # rsync -av /opt/fuse-3.16.2/lib/ /usr/local/lib/
            # ......................................
            cp -f /opt/fuse-3.16.2/lib/pkgconfig/fuse3.pc /opt/lib/pkgconfig/
        fi
        
        # ------------------------------------------
        # chmod u+s /usr/bin/fusermount3 &&
        # 
        # cd ..                          &&
        # cp -Rv doc/html -T /usr/share/doc/fuse-3.16.2 &&
        # install -v -m644   doc/{README.NFS,kernel.txt} \
        #                    /usr/share/doc/fuse-3.16.2
        # ..........................................
        # The API documentation is included in the package, but if you have Doxygen-1.10.0 installed and wish to rebuild it, issue:
        # API 文档包含在软件包中, 但如果您安装了 Doxygen-1.10.0 并希望重新生成它, 请使用指令:
        #     pushd .. &&
        #       doxygen doc/Doxyfile &&
        #     popd
        # ..........................................
        # To test the results, issue the following commands (as the root user):
        # 要测试结果, 请使用以下命令 (作为 root 用户):
        #     python3 -m venv --system-site-packages testenv &&
        #     source testenv/bin/activate                    &&
        #     pip3 install looseversion                      &&
        #     python3 -m pytest
        #     deactivate
        # The pytest-8.0.2 Python module is required for the tests.
        # One test named test_cuse will fail if the CONFIG_CUSE configuration item was not enabled when the kernel was built.
        # One test, test/util.py, will output a warning due to the usage of an unknown mark in pytest.
        # One test named test_notify_inval_entry[True-expire_entries] may fail under certain circumstances.
        # 测试需要 pytest-8.0.2 Python 模块。
        # 如果在构建内核时未启用 CONFIG_cuse 配置项, 则一个名为 test_cuse 的测试将失败。
        # 由于在 pytest 中使用了未知标记, 一个测试 test/util.py 将输出警告。
        # 一个名为 test_notify_inval_entry[True-expire_entries] 的测试在某些情况下可能会失败。

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/fuse-3.16.2 && return 0
    else
    
        echo "[Caution] Path: ( /opt/fuse-3.16.2 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

# ############################################# FreeRDP ##############################################

# Function: 构建安装(Build Install) FreeRDP-3.3.0
# ##################################################
function Build_Install_FreeRDP_3_3_0() {

    if [[ ! -d "/opt/freerdp-3.3.0" ]]; then
    
        local VERIFY
        local STEP_UNZIPPED=0
        local STEP_CREATED=0
        local STEP_BUILDED=0
        local STEP_INSTALLED=0
    
        # ------------------------------------------
        read -p "[Confirm] Build and Install ( freerdp-3.3.0 )? (y/n)>" VERIFY
        if [[ "$VERIFY" != "y" ]]; then exit 1; fi

        # ------------------------------------------
        tar -zxvf $STORAGE/freerdp-3.3.0.tar.gz && STEP_UNZIPPED=1
        
        # ------------------------------------------
        sed -i "29i SET(CMAKE_INCLUDE_PATH /opt/icu-74.2/include /opt/sandbox-X11/include /opt/cups-2.4.7/include /opt/libusb-1.0.27/include)" $STORAGE/freerdp-3.3.0/CMakeLists.txt
        sed -i "30i SET(CMAKE_LIBRARY_PATH /opt/icu-74.2/lib /opt/sandbox-X11/lib /opt/cups-2.4.7/lib /opt/libusb-1.0.27/lib)" $STORAGE/freerdp-3.3.0/CMakeLists.txt
        # ..........................................
        sed -i "s/\/share\/xml\/docbook\/xsl-stylesheets\-\*\-nons/\/share\/xml\/docbook\/xsl-stylesheets\-\*/" $STORAGE/freerdp-3.3.0/cmake/FindDocBookXSL.cmake
        # ..........................................
        sed -i "31i LINK_DIRECTORIES(/opt/icu-74.2/lib /opt/fuse-3.16.2/lib)" $STORAGE/freerdp-3.3.0/CMakeLists.txt
        
        # ------------------------------------------
        mkdir $STORAGE/freerdp-3.3.0/build && STEP_CREATED=1
        
        # ------------------------------------------
        # * Problem: CMake Error at cmake/InstallFreeRDPMan.cmake:14 (message):
        #              docbook xsl not found but required for manpage generation
        #            Call Stack (most recent call first):
        #              client/X11/man/CMakeLists.txt:11 (generate_and_install_freerdp_man_from_xml)
        #   - Solve: 原因是 freerdp-3.3.0/cmake/InstallFreeRDPMan.cmake 中使用 include(FindDocBookXSL) 引入了 FindDocBookXSL.cmake 模块。
        #            而 FindDocBookXSL.cmake 模块正是查找 XSL 样式表的模块, 其中的路径为:
        #                ${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*-nons
        #            把它修改为:
        #                ${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*
        #            因为系统中能找到的 XSL 样式表目录名称为:
        #                /usr/share/xml/docbook/xsl-stylesheets-1.79.1
        #            并没有结尾那个 "-nons"。
        cd $STORAGE/freerdp-3.3.0/build && cmake -G "Unix Makefiles" \
                                                 -DCMAKE_INSTALL_PREFIX=/opt/freerdp-3.3.0 \
                                                 -DCMAKE_BUILD_TYPE=Release \
                                                 ../ && STEP_BUILDED=1
        
        # ------------------------------------------
        make && make install && STEP_INSTALLED=1
        
        # ------------------------------------------
        if [[ $STEP_INSTALLED == 1 ]]; then
            if [[ ! -d "/opt/lib" ]]; then mkdir /opt/lib; fi
            if [[ ! -d "/opt/lib/pkgconfig" ]]; then mkdir /opt/lib/pkgconfig; fi
            # ......................................
            ln -sf /opt/freerdp-3.3.0/bin/* /usr/local/bin/
            # Skip # rsync -av /opt/freerdp-3.3.0/include/ /usr/local/include/
            # ......................................
            # Skip # rsync -av /opt/freerdp-3.3.0/lib/ /usr/local/lib/
            # ......................................
            cp -f /opt/freerdp-3.3.0/lib/pkgconfig/*.pc /opt/lib/pkgconfig/
        fi

        # ------------------------------------------
        cd $STORAGE && rm -rf $STORAGE/freerdp-3.3.0 && return 0
    else
    
        echo "[Caution] Path: ( /opt/freerdp-3.3.0 ) Already Exists."
        # ------------------------------------------
        return 0
    fi
}

function main() {

    # ----------- Compilation Environment ----------
    # 编译 krb5 (MIT Kerberos V5) 时需要引入 e2fsprogs 的 include 头文件。
    # 编译 libusb 时需要引入 eudev 的 include 头文件。
    export C_INCLUDE_PATH=/opt/e2fsprogs-1.45.5/include:/opt/eudev-3.2.14/include
    export CPLUS_INCLUDE_PATH=/opt/e2fsprogs-1.45.5/include:/opt/eudev-3.2.14/include
    # ..............................................
    # 编译 krb5 (MIT Kerberos V5) 时需要引入 e2fsprogs 的 lib 库文件。
    # 编译 libusb 时需要引入 eudev 的 lib 库文件。
    export LIBRARY_PATH=/opt/e2fsprogs-1.45.5/lib:/opt/eudev-3.2.14/lib
    export LD_LIBRARY_PATH=/opt/e2fsprogs-1.45.5/lib:/opt/eudev-3.2.14/lib
    # ..............................................
    # 编译 krb5 (MIT Kerberos V5) 时需要引入 e2fsprogs 的 bin 二进制文件。
    export PATH=$PATH:/opt/e2fsprogs-1.45.5/bin
    # ..............................................
    # 编译 FreeRDP3 时需要引入 PKG_CONFIG_PATH 环境变量。
    export PKG_CONFIG_PATH=/opt/lib/pkgconfig

    # ----------------- Dependency -----------------
    Compile_Install_eudev_3_2_14
    Compile_Install_pkcs11_helper_1_30_0
    Compile_Install_e2fsprogs_1_45_5
    Compile_Install_MIT_Kerberos_V5_1_21_2
    Compile_Install_ICU_74_2
    Compile_Install_libusb_1_0_27
    Compile_Install_Cups_2_4_7
    Build_Install_Fuse_3_16_2
    # ------------------ FreeRDP -------------------
    Build_Install_FreeRDP_3_3_0
}

main
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 652
  • 653
  • 654
  • 655
  • 656
  • 657
  • 658
  • 659
  • 660
  • 661
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • 669
  • 670
  • 671
  • 672
  • 673
  • 674
  • 675
  • 676
  • 677
  • 678
  • 679
  • 680
  • 681
  • 682
  • 683
  • 684
  • 685
  • 686
  • 687
  • 688
  • 689
  • 690
  • 691
  • 692
  • 693
  • 694
  • 695
  • 696
  • 697
  • 698
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • 748
  • 749
  • 750
  • 751
  • 752
  • 753
  • 754
  • 755
  • 756
  • 757
  • 758
  • 759
  • 760
  • 761
  • 762
  • 763
  • 764
  • 765
  • 766
  • 767
  • 768
  • 769
  • 770
  • 771
  • 772
  • 773
  • 774
  • 775
  • 776
  • 777
  • 778
  • 779
  • 780
  • 781
  • 782
  • 783
  • 784
  • 785
  • 786
  • 787
  • 788
  • 789
  • 790
  • 791
  • 792
  • 793
  • 794
  • 795
  • 796
  • 797
  • 798
  • 799
  • 800
  • 801
  • 802
  • 803
  • 804
  • 805
  • 806
  • 807
  • 808
  • 809
  • 810
  • 811
  • 812
  • 813
  • 814
  • 815
  • 816
  • 817
  • 818
  • 819
  • 820
  • 821
  • 822
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 829
  • 830
  • 831
  • 832
  • 833
  • 834
  • 835
  • 836
  • 837
  • 838
  • 839
  • 840
  • 841
  • 842
  • 843
  • 844
  • 845
  • 846
  • 847
  • 848
  • 849
  • 850
  • 851
  • 852
  • 853
  • 854
  • 855
  • 856
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 873
  • 874
  • 875
  • 876
  • 877
  • 878
  • 879
  • 880
  • 881
  • 882
  • 883
  • 884
  • 885
  • 886
  • 887
  • 888
  • 889
  • 890
  • 891
  • 892
  • 893
  • 894
  • 895
  • 896
  • 897
  • 898
  • 899
  • 900
  • 901
  • 902
  • 903
  • 904
  • 905
  • 906
  • 907
  • 908
  • 909
  • 910
  • 911
  • 912
  • 913
  • 914
  • 915
  • 916
  • 917
  • 918
  • 919
  • 920
  • 921
  • 922
  • 923
  • 924
  • 925
  • 926
  • 927
  • 928
  • 929
  • 930
  • 931
  • 932
  • 933
  • 934
  • 935
  • 936
  • 937
  • 938
  • 939
  • 940
  • 941
  • 942
  • 943
  • 944
  • 945
  • 946
  • 947
  • 948
  • 949
  • 950
  • 951
  • 952
  • 953
  • 954
  • 955
  • 956
  • 957
  • 958
  • 959
  • 960

总结

以上就是关于 Linux运维 Bash脚本 编译安装FreeRDP-3.3.0 的全部内容。

更多内容可以访问我的代码仓库:

https://gitee.com/goufeng928/public

https://github.com/goufeng928/public

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/煮酒与君饮/article/detail/841885
推荐阅读
相关标签
  

闽ICP备14008679号