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

Now install pine. Grab RPM file from official FTP site:
# wget
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
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:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 12 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
12 comments… add one
  • rokko wing Dec 18, 2007 @ 4:10

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

  • Rod Templeton Jan 3, 2008 @ 23:57

    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
    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:
    Nothing to do

    Would appreciate any feedback or advice. Thank you.

  • Adel Barazandeh nia Feb 12, 2008 @ 3:31

    i have same error on centos 4.4:

    # yum install
    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:
    Nothing to do

  • nate Feb 12, 2008 @ 16:28

    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 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 Nov 3, 2008 @ 2:36

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

  • Nathan Dec 23, 2008 @ 0:19

    Yep or simply link

    ln -s /var/lib/ /var/lib/

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

  • Jun 29, 2009 @ 6:08

    still have no use…..
    it appears this error messages as following:
    [root@rhel5 /]# rpm -vih pine-4.64-1.i386.rpm
    error: Failed dependencies: is needed by pine-4.64-1.i386 is needed by pine-4.64-1.i386 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!!!!

  • Jun 29, 2009 @ 6:10

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

  • Kev Oct 29, 2009 @ 16:33

    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:

    Import the key with this command:
    rpm –import

    Then run:
    yum install pine

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

  • Errie May 11, 2010 @ 8:54

    Trying to install pine on our linux mail server but the
    # yum install command give the following error:
    Setting up Install Process
    Parsing package install arguments
    No package 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

    what should i do to install mail client

  • John J. Felczak Jun 14, 2011 @ 20:23

    FWIW it seems to have become pretty much impossible to find 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 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 to

    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* first.
    2. As root, chdir to /usr/lib and ls -l libldap.* to find most recent libldap. On my CentOS 5 box it was, yours may differ.
    3. ln -s (substituting the libldap in your /usr/lib directory for
    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 was never installed. Be sure you have previously installed and resolved any and all other dependencies besides!

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

    Good luck!

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum