Minor Project: Submitted By:-SHARAD KUMAR (4 Yr, CSE) Scholar No - 07/01/82 Submitted To
Minor Project: Submitted By:-SHARAD KUMAR (4 Yr, CSE) Scholar No - 07/01/82 Submitted To
Minor Project
On
IN COMPUTER SCIENCE
2010-11
Submitted To:-
E-mail [email protected]
1
CONTENTS
1. Introduction------------------------------------------------------ 3
2. Requirements Check-------------------------------------------- 4
3. Setup.sh----------------------------------------------------------- 5
4. Copyresources.sh------------------------------------------------ 6
5. Apply_gconf_settings.sh--------------------------------------- 7-8
6. Apply_themes_changes.sh------------------------------------- 8-11
7. Lsbrelease-------------------------------------------------------- 12
8. Modify_sourcelist.sh-------------------------------------------- 12-13
9. Add_or_remove_packages.sh---------------------------------- 13-16
2
Introduction:
There are always many ways to accomplish a single task.The same can be said about
Linux distributions. A great many have existed over the years. Some still exist, some
have morphed into something else, yet others have been relegated to our memories.
They all do things differently to suit the needs of their target audience. Because so
many different ways to accomplish the same end goal exist, I began to realize I no
longer had to be limited by any one implementation. Prior to discovering Linux, we
simply put up with issues in other Operating Systems as you had no choice. It was
what it was, whether you liked it or not. With Linux, the concept of choice began to
emerge. If you didn't like something, you were free, even encouraged, to change it.
I tried a number of distributions and could not decide on any one. They were great
systems in their own right. It wasn't a matter of right and wrong anymore. It had be-
come a matter of personal taste. With all that choice available, it became apparent
that there would not be a single system that would be perfect for me. So I set out to
create my own Linux system that would fully conform to my personal preferences. To
truly make it my own system, I resolved to compile everything from source code
instead of using pre-compiled binary packages. This “perfect” Linux system would
have the strengths of various systems without their perceived weaknesses.
Requirements :-
• Bash-2.05a (/bin/sh should be a symbolic or hard link to bash)
• Binutils-2.12 (Versions greater than 2.20 are not recommended )
• Bison-1.875 (/usr/bin/yacc should be a link to bison or small script that
executes bison)
• Bzip2-1.0.2
• Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0, and Fileutils-4.1)
• Diffutils-2.8
• Findutils-4.1.20
• Gawk-3.0 (/usr/bin/awk should be a link to gawk)
• Gcc-3.0.1 (Versions greater than 4.4.3 are not recommended )
• Glibc-2.2.5 (Versions greater than 2.11.1 are not recommended)
• Grep-2.5
• Gzip-1.2.4
• Linux Kernel-2.6.18 (having been compiled with GCC-3.0 or greater)
3
To check above requirements :-
#!/bin/bash
export LC_ALL=C
# Simple script to list version numbers of critical development tools
bash --version | head -n1 | cut -d" " -f2-4
echo "/bin/sh -> `readlink -f /bin/sh`"
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
if [ -e /usr/bin/yacc ];
then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
else echo "yacc not found"; fi
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
echo -n "Coreutils: ";
chown --version | head -n1 | cut -d")" -f2
diff --version | head -n1
find --version | head -n1
gawk --version | head -n1
if [ -e /usr/bin/awk ];
then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
gcc --version | head -n1
/lib/libc.so.6 | head -n1 | cut -d"," -f1
grep --version | head -n1
gzip --version | head -n1
cat /proc/version
m4 --version | head -n1
make --version | head -n1
patch --version | head -n1
echo Perl `perl -V:version`
sed --version | head -n1
tar --version | head -n1
echo "Texinfo: `makeinfo --version | head -n1`"
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
if [ -x dummy ];
then echo "Compilation OK";
else echo "Compilation failed"; fi
rm -f dummy.c dummy
4
SETUP.sh
#!/bin/bash
export HOME=/etc/skel
./Apply_Gconf_Setting.sh
############################################
./Modify_SourceList.sh
apt-get update
./Add_Remove_Packages.sh
## install wine
rm /etc/apt/sources.list
cp ./sources.list.backup /etc/apt/sources.list
######################################################################
exit 0
CopyResources.sh
5
sudo cp ./"How to create Live USB.pdf" ~/tmp/remaster-iso/
#######################################################
#TODO -- this will copy your SVN directory too so you need to modify these commands BUt tmp
folder will be deleted IMO so no need to worry much.
cp -R Ebooks ~/tmp/remaster-root/tmp
cp -R images ~/tmp/remaster-root/tmp
cp -R nautilus-scripts ~/tmp/remaster-root/tmp
cp -R Templates ~/tmp/remaster-root/tmp
cp -R slides ~/tmp/remaster-root/tmp
cp *.sh ~/tmp/remaster-root/tmp
cp bashrc ~/tmp/remaster-root/tmp
mkdir -p ~/tmp/remaster-root/tmp/gedit-extra
cp -v gedit-extra/compile ~/tmp/remaster-root/tmp/gedit-extra
cp -v gedit-extra/run ~/tmp/remaster-root/tmp/gedit-extra
cp lsb-release ~/tmp/remaster-root/tmp
cp meiga_0.3.3-1_i386.deb ~/tmp/remaster-root/tmp
cp google-chrome-beta_current_i386.deb ~/tmp/remaster-root/tmp
cp addakirad.deb ~/tmp/remaster-root/tmp
6
Apply_Gconf_Setting.sh
#!/bin/bash
7
#### Making Single Workspace
exit 0
#!/bin/bash
cp images/start-here.svg /usr/share/icons/Humanity/places/16/start-here.svg
cp images/start-here.svg /usr/share/icons/Humanity/places/22/start-here.svg
cp images/start-here.svg /usr/share/icons/Humanity/places/24/start-here.svg
cp images/start-here.svg /usr/share/icons/Humanity/places/32/start-here.svg
cp images/start-here.svg /usr/share/icons/Humanity/places/48/start-here.svg
8
cp images/start-here.svg /usr/share/icons/Humanity/places/64/start-here.svg
########## Set Splash Screen + GDM Login Back Ground ##########################
rm /usr/share/images/xsplash/*.jpg
cp images/bg_1024x768.jpg /usr/share/images/xsplash/
cp images/bg_800x600.jpg /usr/share/images/xsplash/
cp images/bg_1280x1024.jpg /usr/share/images/xsplash/
cp images/bg_1440x900.jpg /usr/share/images/xsplash/
cp images/bg_1680x1050.jpg /usr/share/images/xsplash/
cp images/bg_1920x1200.jpg /usr/share/images/xsplash/
cp images/bg_2560x1600.jpg /usr/share/images/xsplash/
cp images/logo_xtra_large.png /usr/share/images/xsplash/
cp images/logo_large.png /usr/share/images/xsplash/
cp images/logo_small.png /usr/share/images/xsplash/
cp images/logo_medium.png /usr/share/images/xsplash/
cp images/schoolos-grub-image.tga /boot/grub/
cp images/05_debian_theme /etc/grub.d/05_debian_theme
cp images/grub /etc/default/grub
cp images/header.png /usr/share/ubuntu-docs/libs/img/
cp images/headerlogo.png /usr/share/ubuntu-docs/libs/img/
cp images/ubuntuheader.png /usr/share/ubuntu-docs/libs/img/
cp images/headerlogo1.png /usr/share/ubuntu-artwork/img/headerlogo.png
cp images/schoolos-wallpaper.png /usr/share/backgrounds/schoolos-wallpaper.png
9
########## Copy Templates ############################################
cp -R ./Templates /etc/skel/
cp -R /root/.gconf /etc/skel/
mkdir -p /etc/skel/.gnome2/nautilus-scripts
cp lsb-release /etc/lsb-release
cp images/hi-remington.mim /usr/share/m17n/hi-remington.mim
rm -v /etc/skel/.bashrc
cp -v bashrc /etc/skel/.bashrc
cp -R ./Ebooks /usr/share/
mkdir -p /etc/skel/Desktop
ln -s /usr/share/Ebooks /etc/skel/Desktop/
cp images/Ebooklogo.png /usr/share/images/
10
##### remove Example Folder from Desktop
rm -v /etc/skel/examples.desktop
cp /usr/share/applications/gnomecc.desktop /etc/skel/Desktop/
cp /usr/share/applications/firefox.desktop /etc/skel/Desktop/
cp /usr/share/applications/openoffice.org-impress.desktop /etc/skel/Desktop/
cp /usr/share/applications/openoffice.org-writer.desktop /etc/skel/Desktop/
cp /usr/share/applications/gnome-system-monitor.desktop /etc/skel/Desktop/
mkdir -p /etc/skel/.gnome2/gedit/tools
cp -v /tmp/gedit-extra/compile /etc/skel/.gnome2/gedit/tools
cp -v /gedit-extra/run /etc/skel/.gnome2/gedit/tools
mkdir -p /etc/skel/Pictures
ln -s /usr/share/backgrounds /etc/skel/Pictures/
cp -R ./slides/icons/*.png /usr/share/ubiquity-slideshow/slides/icons/
cp -R ./slides/*.html /usr/share/ubiquity-slideshow/slides/
exit 0
11
lsb-release
DISTRIB_ID=ECBlinux
DISTRIB_RELEASE=1.0
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="ECBlinux 1.0"
Modify_SourceList.sh
#!/bin/bash
##### No need to run sudo, are you are copying into tmp
cp /etc/apt/sources.list ./sources.list.backup
dpkg -i addakirad.deb
if [ "$1" == "lucid"]
then
sudo sh -c 'echo "deb http://127.0.0.1/ubuntu/ lucid main universe multiverse restricted" >>
/etc/apt/sources.list'
else
12
##### for firefox 3.6 - this is not working
##add-apt-repository ppa:mozillateam/firefox-stable
sudo sh -c 'echo "deb http://127.0.0.1/ubuntu/ karmic main universe multiverse restricted" >>
/etc/apt/sources.list'
fi
exit 0
Add_Remove_Packages.sh
#!/bin/bash
apt-get install -y grsync supertux okular okular-extra-backends freemind vym gnochm unrar-free
gnote rednotebook gnucash scribus scribus-template kile compizconfig-settings-manager spider
gparted gdesklets blueman build-essential openssh-server libapache2-mod-auth-mysql mysql-admin
byzanz pdfjam pdfedit pdftk pdfshuffler unoconv gcu-bin bluefish kompozer nmap freeglut3-dev
libglu1-mesa-dev wvdial gnome-schedule vrms
13
######## Image Sound and media Related Applications #######
apt-get install -y inkscape gthumb vlc mozilla-plugin-vlc winff ffmpeg ffmpeg2theora oggconvert
audacity cheese gtk-recordmydesktop recordmydesktop vorbis-tools dir2ogg oggfwd oggz-tools
ogmtools miro pitivi moovida
apt-get install -y \
pidgin \
pidgin-facebookchat \
pidgin-plugin-pack \
pidgin-privacy-please \
pidgin-themes \
pidgin-guifications \
pidgin-encryption \
pidgin-musictracker
apt-get install -y \
nautilus-actions \
nautilus-cd-burner \
nautilus-clamscan \
nautilus-filename-repairer \
nautilus-gksu \
14
nautilus-image-converter \
nautilus-open-terminal \
nautilus-script-audio-convert \
nautilus-script-collection-svn
nautilus-script-manager \
nautilus-share \
nautilus-wallpaper \
ooo-thumbnailer \
phatch-nautilus \
apt-get install -y tuxpaint ktouch gobby stardict stardict-gnome stardict-tools k3b kalgebra kmplot
kwordquiz kanagram kig kalzium plotdrop drgeo dia celestia celestia-gnome stellarium stellarium-
data ghemical blender octave-linear-algebra scilab gambas2 scratch kturtle bkchem
dpkg -i google-chrome-beta_current_i386.deb
dpkg -i meiga_0.3.3-1_i386.deb
### TODO When you try to install wine, it try to install mscorefonts etc which are non-free
15
##### Other Utilities ######
exit 0
PROCESS LOG
$sudo uck-remaster-clean
[~]
[~]
$sudo uck-remaster-unpack-rootfs
[~]
$cd Desktop/Ubuntu/
[~/Desktop/Ubuntu]
$./CopyResources.sh
[~/Desktop/Ubuntu]
$sudo uck-remaster-chroot-rootfs
16
Copying resolv.conf...
root@mascarandes-desktop:/# cd /tmp/
root@mascarandes-desktop:/tmp# ./Apply_Gconf_Setting.sh
17
`./nautilus-scripts/Files/Split File' -> `/etc/skel/.gnome2/nautilus-scripts/Files/Split File'
removed `/etc/skel/.bashrc'
removed `/etc/skel/examples.desktop'
24
removed `/etc/skel/.bashrc'
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp#
root@mascarandes-desktop:/tmp# exit
exit
25
Saving apt cache
Cleaning up apt
Restoring resolv.conf...
[~/Desktop/Ubuntu]
[~/Desktop/Ubuntu]
[~/Desktop/Ubuntu]
[~/Desktop/Ubuntu]
$sudo uck-remaster-pack-rootfs
[===========================================================\] 96993/96993
100%
26
Exportable Squashfs 4.0 filesystem, data block size 131072
Number of uids 10
root (0)
man (6)
daemon (1)
couchdb (106)
hplip (103)
mascarandes (1000)
27
avahi-autoipd (104
[~/Desktop/Ubuntu]
Updating md5sums...
~/tmp/remaster-iso ~/Desktop/Ubuntu
~/Desktop/Ubuntu
28
HOW TO
In this article, the partition which will host the LINUX system is prepared. We will create the
partition itself, create a file system on it, and mount it.
Requests for advice on system partitioning are often posted on the LINUX mailing lists. This is a
highly subjective topic.The default size for most distributions is to use the entire drive with the
exception of one small swap partition. This is not optimal for LINUX for several reasons. It reduces
flexibility, makes sharing of data across multiple distributions or LINUX builds more difficult,
makes backups more time consuming, and can waste disk space through inefficient allocation of file
system structures.
A root LINUX partition (not to be confused with the /root directory) of ten gigabytes is a good
compromise for most systems. It provides enough space to build LINUX and most of BLINUX,
but is small enough so that multiple partitions can be easily created for experimentation.
Most distributions automatically create a swap partition. Generally the recommneded size of the
swap partition is about twice the amount of physical RAM, however this is rarely needed. If disk
space is limited, hold the swap partition to two gigabytes and monitor the amount of disk swapping.
d. Generally you can tell if a system is swapping by just listening to disk activity and observing
how the system reacts to commands. The first reaction to swapping should be to check for an
unreasonable command such as trying to edit a five gigabyte file. If swapping becomes a normal
occurance, the best solution is to purchase more RAM for your system.
29
Convenience Partitions
There are several other partitions that are not required, but should be considered when designing a
disk layout, The following list is not comprehensive, but is meant as a guide.
• /boot – Highly recommended. Use this partition to store kernels and other booting information. To
minimize potential boot problems with larger disks, make this the first physical partition on your
first disk drive. A partition size of 100 megabytes is quite adequate.
• /home – Highly recommended. Share your home directory and user customization across multiple
distributions or LINUX builds. The size is generally fairly large and depends on available disk
space.
• /usr – A separate /usr partition is generally used if providing a server for a thin client or diskless
workstation. It is normally not needed for LINUX. A size of five gigabytes will handle most
installations.
• /opt – This directory is most useful for BLINUX where multiple installations of large packages
like Gnome or KDE can be installed without embedding the files in the /usr hierarchy. If used, five
to ten gigabytes is generally adequate.
• /tmp – A separate /tmp directory is rare, but useful if coufiguring a thin client. This partition, if
used, will usually not need to exceed a couple of gigabytes.
• /usr/src – This partition is very useful for providing a location to store BLINUX source files and
share them across
LINUX builds. It can also be used as a location for building BLINUX packages. A reasonably large
partition of 30-50 gigabytes allows plenty of room. Any separate partition that you want
automatically mounted upon boot needs to be specified in the /etc/fstab. Details about how to
specify partitions will be discussed in Section 8.2, “Creating the /etc/fstab File”.
Now that a blank partition has been set up, the file system can be created. The most widely-used
system in the Linux world is the second extended file system (ext2), but with newer high-capacity
hard disks, journaling file systems are becoming increasingly popular. The third extended filesystem
(ext3) is a widely used enhancement to ext2 which adds journalling capabilities and is compatible
with the E2fsprogs utilities. We will create an ext3 file system. Instructions for creating other file
systems can be found at http://www.linuxfromscratch.org/bLinux/view/svn/postLinux/
filesystems.html.
To create an ext3 file system on the LINUX partition, run the following:
Replace <xxx> with the name of the LINUX partition (hda5 in our previous example).
Note
Some host distributions use custom features in their filesystem creation tools (E2fsprogs). This can
cause problems when booting into your new LINUX in Article 9, as those features will not be
supported by the LINUX-installed E2fsprogs; you will get an error similar to “unsupported
filesystem features, upgrade your e2fsprogs”. To check if your host system uses custom
enhancements, run the following command:
debugfs -R feature /dev/<xxx>
If the output contains features other than has_journal, ext_attr, resize_inode, dir_index, filetype,
sparse_super, large_file or needs_recovery, then your host system may have custom enhancements.
30
In that case, to avoid later problems, you should compile the stock E2fsprogs package and use the
resulting binaries to re-create the filesystem on your LINUX partition:
cd /tmp
cd e2fsprogs-1.41.10
mkdir -v build
cd build
../configure
cd /tmp
rm -rfv e2fsprogs-1.41.10
If you are using an existing swap partition, there is no need to format it. If a new swap partition
was created. it will need to be initialized with this command:
mkswap /dev/<yyy>
Now that a file system has been created, the partition needs to be made accessible. In order to do
this, the partition needs to be mounted at a chosen mount point. For the purposes of this book, it is
assumed that the file system is
Choose a mount point and assign it to the LINUX environment variable by running:
export LINUX=/mnt/Linux
Next, create the mount point and mount the LINUX file system by running:
If using multiple partitions for LINUX (e.g., one for / and another for /usr), mount them using:
31
mkdir -pv $LINUX
mkdir -v $LINUX/usr
Ensure that this new partition is not mounted with permissions that are too restrictive (such as the
nosuid, nodev, or noatime options). Run the mount command without any parameters to see what
options are set for the mounted LINUX partition. If nosuid, nodev, and/or noatime are set, the
partition will need to be remounted.If you are using a swap partition, ensure that it is enabled using
the swapon command:
/sbin/swapon -v /dev/<zzz>
This article includes a list of packages that need to be downloaded in order to build a basic Linux
system. The listed version numbers correspond to versions of the software that are known to work,
and this book is based on their use. We highly recommend against using newer versions because the
build commands for one version may not work with a newer version. The newest package versions
may also have problems that require work-arounds. These work- arounds will be developed and
stabilized in the development version of the book. Download locations may not always be
accessible. If a download location has changed since this book was published, Google
(http://www.google.com/) provides a useful search engine for most packages.
packages.html#packages.
Downloaded packages and patches will need to be stored somewhere that is conveniently available
throughout the entire build. A working directory is also required to unpack the sources and build
them. $LINUX/sources can be used both as the place to store the tarballs and patches and as a
working directory. By using this directory, the required elements will be located on the LINUX
partition and will be available during all stages of the building process. To create this directory,
execute the following command, as user root, before starting the download session:
mkdir -v $LINUX/sources
Make this directory writable and sticky. “Sticky” means that even if multiple users have write
permission on a directory, only the owner of a file can delete the file within a sticky directory. The
following command will enable the write and sticky modes:
An easy way to download all of the packages and patches is by using wget-list as an input to wget.
All Packages
32
Download or otherwise obtain the following packages:
Download: http://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.bz2
Download: http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.bz2
Download: http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz
Download: http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.bz2
Download: http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.bz2
Download: http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz
Download: http://ftp.gnu.org/gnu/coreutils/coreutils-8.4.tar.gz
Download: http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.4.4.tar.gz
Download: http://ftp.gnu.org/gnu/diffutils/diffutils-2.8.1.tar.gz
Download: http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.10.tar.gz
Download: http://expect.nist.gov/src/expect-5.43.0.tar.gz
Download: ftp://ftp.astron.com/pub/file/file-5.04.tar.gz
Download: http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz
34
MD5 sum: 351cc4adb07d54877fa15f75fb77d39f
Download: http://prdownloads.sourceforge.net/flex/flex-2.5.35.tar.bz2
Download: http://ftp.gnu.org/gnu/gawk/gawk-3.1.7.tar.bz2
Download: http://ftp.gnu.org/gnu/gcc/gcc-4.4.3/gcc-4.4.3.tar.bz2
Download: http://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz
Download: http://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz
Download: http://ftp.gnu.org/gnu/glibc/glibc-2.11.1.tar.bz2
Download: http://ftp.gnu.org/gnu/gmp/gmp-5.0.0.tar.bz2
Download: http://ftp.gnu.org/gnu/grep/grep-2.5.4.tar.bz2
Download: http://ftp.gnu.org/gnu/groff/groff-1.20.1.tar.gz
Download: ftp://alpha.gnu.org/gnu/grub/grub-1.97.2.tar.gz
Download: http://ftp.gnu.org/gnu/gzip/gzip-1.4.tar.gz
Download: http://sethwklein.net/iana-etc-2.30.tar.bz2
36
Download: http://ftp.gnu.org/gnu/inetutils/inetutils-1.7.tar.gz
Download: http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.31.tar.bz2
Download: http://ftp.altlinux.com/pub/people/legion/kbd/kbd-1.15.1.tar.gz
Download: http://www.greenwoodsoftware.com/less/less-436.tar.gz
Download: http://www.linuxfromscratch.org/Linux/downloads/6.6/Linux-bootscripts-
20100124.tar.bz2
Download: http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz
Download: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.8.tar.bz2
Download: http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2
Download: http://download.savannah.gnu.org/releases/man-db/man-db-2.5.6.tar.gz
Download: http://www.kernel.org/pub/linux/docs/manpages/Archive/man-pages-3.23.tar.bz2
Download: http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-
3.11.1.tar.bz2
Download: http://www.mpfr.org/mpfr-2.4.2/mpfr-2.4.2.tar.bz2
Download: ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.7.tar.gz
38
MD5 sum: cce05daf61a64501ef6cd8da1f727ec6
Download: http://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.bz2
Download: http://cpan.org/src/5.0/perl-5.10.1.tar.bz2
Download: http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
Download: http://procps.sourceforge.net/procps-3.2.8.tar.gz
Download: http://prdownloads.sourceforge.net/psmisc/psmisc-22.10.tar.gz
Download: http://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz
39
Home page: http://www.gnu.org/software/sed/
Download: http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2
Download: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-4.1.4.2.tar.bz2
Download: http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.tar.gz
Download: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.86.tar.gz
Download: http://ftp.gnu.org/gnu/tar/tar-1.22.tar.bz2
Download: http://prdownloads.sourceforge.net/tcl/tcl8.5.8-src.tar.gz
Download: http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz
40
• Udev (151) - 498 KB:
Download: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-151.tar.bz2
Download: http://www.linuxfromscratch.org/Linux/downloads/6.6/udev-config-20100128.tar.bz2
Download: http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.17/util-linux-ng-2.17.tar.bz2
Download: ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
Download: ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz
Download: http://www.zlib.net/zlib-1.2.3.tar.bz2
Needed Patches
In addition to the packages, several patches are also required. These patches correct any mistakes in
the packages that should be fixed by the maintainer. The patches also make small modifications to
41
make the packages easier to work with. The following patches will be needed to build an LINUX
system:
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/bzip2-1.0.5-install_docs-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/coreutils-8.4-i18n-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/coreutils-8.4-uname-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/diffutils-2.8.1-i18n-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/expect-5.43.0-spawn-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/expect-5.43.0-tcl_8.5.5_fix-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/flex-2.5.35-gcc44-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/gcc-4.4.3-startfiles_fix-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/grep-2.5.4-debian_fixes-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/kbd-1.15.1-backspace-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/make-3.81-upstream_fixes-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/patch-2.6.1-test_fix-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/perl-5.10.1-libc-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/perl-5.10.1-utf8-1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/procps-3.2.8-watch_unicode-
1.patch
Download: http://www.linuxfromscratch.org/patches/Linux/6.6/vim-7.2-fixes-5.patch
43
MD5 sum: 3af30a47fbf94d141c4317bf87d28e25
44