How to install programs on Linux without error

 

Read the steps below on How to install application/program on Linux without error:

  1. As a root, install gcc by executing (example Mandriva):

    $ urpmi gcc gcc-cpp gcc-c++

  2. Enter the CD/DVDs if requested.
  3. If gcc is not installed perfectly, you will find error message below when installing apps:

    $ C++ preprocessor “/lib/cpp” fails sanity check

  4. Now, find the installer of the apps you like to install. If the installer is available on the Net (and most installer usually available on the Net), then download it by executing:

    $wget file’s_uRL

  5. The files usually archieved by using extensions, such as: tar.gz, tar.bz or tar.bz2. So unarchieve those files first, by executing:

    $tar-xvf file_name.

  6. Unarchieving command above will create a folder, go to that folder by executing:

    #cd folder_name.

  7. Configure:

    $./configure

  8. Make the installer:

    $make

  9. perform the installation:

    $make install

Google
 

Leave a Reply

309 views