P
P
programmer00112019-07-04 18:37:40
linux
programmer0011, 2019-07-04 18:37:40

Does apt-get have a command to build a package for chroot?

It is necessary to download all the libs, and unpack everything into one folder.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2019-07-04
@pfg21

download via apt-get with the -d (download only) option
will download packages to a local directory.
install via dpkg --root=/path/to/dir

V
Vladimir, 2019-07-04
@MechanID

As far as I know, apt-get can't do that, but dpkg has --instdir=dir and --unpack options, maybe this will allow you to do what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question