Article 5880A Need to install rsync (possibly others) on older Debian 6 box with no internet access

Need to install rsync (possibly others) on older Debian 6 box with no internet access

by
plisken
from LinuxQuestions.org on (#5880A)
I'm pretty new to Debian and package managers generally if I'm honest and would appreciate some information.

I have a couple of servers running Debian 6 & 7 in a production environment which are not connected to the internet so cant use;

apt-get install newPackage

but wondering if it's possible to download the package I want and install it without worrying over the install making changes or breaking something else.

would it be possible to download, for example rsync from:

https://packages.debian.org/stretch/rsync

and install with:

sudo apt install ./rsync_3.1.2-1+deb9u2_amd64.deb

My concerns are that;

1). This needs other dependencies that cant be resolved, seeing that it's isolated from the internet.
2). Installing this (and others) might break something that may not seem to me, to be related.

The other thought I had was to setup a repository, perhaps on a usb drive that I can add to /etc/apt/sources.list Is this worthwhile and/or simple enough to do? considering I'm only really wanting to add a few packages, mainly for the time being rsync.

All replies and advice is appreciated...latest?d=yIl2AUoC8zA latest?i=V3f64JgVVYc:un0mVnJe1Q0:F7zBnMy latest?i=V3f64JgVVYc:un0mVnJe1Q0:V_sGLiP latest?d=qj6IDK7rITs latest?i=V3f64JgVVYc:un0mVnJe1Q0:gIN9vFwV3f64JgVVYc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments