1.下载依赖包
离线状态下,先找一个可以连外网的机器,安装vmware,安装同版本的openEuler22.03系统后,下载依赖包
yum install --downloadonly --downloaddir=/work lrzsz yum install --downloadonly --downloaddir=/work g++ yum install --downloadonly --downloaddir=/work zip unzip yum install --downloadonly --downloaddir=/work vim-enhanced yum install --downloadonly --downloaddir=/work pcre yum install --downloadonly --downloaddir=/work pcre-devel yum install --downloadonly --downloaddir=/work zlib yum install --downloadonly --downloaddir=/work zlib-devel
2.安装依赖包
将/work里包拷到待部署的机器上
rpm -Uvh *.rpm --nodeps --force
3.输入rz命令,验证lrzsz安装,弹出文件选择框为成功
4.验证GCC/G++
gcc -v g++ -v
标签:openEuler22.03,downloaddir,--,downloadonly,work,Fastdfs,yum,install,安装 From: https://www.cnblogs.com/wwzd/p/18334473