Results 1 to 8 of 8

Thread: Is python pre-installed at ubuntu?

  1. #1
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,704
    Distro
    Ubuntu Development Release

    Question Is python pre-installed at ubuntu?

    So, can somebody with Ubuntu, having done all its updates to run a python file or has to install a package first?
    Website

    Wallch (Wallpaper Changer): Sourceforge | Launchpad

  2. #2
    Join Date
    Apr 2008
    Location
    Wisconsin
    Beans
    766
    Distro
    Ubuntu

    Re: Is python pre-installed at ubuntu?

    Quote Originally Posted by hakermania View Post
    So, can somebody with Ubuntu, having done all its updates to run a python file or has to install a package first?
    yup open a terminal and type

    Code:
    python --version
    To see what version you are running

  3. #3
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,704
    Distro
    Ubuntu Development Release

    Re: Is python pre-installed at ubuntu?

    No no, that's not the point...
    i am making a program and idk if I have to tell the users how to install python or not
    Website

    Wallch (Wallpaper Changer): Sourceforge | Launchpad

  4. #4
    Join Date
    Dec 2009
    Beans
    Hidden!

    Re: Is python pre-installed at ubuntu?

    don't
    Code:
    if which python >/dev/null
      then
          echo "python installed"
      else
         sudo apt-get install python
         # or yum install
    fi
    Last edited by d3v1150m471c; August 23rd, 2010 at 12:29 PM.

  5. #5
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,704
    Distro
    Ubuntu Development Release

    Re: Is python pre-installed at ubuntu?

    So python is not pre-installed......!!!?!?!?!?
    How is this possible?
    A lot of pre-installed programs use a combination of python and C to run.....
    Website

    Wallch (Wallpaper Changer): Sourceforge | Launchpad

  6. #6
    Join Date
    Apr 2006
    Beans
    800
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Is python pre-installed at ubuntu?


  7. #7
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,292
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Is python pre-installed at ubuntu?

    Quote Originally Posted by hakermania View Post
    So python is not pre-installed
    Of course it is....
    「明後日の夕方には帰ってるからね。」


  8. #8
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,704
    Distro
    Ubuntu Development Release

    Re: Is python pre-installed at ubuntu?

    Fiouffff
    cool thank you!
    Website

    Wallch (Wallpaper Changer): Sourceforge | Launchpad

Bookmarks

Posting Permissions

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