CentOS 8 - Yum offline install

Sometimes you need to install a package in an environment where you cannot use the Internet. Prepare another computer First, prepare a computer with an OS installed, such as the offline computer. In this case, use yum to install the package you want to install on another computer with Internet. Creating a virtual machine using VMWare or VirtualBox simplifies your work. Be careful : Both computers' OS must be same. And it is recommended not to issue commands such as "yum update" because all packages should have the same versions. Most of the offline servers have not been updated by "yum update" command because they cannot connect to the Internet. So in this case, even your virtual machine doesn't do a yum update. Enable CentOS 8 Repo The following yum error occurs when you do yum related task. ``` bash Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist ``` Problem Convert the existing Mir...