installing for the first time

Chadley Wilson chadley at pinteq.co.za
Tue Feb 22 07:00:04 UTC 2005


On Monday 21 February 2005 13:24, Olaf Van Loon wrote:
> I hope I'm not taking up to much time from everybody but I finally got
> myself to use LInux (fedora core 3) from the linux starter magazin in
> holland
> and I thought it was great that it was easy to install the basics.
> After that I tried to install xine, i firts updated Yum and till that point
> it was ok but then i tried to installed xine, there was a note that it was
> good to do but I did't have any gpg public keys installed. I tried to do
> that just like explained:
>
> "You have enabled checking of packages via GPG keys. This is a good thing.
> However, you do not have any GPG public keys installed. You need to
> download the keys for packages you wish to install and install them.
> You can do that by running the command:
>     rpm --import public.gpg.key

It obvious you have never used the command line before, but I will show you 
what your trying to do here?

rpm , is the name of a program which is command line based, you run the 
program by typing rpm at a prompt. A prompt is found in a console or a 
terminal session. In windows they called it the command prompt and it looked 
like this:
c:/>
in linux there are generally two:

[anything could be here]$
this ends with a $ sign indicating that you are logged as a normal user.
[anything could be here]#
this one ends with a # sign indication your are root user. same as 
administrator in windows.

so open a terminal and look for the prompt mine looks like this:
[root at chadlap chadley]#

type in the command
[root at chadlap chadley]# rpm
but the command or program will need a set of instructions to tell it what to 
do.
rpm can do alot of things like install and remove software, 
this is where the --import comes in, 

[root at chadlap chadley]# rpm --import

so now you have started rpm with an option, so the term passing option to a 
program means you are tellin a program how to behave itself.

Now the critical part public.gpg.key this in this case is the name of the file 
contaning a GPG public key, which rpm will use to test the rpm packages you 
try installing for validity.

This is refering to a file that must exist, so just typing what you have is 
like putting a person in an empty round room, and telling that person to find 
the million buck stashed in the corner. Of course there will be objection.

So basically you need to find out where the gpg key is, if you need to 
download it then make sure you know where in your file system you have saved 
it. 
and then run rpm --import /the/path/to/your/gpg/key

Cheers

-- 
--
Chadley Wilson
Redhat Certified Technician
Cert Number: 603004708291270
Pinnacle Micro
Manufacturers of Proline Computers
Proudly South African
ISO9001:2000 Certified Production Line
=======================================
LINUX - becuase I can do it my way.
========================================




More information about the fedora-list mailing list