Install lrzsz under Linux

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

installlrzszlinux

Manual compilation and installation

  1. Download the installation package, wget https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz 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

a)

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. https://en.javamana.com/2022/328/202211242108078206.html