LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2015, 01:43 AM   #1
scarybigpic
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
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!!!!!!
 
Old 03-01-2015, 04:52 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,690
Blog Entries: 3

Rep: Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769
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...

Last edited by ardvark71; 03-01-2015 at 04:53 AM. Reason: Correction.
 
Old 03-01-2015, 06:37 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18 MATE, antiX-16.1, MX-16
Posts: 1,972
Blog Entries: 8

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

https://wiki.python.org/moin/BeginnersGuide
 
Old 03-01-2015, 06:38 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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 ? ?



-
 
Old 03-03-2015, 12:36 AM   #5
greeder
Member
 
Registered: Sep 2014
Posts: 31

Rep: Reputation: Disabled
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.

Last edited by greeder; 03-03-2015 at 05:45 PM. Reason: the correct command is python, not Python
 
Old 03-03-2015, 04:26 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← ref post #5, @greeder.
Quote:
... and type:
Python
Wrong. The python command is lower case : $ python
 
1 members found this post helpful.
Old 03-03-2015, 05:07 AM   #7
Sapphyr
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: 0
Yup - *lower case*

Quote:
Originally Posted by knudfl View Post
← ref post #5, @greeder.

Wrong. The python command is lower case : $ python
 
Old 03-03-2015, 05:44 PM   #8
greeder
Member
 
Registered: Sep 2014
Posts: 31

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

Last edited by greeder; 03-03-2015 at 05:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Python to work. Semoset Linux - Software 10 08-19-2007 03:45 AM
Python Anaconda Work conrad10781 Programming 1 02-12-2007 09:03 AM
Getting GTK to work with python crazyjimbo Programming 4 11-27-2006 01:14 PM
getting wxPython to work with python servnov Linux - Newbie 0 01-09-2005 12:48 PM
python doesn´t work little_ball Linux - Newbie 4 12-04-2004 10:09 AM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration