Pico installation and usage centOS

Pico is a great command line editor, much more simple then say Vim , or ” vi ” which comes installed almost as a rule on your linux installation.

A few simple steps to Install Pico command line editor for linux

  • The most simple way to install pico editor
  • Log in to your root account via ssh, or the terminal if your accessing locally.
  • type:
    yum install nano
  • cd to the bin directory
    cd /usr/bin/
  • Run:
    ln -s nano pico
  • Next run to make pico the default editor:
    export EDITOR=”pico”

    Thats it !

    To edit any file , just type “pico” (without the quotes) before the filename you wish to edit. Have fun!

    If you do not like the easy quick way , then you can follow the latter part of this guide, enjoy

  • Login to your server via SSH as root.
  • cd (Change Directory) to your tmp directory
    cd /tmp

    Before we install , lets make certain pico is not already on the system

  • Type:
    rpm -q pine

    If pico is not installed, your system will respond with: package pine is not installed

    Depending on the flavor of linux your using, there are several options. We’ll use the linux version , hence the topic.

  • Type:
    wget ftp://ftp.cac.washington.edu/pine/pine-4.64-1.i386.rpm
  • The RPM must be installed
  • Type:
    rpm -Uvh pine-4.64-1.i386.rpm

    If you get the error : Failed dependencies : libcrypto.so.4 ect. you’ll need to install them separately for your distro.
    Now you are ready to use pico.

    To edit any specific file , simply type

    pico

    After you type ” pico ” , place the file name you wish to edit.

    You can also find a guide to use pico here at limeit.us
    None the less , the commands are located at the bottom of the shell , or terminal , once you enter the file.Source: Pico installation and usage centOS

3 Comments

Leave a Reply

%d bloggers like this: