ubuntu net-tools

刚刚重新安装完系统,使用ifconfig,

1、查询可以正常apt安装信息

 

2、下载net-tools对应的deb包

打开https://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/5/

ubuntu net-tools

找到net-tools所在条目点击进去:

https://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb.html

ubuntu net-tools

选择net-tools

https://pkgs.org/download/net-tools

ubuntu net-tools

来到最终有下载信息的页面

https://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb.html

ubuntu net-tools

找到上边Binary Package网址,wget下载

终端执行wget http://archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb

3、sudo dpkg -i .....deb

4、ifconfig

执行ifconfig看是否可用

[email protected]:~$ apt-cache depends net-tools
 net-tools
  依赖: libc6
  依赖: libselinux1
  冲突: <ja-trans>
  替换: <ja-trans>
  替换: netbase

[email protected]:~$ apt show net-tools
Package: net-tools
Version: 1.60+git20161116.90da8a0-1ubuntu1
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: net-tools Team <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 803 kB
Depends: libc6 (>= 2.14), libselinux1 (>= 1.32)
Conflicts: ja-trans (<= 0.8-2)
Replaces: ja-trans (<= 0.8-2), netbase (<< 4.00)
Homepage: http://sourceforge.net/projects/net-tools/
Task: dns-server, cloud-image, server, xubuntu-desktop, ubuntustudio-desktop, ubuntu-mate-core, ubuntu-mate-desktop
Supported: 5y
Download-Size: 194 kB
APT-Manual-Installed: yes
APT-Sources: https://mirrors.ustc.edu.cn/ubuntu bionic/main amd64 Packages
Description: NET-3 networking toolkit
 本软件包包括用于控制 Linux 内核网络子系统的重要工具。包括 arp、ifconfig、 netstat、rarp、 nameif 和
 route。另外,该软件包还包含与特定网络硬件类型 (plipconfig、slattach、mii-tool)和 IP
 高级配置(iptunnel、ipmaddr)相关的工具。
 .
 上游软件包还包括 'hostname' 和相关的内容。但它们并不包含在本软件包内,这是 因为还有一个专门的 "hostname*.deb" 存在。