개발

네트워크 없이 iso 로부터 기본 패키지 설치

eun2ce 2022. 8. 6. 12:16

Make a directory to mount the ISO –

sudo mkdir -p /mnt/mount-iso/

Now, we will mount the ISO image on /mnt/mount-iso/ through mount command –

mount -o loop /path/to/ubuntu-19.10-desktop-amd64.iso /mnt/mount-iso/

Open /etc/apt/sources.list in a text editor, we have used nano.

sudo nano /etc/apt/sources.list

And, add the following entries in /etc/apt/sources.list

deb file:/mnt/mount-iso eoan main

and, run

sudo apt update

 

ref. https://askubuntu.com/questions/4694/how-to-use-a-iso-image-as-a-cd-rom-repository