bte365官网

ubuntu中apt-get安装后的包,如何寻找他的离线deb包以及安装方式

发布时间: 2025-07-11 06:31:42 作者: admin 阅读量: 1200 评论数: 86

如何找寻deb包

第一种方法

sudo apt-get install libuuid1 之后会在路径 /var/cache/apt/archives下有对应的deb包,例如:

ubuntu@VM-0-7-ubuntu:/var/cache/apt/archives$ ls

libuuid1_2.27.1-6ubuntu3.6_amd64.deb lock partial

第二种方法

还可以利用另一种方式,输入命令查询他的包信息: apt-cache show libuuid1 得到如下信息:

Package: libuuid1

Architecture: amd64

Version: 2.27.1-6ubuntu3.6

Multi-Arch: same

Priority: required

Section: libs

Source: util-linux

Origin: Ubuntu

Maintainer: Ubuntu Developers

Original-Maintainer: Debian util-linux Maintainers

Bugs: https://bugs.launchpad.net/ubuntu/+filebug

Installed-Size: 113

Depends: passwd, libc6 (>= 2.4)

Recommends: uuid-runtime

Replaces: e2fsprogs (<< 1.34-1)

Filename: pool/main/u/util-linux/libuuid1_2.27.1-6ubuntu3.6_amd64.deb

Size: 15118

MD5sum: 580dd86a35d0df82809d5ec1c61d0086

SHA1: 48ce4318417c951b0e38f2d3c119afa41e9d2919

SHA256: c03d93e85e4fdf6fbb3219155a0eb8f474b88573a674ab4412eb9c5dca17aae6

Description-en: Universally Unique ID library

The libuuid library generates and parses 128-bit Universally Unique

IDs (UUIDs). A UUID is an identifier that is unique within the space

of all such identifiers across both space and time. It can be used for

multiple purposes, from tagging objects with an extremely short lifetime

to reliably identifying very persistent objects across a network.

.

See RFC 4122 for more information.

Description-md5: f31dd3d34d42a99fedd60c9fb7d79469

Task: minimal

Supported: 5y

Package: libuuid1

Priority: required

Section: libs

Installed-Size: 112

Maintainer: Ubuntu Developers

Original-Maintainer: Debian util-linux Maintainers

Architecture: amd64

Source: util-linux

Version: 2.27.1-6ubuntu3

Replaces: e2fsprogs (<< 1.34-1)

Depends: passwd, libc6 (>= 2.4)

Recommends: uuid-runtime

Filename: pool/main/u/util-linux/libuuid1_2.27.1-6ubuntu3_amd64.deb

Size: 15720

MD5sum: cf6a02744db6205ad318ba00bfcfa140

SHA1: 910900d80ee1d93be5bf6be72a1790c52050c48c

SHA256: 32a73684f7292a99544a4173b0ecc97b95a9f30f4dfbb392bd7d7c08b87948cd

Description-en: Universally Unique ID library

The libuuid library generates and parses 128-bit Universally Unique

IDs (UUIDs). A UUID is an identifier that is unique within the space

of all such identifiers across both space and time. It can be used for

multiple purposes, from tagging objects with an extremely short lifetime

to reliably identifying very persistent objects across a network.

.

See RFC 4122 for more information.

Description-md5: f31dd3d34d42a99fedd60c9fb7d79469

Multi-Arch: same

Bugs: https://bugs.launchpad.net/ubuntu/+filebug

Origin: Ubuntu

Supported: 5y

Task: minimal

其中有一行: Filename: pool/main/u/util-linux/libuuid1_2.27.1-6ubuntu3_amd64.deb 之后可以用如下地址下载: http://archive.ubuntu.com/ubuntu/pool/main/u/util-linux/libuuid1_2.27.1-6ubuntu3_amd64.deb

其实就是在Filename前加入:“http://archive.ubuntu.com/ubuntu/”

如何安装

sudo dpkg -i xxx.deb

相关文章