Offline installation of dependency packages under Kylin system

1. Install Kylin dependency packages offline

The packages installed through apt-get install on our online computers will be downloaded to the /var/cache/apt/archives directory. You can extract the required installation dependencies by using the following command:

$sudo apt-get -d install <package name> # Only download but not install

After the download is completed, go to the /var/cache/apt/archives directory and copy it, put it on the non-networked computer to be installed, and use the following command to install it:

$sudo dpkg -i *.deb # The extracted packages are all in .deb format

2. Install minicom offline

First download the installation package and Yilan package on a computer with Internet access

$sudo apt-get –d install minicom* //Installation package

$sudo apt-get –d install libtinfo5* //Yilanbao

Then install the minicom package offline, and all packages will be downloaded to /usr/local/lib/pythonx.x/dist-packages

$sudo dpkg -i *.deb # The extracted packages are all in .deb format

Guess you like

Origin blog.csdn.net/weixin_41687096/article/details/133214728