我有一台机器,一台64 ubuntu服务器Natty(11.04) 我需要安装一个编译器(基本上就是“apt-get build-essential”) 但我没有连接
我到目前为止尝试使用apt-offline;它没有用。 不能使用Keryx,因为我没有该服务器的桌面.... 由于同样的原因,不能使用Synaptic 也尝试下载debian软件包(gcc,g ++,cpp,libc6等),但依赖项和配置驱使我疯了
有人建议吗?
由于
答案 0 :(得分:0)
apt-offline就是为了这个目的而写的。它有一个选项,涵盖了构建依赖关系的用例。
rrs@learner:~$ apt-offline set -h
usage: apt-offline set [-h] [--verbose] [--simulate]
[--install-packages [PKG [PKG ...]]]
[--install-src-packages [SOURCE PKG [SOURCE PKG ...]]]
[--src-build-dep] [--release release_name] [--update]
[--upgrade] [--upgrade-type upgrade]
[--generate-changelog] [--apt-backend apt-get]
apt-offline.sig
positional arguments:
apt-offline.sig Generate a signature file
optional arguments:
-h, --help show this help message and exit
--verbose Enable verbose messages
--simulate Just simulate. Very helpful when debugging
--install-packages [PKG [PKG ...]]
Packages that need to be installed
--install-src-packages [SOURCE PKG [SOURCE PKG ...]]
Source Packages that need to be installed
--src-build-dep Install Build Dependency packages for requested source
packages
--release release_name
Release target to install packages from
--update Generate Signature to update APT Database
--upgrade Generate Signature of packages to be upgraded
--upgrade-type upgrade
Type of upgrade to do. Use one of upgrade, dist-
upgrade, dselect-ugprade
--generate-changelog Generate changelog of the version to be downloaded
--apt-backend apt-get
APT backend to use. One of: apt, apt-get, python-apt
2017-01-22 / 19:05:24 ♒♒♒ ☺