Linux lrzsz basic tutorial

  
 

I. Manually compile and install

1, download the installation package, wget https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz or upload the downloaded installation Package lrzsz

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) will prompt configure : error: no acceptable cc found in $PATH, meaning missing gcc command, need to install gcc

b) Manually installing gcc is more troublesome, all choose to use yum installation

c) yum install gcc

8, compile: make

9, install: make install

10, cd /usr/bin

11, ln -s /usr/Local/bin/lrz rz

12, ln -s /usr/local/bin/lsz sz

13, enter the command: rz



Installation is successful!

II. Install using yum

yum -y install lrzsz

Copyright © Windows knowledge All Rights Reserved