Commands to use when mounting ISO and installing packages from ISOs.
1. copy over all the ISO images over to the server you want to use
2. Create a directory in /media/ call it mountpoint1 i.e >> mkdir
/media/mountpoint1
3. edit /etc/fstab and add the this line /path/to/ISO/<debian-7.....iso>
/media/dvd-mountpoint1 iso9660 loop,ro,user,auto 0 0
4. then mount the ISO image using this command : mount
/media/dvd-mountpoint3
5. edit /etc/apt/sources.list and add this line deb
file:/media/dvd-mountpoint1 wheezy main contrib
6. then run this command apt-get-update
7. Once you have run the above commands with no errors then you can start
installing the packages by running
apt-get install <package name>
the installer will look for all the repository files in the ISO image
set
in the sources list.
7 very simple steps to a happy debain life.
--
View this message in context:
http://debian.2.n7.nabble.com/How-to-use-the-debian-installation-iso-for-installing-packages-using-aptitude-tp3026058p3324000.html
Sent from the Debian User mailing list archive at Nabble.com.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]