linux install rz and sz

method one

  1. Simple, no extra steps required

    yum install lrzsz
    

Way two

  1. Download the installation package

    wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
    
  2. Unzip to the specified directory

    tar -zxvf lrzsz-0.12.20.tar.gz -C /usr/local
    
  3. Configure the installation path

    # 这里可能会缺少缺少GCC编译器:【yum install gcc gcc-c++ gcc-g77】
    ./configure
    
  4. Compile & install

    make && make install
    
  5. Create soft link

    # 上面安装过程默认把lsz和lrz安装到了/usr/local/bin/目录下
    cd /usr/local/bin
    
    1. Create a soft link for rz and name it rz
    ln -s /usr/local/bin/lrz rz
    
    1. Create a soft link of sz and name it sz
    ln -s /usr/local/bin/lsz sz
    

Guess you like

Origin blog.csdn.net/qq_36336332/article/details/115274263