Damian,

Well first you need to mount your CDROM with the mount command so type
mount /mnt/cdrom

then type cd and change in to the directory your rpm's are in

next type su for super user 

installing a rpm is quit easy simply type 

rpm -i  fowled by the name of the rpm package 

for example  if you want to install samba the samba rpm package would be
called something like this smb-0.9.3.i386.rpm  so to install that package
you  would type 
rpm -i smb-0.9.3.i386.rpm

hope this helps

David
-----Original Message-----
From: Damian G [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 12:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Install something from cD

On Tue, 27 Aug 2002 23:48:46 EDT
[EMAIL PROTECTED] wrote:

> Since im new to linux, and downloading third CD from an FTP program 
> (hopefully the md5sums will be the same :)) I downloaded a whole bunch of 
> programs i use for windows, that have a linux file for it too.. I went to
the 
> site of my favorite windows programs, and downloaded the linux rmp
files... 
> some are tar.gz also. I was wondering.... from the console, how do i
install 
> some of the packages from the CD... I know how to tar, amd make, and stuff

> like that however how do i specify my CD rom: im sure in linux there is an
D: 
> drive lol :)
> 

hmm.. ok. let's see.

" C:, D: and A: " is the way Microsoft OS's identify hard/floppy/CD/ZIP
drives, etc.

on Linux, however, this is not the case, the devices are "mounted" upon
directories,
meaning that you 'tell' Linux that when you are going to enter this or that
directory,
what you are really trying to do is enter into that drive... 

(this may sound strange and complex, but the installation takes care of it
automatically and
you will find it's just as easy to use, and besides, the fact that you enter
your drives thru directories allows for more 'self-explainatory' names, i.e.
your CD-ROM can be mounted on a directory called 'CDROM' which is a much
more 'proper'
name than just " D: " )

after installation, all floppy drives, CD/DVD-ROM devices, etc etc etc will
be set to be
mounted inside of a directory called /mnt.

so, your cdrom drive will probably be called /mnt/cdrom

( and you will also find /mnt/floppy, and /mnt/win_c if you have a windows
partition, etc )


now, the 'installation' stuff... that's a pretty wide subject to explain on
a single post,
but for now, the very very basic is this:

to install a RPM package: at the console, do: " urpmi <filename> " or simply
browse
your files with konqueror ( which is KDE's file manager ) and click on the
RPM file.
mandrake's softwaremanager should pop up by itself.


.tar.gz files... are sourcecode packages. to decompress them: " tar -xzf
<filename> " or
open them with ARK ( which is KDE's "winZIP"-style program ) and extract all
files.

then, once decompressed, from the shell, cd into the directory containing
the
unpacked sources and do these 5 commands:
./configure     (this will check your system for needed libs and stuff )
make            ( this will compile the program, turn the source code into
executables, etc )

su              ( this will ask for your 'root' -administrator- password.
you need to be 
                  root in order to add programs/modify system config )

make install    ( this will install the program )

exit            ( exit 'root' mode )


.........
well, you will find more questions when you get your hands on it. for now, 
take notes of all this stuff.. and have fun.

good luck on those ISO's 

Damian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to