Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 6641

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>  VMailMgr HOWTO: Installation</TITLE>
 <LINK HREF="VMailMgr-HOWTO-3.html" REL=next>
 <LINK HREF="VMailMgr-HOWTO-1.html" REL=previous>
 <LINK HREF="VMailMgr-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="VMailMgr-HOWTO-3.html">Next</A>
<A HREF="VMailMgr-HOWTO-1.html">Previous</A>
<A HREF="VMailMgr-HOWTO.html#toc2">Contents</A>
<HR>
<H2><A NAME="s2">2. Installation</A></H2>

<A HREF="http://em.ca/~bruceg/vmailmgr/">http://em.ca/~bruceg/vmailmgr/</A> to get the package.
<H2></H2>

<P>If you get the binary RPMS you will need at least the vmailmgr and vmailmgr-daemon packages.
<H2><A NAME="ss2.2">2.2 Install with RPMS</A>
</H2>

<H3>Compiling SRC.RPM's</H3>

<P>Simply compile the src.rpm file with the `<CODE>rpm --rebuild</CODE>` command.
-Example-
<HR>
<PRE>
  rpm -ivh vmailmgr-0.96.6-1.src.rpm
</PRE>
<HR>
<H3>Installing RPM's</H3>

<P>After compiling the source rpms, the binaries will be located 
in `<CODE>/usr/src/redhat/RPMS/i386/</CODE>` or something similar.
<P>Simply run the following command for each package
<PRE>
  rpm -ivh &lt;location>/&lt;package.i386.rpm>
</PRE>

-Example-
<HR>
<PRE>
  rpm -ivh /usr/src/redhat/RPMS/i386/vmailmgr-0.96.6-1.i386.rpm
  rpm -ivh /usr/src/redhat/RPMS/i386/VMailMgr-daemon-0.96.6-1.i386.rpm
</PRE>
<HR>
<P>
<H2><A NAME="ss2.3">2.3 Install with source</A>
</H2>

<P>If you dont ue RPMS you can install from source.
<P>Run the following command
<PRE>
  (As non-root user)
  tar zxf &lt;package.tar.gz>
  cd &lt;newly created dir>
  ./configure
  make
  (As root)
  make install
</PRE>

-Example-
<HR>
<PRE>
  (As non-root user)
  tar zxf vmailmgr-0.96.6.tar.gz
  cd vmailmgr-0.96.6
  ./configure
  make
  (As root)
  make install
</PRE>
<HR>

That should do it.
<HR>
<A HREF="VMailMgr-HOWTO-3.html">Next</A>
<A HREF="VMailMgr-HOWTO-1.html">Previous</A>
<A HREF="VMailMgr-HOWTO.html#toc2">Contents</A>
</BODY>
</HTML>