Discussion Locked

Adding Packages

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

If I have an old version of linux installed on a PC, and I want to add some packages to it from the installation CD, how do I do it? Am I going to have to start over? Do I recompile the kernel? Specifically, I want to install a package called 'cdutils' and a package called 'xntp.'

Thanks,

1networker

7 replies

by cascom

Most Linux releases have a "package manager" program of some sort and of varying capabilities which is normally installed by default.
More information is required for specific instructions:-
1 Which "version" of linux (ie, RedHat, Debian etc)
2Which release of that version. (ie, 6.2, 2.2 etc)

by schannachie

Hi,

You have to first :

Mount your cd-rom unit with the mount command (read the man pages for more info). Remember to create the cdrom directory.

mkdir /cdrom (if you don't have the directory)

mount /dev/hd_yourcd_unit /cdrom -t iso9660 (most generaly)

now you've got your cd-rom mounted, chech with the mount command

mount (shows all mounted hard drives)

second:

rpm --help or man rmp to chech the rpm (Red hat package manager) and it's flags. You can check dependences and versions with that command.

good luck !

by schannachie

This works for most sofware packages (kernel extensions -i.e. kudzu, ipchains, etc.) that are in rpm format. Most linux flavors use rpm format.

This discussion is closed to new replies.