Find the answer to your Linux question:
Results 1 to 5 of 5
Trying to install python 3.1.2.... i downloaded it and i need to type something into the terminal (Mint 9) to install it.. I'm unsure of what i need to type. ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    New to Linux, Easy question to answer

    Trying to install python 3.1.2.... i downloaded it and i need to type something into the terminal (Mint 9) to install it.. I'm unsure of what i need to type. the path to the install is home/will/downloads/python3.1.2/install-sh

    thank you.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    are you unable to install python from the package manager? I think it's synaptic for ubuntu.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    30
    in terminal just navigate to the location of the file then type

    sudo sh ./filename

    I think?

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    As meton_magis said, try the package manager. It will download the software from a trusted source and install it for you. The only reason not to use a package manager is if the software you want isn't in there. In the Ubuntu and therefore Mint repositories this is going to be pretty rare. Being new to Linux and particularly if you are used to Windows, your instinct will be to download your software from the Internet and the repository way will seem alien and strange. You will come to love it over time.

    Now that's the lecture out the way and if you must install your downloaded software. In this case you would open a terminal and run the following commands

    cd downloads/python3.1.2 (You may need Downloads instead as paths in Linux are case sensitive)

    chmod +x install.sh (This makes the script executable)

    sudo ./install.sh (This runs it as root and you will need your password.)

    If you are only going to install into your home directory, you won't need to use sudo.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  5. #5
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    Quote Originally Posted by elija View Post
    Being new to Linux and particularly if you are used to Windows, your instinct will be to download your software from the Internet and the repository way will seem alien and strange. You will come to love it over time.
    I think that package managers are the key thing that most "experts" miss when trying to determine why linux has remained so safe from malware. It's not obscurity that keeps us safe, it is that the great majority of people download from the distro's repositories, and nowhere else (for binary files, pictures and videos are another matter, but can't execute code.)

    If a person never has to go out into the web to find software, the risk of installing and running a virus go down drastically.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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