Re: Who can tell me what does this mean?

2009-07-14 Thread Tim
On Wed, 2009-07-15 at 02:12 +0800, Nathan Huang wrote:
> who can tell me what does this syntax mean?
>  
> su -c 'rpm -Uvh /path to rpm/VMware-player-2.0.0-45731.i386.rpm'

In addition to the other replies, see the man files for the su and rpm
commands.

man su
man rpm

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



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


Re: Who can tell me what does this mean?

2009-07-14 Thread Joerg Bergmann

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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Who can tell me what does this mean?

2009-07-14 Thread Paul W. Frields
On Tue, Jul 14, 2009 at 01:17:42PM -0500, Jud Craft wrote:
> On Tue, Jul 14, 2009 at 1:12 PM, Nathan
> Huang wrote:
> > 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'
>
> This command looks like it will ask for your root password, and then
> it will install or update the VMWare Player package.

More specifically, it switches user to root (thus prompting for
password), and runs that command as root.

The 'path to rpm' part is something you're expected to fill in with
the actual location of the rpm package file.

-- 
Paul W. Frieldshttp://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

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


Re: Who can tell me what does this mean?

2009-07-14 Thread Jud Craft
This command looks like it will ask for your root password, and then
it will install or update the VMWare Player package.

On Tue, Jul 14, 2009 at 1:12 PM, Nathan
Huang wrote:
> 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@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

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