Mount ISO as Local Source in Debian
To mount an ISO image as a local source on a Debian system, you can follow these steps:
- The iso mount directory
sudo mkdir /mnt/iso
- climb
- The location of your iso file is: /path/to/your/iso.iso
sudo mount -o loop /path/to/your/iso.iso /mnt/iso
- The file /etc/apt/sources.list.
deb file:/mnt/iso/ stretch main
The current version of Debian you are using is called “Stretch,” but you can replace it with the version you’re using.
- Update the local software package list.
sudo apt-get update
You can now install software packages using the local ISO image. If you no longer need to mount the ISO file, you can uninstall it using the following command:
sudo umount /mnt/iso