unzip--离线安装

centos 7

查看系统版本

[root@localhost work]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@localhost work]# uname -a
Linux localhost.localdomain 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost work]# arch
x86_64

下载rpm 安装包

https://pkgs.org/

网盘链接: 链接:https://pan.baidu.com/s/1GMGEdMzZ6iAB3iHiOnR8TA 提取码:rert

rpm安装

rpm -ivh unzip-6.0-21.el7.x86_64.rpm

准备中...                          ################################# [100%]
正在升级/安装...
   1:unzip-6.0-21.el7                 ################################# [100%]

ubuntu 20

查看系统版本

[root@localhost work]# cat /proc/version
Linux version 5.4.0-90-generic (buildd@lgw01-amd64-054) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021
[root@localhost work]# uname -a
Linux localhost.localdomain 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost work]# arch
x86_64
[root@localhost work]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

下载deb安装包

https://pkgs.org/

网盘链接: 链接:https://pan.baidu.com/s/1xIZP8kLYdKVk0hsK4VIhkg 提取码:q0m8

dpkg 安装

sudo dpkg -i unzip_6.0-25ubuntu1_amd64.deb

Selecting previously unselected package unzip.
(Reading database ... 71815 files and directories currently installed.)
Preparing to unpack unzip_6.0-25ubuntu1_amd64.deb ...
Unpacking unzip (6.0-25ubuntu1) ...
Setting up unzip (6.0-25ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...


posted @ 2023-03-01 21:07  When?  阅读(881)  评论(0编辑  收藏  举报