title: How to check whether NFS Server in Ubuntu is installed or not?
body: <p>I am trying to install NFS Server to my brand new Ubuntu machine and is about to follow <a href="https://help.ubuntu.com/10.04/serverguide/network-file-system.html" rel="nofollow">this article</a>. But before that, is there any way to figure out whether it is already installed?</p>
  
  <p>I am running Ubuntu 12.04</p>
  
  <p><strong>Update:-</strong></p>
  
  <p>This is what I got after running this - </p>
  
  <pre><code>dpkg -la | grep nfs
  
  ii  libnfsidmap2                     0.23-2                                            An nfs idmapping library
  ii  nfs-common                       1:1.2.2-1ubuntu1                                  NFS support files common to client and server
  </code></pre>
  
  <p>And aptitude command gave me like this - </p>
  
  <pre><code>aptitude search nfs
  
  p   fai-nfsroot                                                                                                    - Fully Automatic Installation nfsroot package
  v   knfs                                                                                                           -
  p   libfile-nfslock-perl                                                                                           - perl module to do NFS (or not) locking
  p   libnfsidmap-dev                                                                                                - header files and docs for libnfsidmap
  i A libnfsidmap2                                                                                                   - An nfs idmapping library
  p   libyanfs-java                                                                                                  - Yet Another NFS - a Java NFS library
  v   nfs-client                                                                                                     -
  i   nfs-common                                                                                                     - NFS support files common to client and server
  p   nfs-kernel-server                                                                                              - support for NFS kernel server
  v   nfs-server                                                                                                     -
  p   nfs4-acl-tools                                                                                                 - Commandline and GUI ACL utilities for the NFSv4 client
  p   nfswatch                                                                                                       - Program to monitor NFS traffic for the console
  p   p3nfs                                                                                                          - to mount the file systems on the Psion/Symbian PDA/Phone
  p   unfs3                                                                                                          - User-space NFSv3 Server
  p   unionfs-fuse                                                                                                   - Fuse implementation of unionfs
  </code></pre>
  
  <p>I tried netstat command as well - </p>
  
  <pre><code>netstat -tl | grep 2049
  </code></pre>
  
  <p>and nobody is listening to that as well</p>