Jump to: navigation, search

Customizing Ubuntu Desktop CD

1 byte removed, 01:02, 28 June 2008
Adding packages
===Adding packages===
For the sake of simplicity, let's assume that you have collected all the packages you want to add in a separate directory <code>new/debs</code> relative to your working directory. That is, there's <code>new</code> dir with the subdir <code>debs</code> where all the deb packages are collected. Let's copy all these packages onto the target filesystem (any place will do for now, but I chose <code>/root</code>): <pre>cp new/debs/* squash/root/</pre> Then we will prepare <code>chroot</code> environment like so: <pre>mount -t proc proc squash/proc
mount -t sysfs sysfs squash/sys</pre> and then we will "change root" (<code>chroot</code>) to that target filesystem and install packages. <pre>chroot squash dpkg -i /root/gramps_3.0.1-1_all.deb</pre> Changing root means we will see '''only''' the target filesystem as if we were trully truly running it it and it were our root filesystem. So the above command changes root to <code>squash</code> and then runs <code>dpkg -i /root/gramps_3.0.1-1_all.deb</code> command to install GRAMPS. You will need to repeat that line for every package you want to install. After you are done, remove the debs from the <code>/root</code> of the target: <pre>rm squash/root/*.deb</pre>
===Other customizations===

Navigation menu