User:Vazhnov/Offline usage

Some Article description::notes about offline Gentoo install/usage. Maybe useful in organizations with firewalled network, without Internet access.

emerge
To show URLs to download:

Portage offline
Probably the best option is to have a mirror.

Here is description how to create mirror with portage tree (ebuilds): Local Mirror.

Also you need Local distfiles cache.

Python pip/pypi
It is possible to download packages with dependencies in advance:

mkdir /tmp/pip-offline pip install --download /tmp/pip-offline/ ansible

Then use it somewhere: pip install --user --no-index --find-links=file:/tmp/pip-offline/ ansible

Or create fully offline mirror: bandersnatch. But mirror size is about 10TB (at 2020), see PyPI Public Dashboard.

TODO

 * Rust cargo?