Re: Who can tell me what does this mean?



It's a "recipe". You have to replace "path to rpm" by the
actual path to VMware-player-2.0.0-45731.i386.rpm.
In detail:

su -c
runs the command as enquoted as root. You will be prompted
for the root password. The command itself is rpm (install/
update etc.), the switches -Uvh mean:
-U: Upgrade
-v: verbose
-h: hash, i.e. print 50 hash marks while unpacking
VMware-player-2.0.0-45731.i386.rpm.

The remaining part of the rpm command is path and *.rpm
for the upgrade. Installing/Upgrading, in general,
demands for root rights.

Joerg

Am 14.07.2009 20:12, schrieb Nathan Huang:
Hi guys
who can tell me what does this syntax mean?

su -c 'rpm -Uvh /path to rpm/VMware-player-2.0.0-45731.i386.rpm'


thanks
nathan



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: No rpm, no sound, no zip, and no kdm image.
    ... Whatever command I try to execute it prints the ... Rpm seems to work when I start the system in run level 1. ... >but as root, it still gave the same error. ...
    (Fedora)
  • RE: RPM? Reset permissions
    ... i seem to get this error when i run the command: ... sh: line 2: package: command not found ... Is RPM not configured correctly? ... [root@satsuki root]# chmod o-x /bin/bash ...
    (Fedora)
  • Re: SOS - why Mozila web browser stops working on my RH Linux?
    ... bash:mozilla-firefox: command not found ... Also, after typing in command "mozilla" under command line, nothing ... [root@mylinux root]# mozilla ... Sounds like the RPM was uninstalled and maybe the path got ...
    (comp.os.linux.misc)
  • Re: No rpm, no sound, no zip, and no kdm image.
    ... I can nor run rpm as root. ... Whatever command I try to execute it prints ... In run level 1 I executed this command and it finished without an error ...
    (Fedora)
  • Re: Apple recommending anti-virus software for Macs?
    ... > To be ultra-safe with the 'rm' command, ... Not a bad idea for root, It would drive me nuts in my user account. ... downloads directory and executing it. ... That I type an EOF is a trivial difference versus 'sudo' exiting ...
    (comp.sys.mac.system)