LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting python to work on Ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-newbie-8/getting-python-to-work-on-ubuntu-12-04-a-4175535410/)

scarybigpic 03-01-2015 12:43 AM

Getting python to work on Ubuntu 12.04
 

Okay so I am having major issues getting python to work on Ubuntu 12.04 and other programs I want to run exclusively on this system. Just so you all know - I do not understand computer lingo much so I have a million definitions and how to's . I've kind of been thrown in the deep end on something and the I.T. guru (sorry for the frustration - but effectively this boso worked for MY company) belittled me basically calling me stupid & incapable of being able to configure a basic desktop system.

Anyways my ex from years ago also worked in I.T and played with different operating systems at 1 point so I had used Linux before and remembered it was geared to what I needed. I have installed 12.04 (trialled the latest 14 version as well but opted for the older one for more guidance. So I have everything I need for what I am doing except for 1 minor detail. I am so confused on entering the command lines

can anyone guide me to where there's a really simple straight forward guide to getting 2 programs to run and python to work? I know it's just entering command prompts so to speak but I can't get them to work or know the file directories for the locations of the programs.

ANY HELP WOULD BE APPRECIATED!!!!!!

ardvark71 03-01-2015 03:52 AM

Hi...

Welcome to the forum :)

Not sure I will be able to help but perhaps for those who can, will you tell us what software you're wanting to work and what error messages you are getting when you try to run them? I case you don't know, first bring up a terminal and then type in the name of the program (as Ubuntu knows it) and post any error messages that may appear in the terminal. ;)

Regards...

beachboy2 03-01-2015 05:37 AM

http://blog.pluralsight.com/introduc...n-ubuntu-linux

https://wiki.python.org/moin/BeginnersGuide

knudfl 03-01-2015 05:38 AM

Quote:

getting 2 programs to run and python
Python : $ sudo apt-get install python-all-dev
http://packages.ubuntu.com/precise-u...python-all-dev


2 programs : Which 2 programs ? ?



-

greeder 03-02-2015 11:36 PM

So it's easy to find out if Python is already installed. Open a command line (terminal) and type:
python
at the prompt. If Python is installed, you will get a welcome message identifying the version, and a cheveron prompt.
Like this (from my system):

Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

You then type:
quit()
at the cheveron prompt to exit. Also try:
python2
python3
To see if you have both versions of Python.

knudfl 03-03-2015 03:26 AM

← ref post #5, @greeder.
Quote:

... and type:
Python
Wrong. The python command is lower case : $ python

Sapphyr 03-03-2015 04:07 AM

Yup - *lower case* :)

Quote:

Originally Posted by knudfl (Post 5326052)
← ref post #5, @greeder.

Wrong. The python command is lower case : $ python


greeder 03-03-2015 04:44 PM

D'oh!
I knew that.
Since it is the name of somthing, I tend to automaticly reach for the shift key.
Making corrections...


All times are GMT -5. The time now is 07:57 PM.