如何将 LXDE 离线安装到 debian 中?

如何将 LXDE 离线安装到 debian 中?

我正在运行最新版本的 Debian,仅命令行。电脑是离线。不要让我在线获取它,因为我不能。

我想安装桌面环境 LXDE,但我没有 CD,机器也没有互联网。我在哪里以及如何获取用于 gnome 控制台的 LXDE(或任何其他 DE)并从闪存驱动器或其他可移动媒体(例如外部硬盘驱动器)安装它?是否有一个软件包安装程序,我可以直接将其从闪存驱动器中移出并安装它?

互联网上几乎没有任何内容告诉我如何做到这一点。所有的回复都是“apt-get”,我必须在线才能使用,对吗?

答案1

使用apt-offline

Package: apt-offline
Maintainer: Ritesh Raj Sarraf <[email protected]>
Architecture: all
Depends: python, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-argparse,
         apt, less, python-magic
Recommends: python-soappy, debian-archive-keyring, python-lzma
Description-en: offline APT package manager
 apt-offline is an Offline APT Package Manager.
 .
 apt-offline can fully update and upgrade an APT based distribution without
 connecting to the network, all of it transparent to APT.
 .
 apt-offline can be used to generate a signature on a machine (with no network).
 This signature contains all download information required for the APT database
 system. This signature file can be used on another machine connected to the
 internet (which need not be a Debian box and can even be running windows) to
 download the updates.
 The downloaded data will contain all updates in a format understood by APT and
 this data can be used by apt-offline to update the non-networked machine.
 .
 apt-offline can also fetch bug reports and make them available offline.
Homepage: http://apt-offline.alioth.debian.org

您需要apt-offline首先手动下载软件包及其所有依赖项(尚未安装)并将其复制到 USB 记忆棒或 CD 或其他东西,但是一旦完成并使用 来安装它们dpkg,您就可以apt-offline使用安装和升级其他软件包。

相关内容