我正在运行Debian的最新版本,仅限命令行。电脑离线了。不要让我上网,因为我做不到。
我想安装桌面环境LXDE,但我没有CD和没有互联网的机器。在何处以及如何获得gnome控制台的LXDE (或任何其他DE),并从闪存盘或其他可移动媒体(如外部硬盘)安装它?是否有一个包安装程序,我可以移出闪存盘,并安装它?
互联网上几乎什么都没有告诉我该怎么做。所有的回复都是我必须上网才能使用的"apt-get“,对吗?
发布于 2016-03-27 00:08:44
使用apt-offline:
Package: apt-offline
Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
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首先,您需要手动下载并复制到USBS棍或CD或其他东西,即apt-offline包及其所有依赖项(尚未安装),但是一旦完成了这些操作并与dpkg一起安装,您就可以使用apt-offline安装和升级其他软件包了。
https://unix.stackexchange.com/questions/272382
复制相似问题