a 解压软件 gzip压缩的 gzip -d [文件名] tar.gz格式 tar -zxvf [文件名] b 添加运行权限 chmod +x [文件名] c 移动到/usr/local/bin 该目录下可被终端自动发现 sudo mv [文件名] /usr/local/bin