Welcome to BYO Linux Portal  
Home · Contact · Discussion · Links · Sponsors 
 
 


 
 
BYO Linux



 
 


 
 
A Few Necessities
Text VersionPrinter Friendly Version

These packages should be compiled in the order shown

DIFFUTILS

The diffutils package compares files by showing line by line changes in multiple formats. Unpack it and type the following:

./configure
make
make install

BISON

This package is what is known as a parser generator. Unpack it and type the following:

./configure
make
make install

PERL

Next, unpack and type the following:

./Configure -d
make (this will take about 10 minutes)
make install

NCURSES

The ncurses package is required to install vim. It displays and updates text on a text only terminal. Unpack ncurses and then type the following in that directory:

./configure --with-shared
make
make install

VIM

Vim is your text edititor. Vim itself comes in two packages, a src and a rt package. Create a folder and put both of these packages in it. Untar them there. It will produce one vim folder where everything is located. Go into that folder and type the following:

./configure
make
make install
Create a symlink in /usr/bin to link vi to vim.

Here's a tip I got from the vim faq to make vim operate more like you may be used to. Create a file called /root/.vimrc and put the following two lines in there:

set nocompatible
set bs=2

TERMCAP

Next, install the termcap library. Unpack it and type the following:

./configure
make
make install

READLINE

Next, install the readline library. Readline maintains a list of previously typed commands for easy recall by pressing the up arrow button. Unpack it and type the following:

./configure
make shared
make install
make install-shared
ldconfig -v

FLEX

Next, install flex. Unpack it and type the following:

./configure
make
make install

LESS

Next, install less. Less enables you to show a screen at a time and will allow you to scroll backwards. Less is sometimes referred to as a pager. Unpack it and type the following:

./configure
make
make install

MODUTILS

Next, install modutils. Unpack it and type the following:

./configure
make
make install

Make a /lib/modules/X.X.XX directory (you substitue the proper kernel version number for X.X.XX).

Finally, do a depmod to generate the modules dependency file (this file will be automatically placed in /lib/modules/X.X.XX) which will be necessary later.

E2FSPROGS

Next, install e2fsprogs. These are the utilities used for checking the integrity of the hard drive and the filesystem for corruption. Unpack it, create a directory in the source directory called build and go into that directory. Type the following:

../configure (NOTE: Two periods)
make
Make this temporary symlink ln -s /usr/bin/rm /bin/rm
make install
Remove the symlink

BIN86

Next, we'll install 2 files from this package. This package is necessary for lilo to compile. Unpack it and do the following:

Go into the packages /as directory and type make as86
Copy the as86 file to /usr/bin
Next, go into the packages /ld directory and type make ld86
Copy the ld86 file to /usr/bin

LILO

Next, install lilo. This is your boot loader that chooses which OS to start at boot time. Unpack it and type the following:

make
make install

Do not type /sbin/lilo as it says to, we don't have a /etc/lilo.conf file on the new system and won't until we are ready to say goodbye to the old system.

WARNING!

If you are installing lilo 21-5 or higher, you MUST install this on your linux1 system as well. They are NOT compatible and you WILL run into problems later updating the bootloader between the two distributions! Use the same instructions as above but go ahead and type lilo on linux1 after you have installed it.

GROFF

Next, install groff. This is a text formatter. Unpack it and type the following:

./configure
make
make install

MAN

Next, install man. This is the man page reader used to invoke help documentation that comes with each package that is installed. Unpack it and type the following:

./configure -d (Ignore the message about various decompressors missing)
make
make install

Shaddow Passwords

Next, install the shadow password suite. This is installed for better password security plus it comes with many useful tools for user administration. The most current shadow password suite is always named shadow-current when downloading. After unpacking the archive you will notice the directory name is a date. They use a date as the version number.

After the archive is unpacked, type the following inside the packages directory:

./configure
make

make install
pwconf

grpconv

Go into the packages /etc directory and copy the file login.defs.linux to the /etc directory. Rename this file to login.defs

Next, use vi to edit this file. Find a field in there called MAIL_CHECK_ENAB and change the yes to no

If you would like, create a file with vi called /etc/issue and you can put a bootup message of your choice in there that a user will see just before the login prompt.

That's it, you now have a system running shadow passwords.

(Note: pwconv and grpconv can be ran inside any directory)

PATCH

This program is optional. It can patch source code to a newer version so you don't have to download a lengthy new package if it was just a minor bug fix. This is useful for new kernel versions. Unpack the archive and type:

./configure
make
make install

BZIP

This is a different zipper program. It's popularity is increasing so it's being included. Unpack the archive and type:

make
make install