≡ Menu

Howto Install pine mail client under Linux

Q. I am using CentOS Linux. I would like to install pine to read email from shell prompt itself? I’m getting an error which read as follows:
# yum install pine
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Parsing package install arguments
No Match for argument: pine
Nothing to do

How do I install pine?

A:. Pine is a powerful freeware text-based e-mail client. It is a program for Internet News & Email - is a tool for reading, sending, and managing electronic messages. Pine was developed by Computing & Communications at the University of Washington.

Originally written for inexperienced users, Pine's basic features are generally very easy to use.

The license prohibits the distribution of binaries built from patched source code, which poses a problem for binary distributions. However, you can download pine RPM or .DEB file to install pine w/o a problem.

CentOS / Redhat / Fedora Core Linux pine installation instructions

First install LDAP support :
# yum install libldap.so.2

Now install pine. Grab RPM file from official FTP site:
# wget ftp://ftp.cac.washington.edu/pine/pine-4.64-1.i386.rpm
Install rpm file:
# rpm -ivh pine-4.64-1.i386.rpm

Debian / Ubuntu Linux pine installation instructions

Grab pine .deb file from official FTP site:
$ wget ftp://ftp.cac.washington.edu/pine/pine_4.64_i386.deb
Next, install .deb file:
$ sudo dpkg -i pine_4.64_i386.deb
# dpkg -i pine_4.64_i386.deb

How do I start pine mail client?

Type the following command:
$ pine

Further readings:

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 12 comments… add one }

  • rokko wing December 18, 2007, 4:10 am

    Great Help! It just took 3 mts for me !!

  • Rod Templeton January 3, 2008, 11:57 pm

    I downloaded the rpm with wget, but I’m told that I need 3 additional files. First one I was able to get via yum, but with the second, I get this:

    # yum install libldap.so.2
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    No Match for argument: libldap.so.2
    Nothing to do

    Would appreciate any feedback or advice. Thank you.

  • Adel Barazandeh nia February 12, 2008, 3:31 am

    i have same error on centos 4.4:

    # yum install libldap.so.2
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    No Match for argument: libldap.so.2
    Nothing to do

  • nate February 12, 2008, 4:28 pm

    You can try passing the –nodeps option to rpm, there’s no guarantee that it will work though. I am on rhel 5 what I did to get it to work was goto http://web.mit.edu/software/linux.html and download the rhel5 rpm. It still complained about a dependency, some kerberos thing, I’m just using this for local system messages so I don’t care a bout kerberose so I gave it the –nodeps option and it installed and it runs just fine. Hope that helps

  • Ash November 3, 2008, 2:36 am

    try: ‘yum install compat-openldap’ This may get you the library you need to install the pine rpm.

  • Nathan December 23, 2008, 12:19 am

    Yep or simply link

    ln -s /var/lib/libldap.so /var/lib/libldap.so.2

    if libldap.so already exists on your system in the /var/lib/ dir…

  • jacky.li June 29, 2009, 6:08 am

    still have no use…..
    it appears this error messages as following:
    [root@rhel5 /]# rpm -vih pine-4.64-1.i386.rpm
    error: Failed dependencies:
    libcrypto.so.4 is needed by pine-4.64-1.i386
    libldap.so.2 is needed by pine-4.64-1.i386
    libssl.so.4 is needed by pine-4.64-1.i386
    before that , I’ve installed compat-openldap by yum. it works. still need those three liberarys to install pine….
    how should I do next ? please give me a hand, thank you!!!!

  • jacky.li June 29, 2009, 6:10 am

    and you will get my great gift when I were get help from you! thank you, I am from China. shanghai provience.

  • Kev October 29, 2009, 4:33 pm

    UofW site states “Pine is no longer under active development. Consider evaluating its successor, Alpine, which supports all of Pine’s functionality and more. ”

    Here’s how to install it:

    Go here and get your RPM for the proper dag repo: http://dag.wieers.com/rpm/FAQ.php#B

    Import the key with this command:
    rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

    Then run:
    yum install pine

    It will install Alpine, which is the same thing but better.

  • Errie May 11, 2010, 8:54 am

    Trying to install pine on our linux mail server but the
    # yum install libldap.so.2 command give the following error:
    Setting up Install Process
    Parsing package install arguments
    No package libldap.so.2 available.
    Nothing to do

    Can I go to the next step or the is an alternate command to get this LDAP?

  • ronnie May 18, 2011, 9:46 am

    what should i do to install mail client

  • John J. Felczak June 14, 2011, 8:23 pm

    FWIW it seems to have become pretty much impossible to find libldap.so.2 in any package that will install under current linux distributions without itself having dependencies on other packages which conflict with packages already in the distro. Apparently libldap.so.2 has been superseded by more recent LDAP libraries, but existing pine RPMs still depend on it. I was able to hack my way around it and get pine installed by symlinking libldap.so.2 to libldap-2.3.so.0.2.31.

    1. Run a test install to find out what dependencies are needed:
    rpm -ivh pine-4.64-1.i386.rpm
    Note what dependencies it complains about.
    1. Find and install needed packages providing *all* other dependencies *other than* libldap.so.2 first.
    2. As root, chdir to /usr/lib and ls -l libldap.* to find most recent libldap. On my CentOS 5 box it was libldap-2.3.so.0.2.31, yours may differ.
    3. ln -s libldap-2.3.so.0.2.31 libldap.so.2 (substituting the libldap in your /usr/lib directory for libldap-2.3.so.0.2.31).
    4. Force rpm tool to install your pine rpm without checking dependencies:
    rpm -ivh –nodeps pine-4.64-1.i386.rpm
    This latter is needed because rpm will still fail the dependency despite the symlink, presumably because its metadata tells it that libldap.so.2 was never installed. Be sure you have previously installed and resolved any and all other dependencies besides libldap.so.2!

    This enabled me to complete installation and get pine running. No guarantees how well pine will function with this hack.

    Good luck!

Leave a Comment