Install lrzsz under Linux

share a drink no 2022-11-24 21:17:25 阅读数:225


Manual compilation and installation

  1. Download the installation package, wget Or upload the downloaded installation
  2. cd /usr/local/src/
  3. mkdir lrzsz
  4. cd lrzsz/
  5. Decompression: tar -xvf lrzsz-0.12.20.tar.gz
  6. cd lrzsz-0.12.20
  7. Execute configuration: ./configure

a) It will prompt configure: error: no acceptable cc found in $PATH, which means that the gcc command is missing and gcc needs to be installed b) Manually installing gcc is more troublesome, so choose to use yum to install c) yum install gcc

  1. Compile: make
  2. Installation: make install
  3. cd /usr/bin
  4. ln -s /usr/local/bin/lrz rz
  5. ln -s /usr/local/bin/lsz sz
  6. Enter command: rz


b) Installation succeeded!

Use yum to install

yum -y install lrzsz
copyright:author[share a drink no],Please bring the original link to reprint, thank you.