Instead of inserting (or even burning) multiple CDs to install software in debian you can just use the downloaded ISOs.
GUI METHOD
My iso images are stored in /home/user/isos/ and are named debian1.iso debian2.iso debian3.iso Adjust the following commands for your storage location and filenames. Also, replace user with your username.
I create three folders in my /home/user/isos/ directory called iso1, iso2, and iso3.
I use my favorite text editor with root privileges to open /etc/fstab and add the following entries to the bottom of the file
/home/user/isos/debian1.iso /home/user/isos/iso1/ udf,iso9660 user,loop 0 0
/home/user/isos/debian2.iso /home/user/isos/iso2/ udf,iso9660 user,loop 0 0
/home/user/isos/debian3.iso /home/user/isos/iso3/ udf,iso9660 user,loop 0 0
Then I add the following repositories to synaptic
file:/home/user/isos/iso1 lenny main
file:/home/user/isos/iso2 lenny main
file:/home/user/isos/iso3 lenny main
(The first part is the URI, the second is the Distribution(lenny), the third is the Section(main))
Reboot and then after that the ISOs should be mounted and available in synaptic. Be sure to click reload in synaptic...
CLI METHOD
My iso images are stored in /home/user/isos/ and are named debian1.iso debian2.iso debian3.iso Adjust the following commands for your storage location and filenames. Also, replace user with your username.
I create three folders in my /home/user/isos/ directory called iso1, iso2, and iso3.
mkdir /home/user/isos/{iso1,iso2,iso3} -p
add the proper entries to /etc/fstab
su -c 'echo /home/user/isos/debian1.iso /home/user/isos/iso1/ udf,iso9660 user,loop 0 0 >> /etc/fstab'
su -c 'echo /home/user/isos/debian2.iso /home/user/isos/iso2/ udf,iso9660 user,loop 0 0 >> /etc/fstab'
su -c 'echo /home/user/isos/debian3.iso /home/user/isos/iso3/ udf,iso9660 user,loop 0 0 >> /etc/fstab'
add the proper entries to /etc/apt/sources.list
su -c 'echo deb file:/home/user/isos/iso1 lenny main >> /etc/apt/sources.list'
su -c 'echo deb file:/home/user/isos/iso2 lenny main >> /etc/apt/sources.list'
su -c 'echo deb file:/home/user/isos/iso3 lenny main >> /etc/apt/sources.list'
mount the isos
mount /home/user/isos/iso1/
mount /home/user/isos/iso2/
mount /home/user/isos/iso3/
then apt-get update and you should be good to go
++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++ OLDER VERSION +++++++++++++
++++++++++++++++++++++++++++++++++++++++++++
Instead of inserting (or even burning) multiple CDs to install software in debian you can just use the downloaded ISOs.
This method assumes you are going to keep the ISOs and folders available, the ISOs will be mounted at boot time automatically and you will be able to install software from them at any time.
Be sure to replace any instance of my-user-name with your username.
I create a folder in /home/my-user-name/ called isos
I store my downloaded isos in /home/my-user-name/isos/ and the isos are named debian1.iso debian2.iso debian3.iso
I create three folders in my /home/my-user-name/isos/ directory called iso1, iso2, and iso3.
I use my favorite text editor with root privileges to open /etc/fstab and add the following entries to the bottom of the file:
/home/my-user-name/isos/debian1.iso /home/my-user-name/isos/iso1/ udf,iso9660 user,loop 0 0
/home/my-user-name/isos/debian2.iso /home/my-user-name/isos/iso2/ udf,iso9660 user,loop 0 0
/home/my-user-name/isos/debian3.iso /home/my-user-name/isos/iso3/ udf,iso9660 user,loop 0 0
Then I add the following repositories to synaptic
file:/home/my-user-name/isos/iso1 lenny main
file:/home/my-user-name/isos/iso2 lenny main
file:/home/my-user-name/isos/iso3 lenny main
(The first part is the URI, the second is the Distribution(lenny), the third is the Section(main))
Reboot and then after that the ISOs should be mounted and available in synaptic. Be sure to click reload in synaptic...
