سلام،
اگر زمانی بخواهید برای یک سیستم لینوکسی که ارتباط اینترنتی ندارد از امکان yum استفاده کنید به روش زیر عمل کنید.
حوزه عمل برای سیستم های redhat base
vi /etc/yum.conf
add this line perhaps at the end of the file
proxy=socks5://ip:port
may be you need DNS request send and receive through this channel, so use this instead
proxy=socks5h://ip:port