Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Simple question on SUSE Linux Enterprise Server 11 SP1 (simple for someone who's not a total ignorant on the topic like me I am guessing): how do I check from root if a given package is already installed for all the users?

Any help appreciated!

Note: I am trying to check if tightvnc server is already installed on my distro - Guess not since if I run dbus-launch vncserver I get a 'command not found' message

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

For SLES11 SP1, the key command is zypper

server:/ # zypper se tightvnc
Loading repository data...
Reading installed packages...

S | Name     | Summary                          | Type   
--+----------+----------------------------------+--------
i | tightvnc | A virtual X-Window System server | package

"se" is the short version of 'search'. Also more standard rpm -q tightvnc works as well.

server:/ # rpm -q tightvnc
tightvnc-1.3.10-2.1.x86_64

For zypper the "info" command will give you details about the package, including versions.

share|improve this answer
    
thanks man - you rock, will give it asap. Any clue why dbus-launch vncserver is 'not found'? Does it have anything to do with the fact that that particular package is not installed? cheers –  JohnIdol Jun 17 '11 at 9:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.