SSH terminal putty - Uploading and installing python, java, etc...?

Discussion in 'Site & Server Administration' started by UberBrainChild, Aug 7, 2009.

  1. #1
    I am trying to install a few programs through the terminal but i am not sure exactly how to do it.

    Some files are compressed (tar.gz), some are .bin and some are rpm files

    I have the instructions on how to do it but im not sure how to navigate to the files and run the install? I have everything uploaded to /home/user/randomfolder/ for example.

    i tired cd /home/user/randomfolder/ in the terminal and it told me it was a directory

    i tried cd /home/user/randomfolder/file.tar.gz and it told me it was a directory?

    do i need to unzip the files first and what do the commands mean? its like i am trying to drive a car and someone is telling me to press a pedal but i have no clue what it does i am just following the directions of someone and it does not seem to get me anywhere?

    Thanks in advance

    edit: its on centos 5 linux by the way, i have hypervm and lxadmin or whatever its called :)
     
    UberBrainChild, Aug 7, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    You should be able to change into the directory, then use the appropriate commands to run the files.

    cd /home/user/randomfolder

    Once inside that folder, run the list command:

    ls -a

    You should see your files. Now, depending on the extension, you would need to run your files. One thing to check, is to make sure the files are owned by the correct owner, and have to correct permissions to run.
     
    RHS-Chris, Aug 7, 2009 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Bohra, Aug 7, 2009 IP
  4. UberBrainChild

    UberBrainChild Banned

    Messages:
    304
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks, i used that before, but i need the terminal to install python or similar software/scripts

    but so "cd" basically means open directory or go to?
     
    UberBrainChild, Aug 7, 2009 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    cd takes u to the directory to you mention
     
    Bohra, Aug 7, 2009 IP
  6. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #6
    RHS-Chris, Aug 7, 2009 IP
  7. UberBrainChild

    UberBrainChild Banned

    Messages:
    304
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    UberBrainChild, Aug 7, 2009 IP