Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I'a totaly newbie to Linux, and want to install additional software, but have no clue on how to do this. Do I use the Shell-Console?...and what would the commands be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Posts
    2

    Installing new software in SuSE


    I'a totaly newbie to Linux, and want to install additional software, but have no clue on how to do this. Do I use the Shell-Console?...and what would the commands be to install. I have tried different commands found in the helpfiles, but nothing I do seems to work. Is there a step-by-step guide for a freshman like me any place?

    thx in advance
    frodema

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    What kind of software is it that you want to install? Don't you have to download it first?

  3. #3
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    if you are compiling from source (file name ends in .tar or .tar.gz you need to)

    tar xvf filename.tar OR tar xzvf filename.tar.gz
    cd foldername
    configure
    make
    make install

    if you download an rpm (alot easier to use/upgrade) then
    rpm -ivh filename.rpm (assuming its new) or
    rpm -Uvh filename.rpm (to upgrade something)
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  4. #4
    Just Joined!
    Join Date
    Jan 2003
    Posts
    2
    thanks majorwoo! I have downloaded ccmsn, and extracted it to the home directory. How do I start the install...throught the shell?

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Since you say that you extracted it, I assume that it's the source that you have. First you must enter the directory that it extracted to (ie. "cd <dirname>", where <dirname> is the name of the directory). Then, type "./configure", which will configure the program for your system, and hopefully detect if you're missing something that's required to build it. Then, type "make", which will compile the program.
    After that you can install the program, but for that you must be root. Run "su", enter your root password, and then run "make install". After that, your program is installed, and if it doesn't require any additional configuring (see the README file) it's ready to be used.

  6. #6
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    (remember that "su -" will take you to /root so you will have to cd back to wherever your source was)
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  7. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Exactly, so for these kind of operations it's better to just use "su" instead of "su -". See su(1) for more info.

  8. #8
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    correct, my problem with that is then i have to type

    /etc/init.d/servicename start

    instead of

    service servicename start

    heh, im lazy
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  9. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Of course, who isn't lazy? =) I'm just saying that one should choose whether to do just "su" or "su -" according to the circumstance (or "su -l" and "su -lc" respectively... don't underestimate their power).

  10. #10
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    oh man, i like - lc - i have never noticed it before
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

Page 1 of 2 1 2 LastLast

Posting Permissions

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