LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2009, 03:16 PM   #1
SuperDude123
Member
 
Registered: Nov 2008
Posts: 158

Rep: Reputation: 30
Installing Python, or did I already do it?


I have a DSL box (200 MHz), and I want to install fail2ban, and do run f2b, I need to have Python. After reading how to install something on DSL (reminder that I do all through terminal, via SSH), I opened a graphical utility that allows me to install unc files, but at one stage, it told me that I did not have the proper rights (was logged in as a user, not sudo), so I think the system either crash or something since the box went in to Hault mode (had to phone call some one to look at the box and reboot). So my question is, should I just try again to run the install as a sudoer user, and how can I tell if Python was install successfully?
 
Old 01-11-2009, 03:20 PM   #2
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
What happens when you type python -v on the command line?

M.
 
Old 01-12-2009, 03:02 PM   #3
SuperDude123
Member
 
Registered: Nov 2008
Posts: 158

Original Poster
Rep: Reputation: 30
I get "-bash: python: command not found"

Does this mean it didn't install?
 
Old 01-12-2009, 03:20 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by SuperDude123 View Post
I get "-bash: python: command not found"

Does this mean it didn't install?
That's most likely what it means. To be sure, do this in a terminal:

find /usr -name "python*"
 
Old 01-12-2009, 03:22 PM   #5
SuperDude123
Member
 
Registered: Nov 2008
Posts: 158

Original Poster
Rep: Reputation: 30
That did nothing. Maybe I installed it wrong?
 
Old 01-12-2009, 10:26 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
What method for install are you using?

Did you get any error messages?

Is it possible it got into a non-standard location? (try find / -name "python*" ---run this as root)
 
Old 01-13-2009, 08:31 PM   #7
SuperDude123
Member
 
Registered: Nov 2008
Posts: 158

Original Poster
Rep: Reputation: 30
I ran that, and here's what I got:

/opt/python
/tmp/mydsl.installed/python
/tmp/mydsl.menu/python

The first one was empty (maybe I created manually a few days ago?).

To run the install, I probably used mydsl-load /path/to/my/extension (from http://damnsmalllinux.org/wiki/index...DSL_Extensions).

From what I can tell, I had mannaged to mount the unc file, however, I never installed Python. I did find a package installing program in DSL under /tmp/mydsl called MyDSL. When I loaded this, it could load the unc file, however, I could never get it to install it. Maybe there is a command line method to install a unc or a uci file?
 
  


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
Installing Python 3k opus-outlaw Linux - Software 0 12-10-2008 01:51 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM
Installing Python 2.4?? PICOspark Programming 1 01-18-2005 10:14 AM
Installing Python on suse 9.1 Multra Linux - Newbie 2 10-26-2004 12:57 PM
Installing Python 2.2.3-26 in RH 8 jdtiede Red Hat 0 11-05-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 AM.

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
Open Source Consulting | Domain Registration