Results 1 to 2 of 2

Thread: Nano text editor installation

  1. #1

    Default Nano text editor installation

    Hello,

    I know I don't really need it on OpenSUSE 11.4 and I've text editor build in in Midnight Commander
    I'm playing with it only to understand how to download files, extract them and get software installed in terminal

    1. I got nano-2-2-4.tar gz with wget
    2. Got it extracted with tar -zxvf nano-2.2.4.tar.gz
    3. Now when I try t\ install it by running ./configure, it says: "no acceptable C compiler found in $PATH"

    As far as I understand $PATH is a variable which says where it have to look for C compiler. It suppose to be a bunch of directories where it suppose to look for all sorts of utilities and applications. Is that correct?

    Where is the standard location of C compiler in OpenSUSE 11.4? How can add this location to $PATH?

    Thanks in advance!

  2. #2
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: Nano text editor installation

    The gcc is in /usr/bin/cc, so you won't have to add any $PATH once it is installed. I recommend installing a basic development environment by using the respective pattern (a "meta-package"):

    Code:
    zypper in patterns-openSUSE-devel_C_C++
    Depending on the package you'd like to compile, you might need more, especially devel-packages (the output of [for example] './configure' will tell you which ones in case they are missing).

    But: do I get you right that you actually *want* to fiddle with that? A simple

    Code:
    zypper in nano
    will give you nano.

    I'm playing with it only to understand how to download files, extract them and get software installed in terminal
    You will learn none of these by compiling software.

    I also recommend to learn how to create installable packages (.rpm in case of openSUSE) while learning how to compile, as the classic way ('make install') will most likely create chaos in your system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •