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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-11-2009, 03:16 PM
|
#1
|
Member
Registered: Nov 2008
Posts: 158
Rep:
|
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?
|
|
|
01-11-2009, 03:20 PM
|
#2
|
Member
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448
Rep:
|
What happens when you type python -v on the command line?
M.
|
|
|
01-12-2009, 03:02 PM
|
#3
|
Member
Registered: Nov 2008
Posts: 158
Original Poster
Rep:
|
I get "-bash: python: command not found"
Does this mean it didn't install?
|
|
|
01-12-2009, 03:20 PM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by SuperDude123
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*"
|
|
|
01-12-2009, 03:22 PM
|
#5
|
Member
Registered: Nov 2008
Posts: 158
Original Poster
Rep:
|
That did nothing. Maybe I installed it wrong?
|
|
|
01-12-2009, 10:26 PM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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)
|
|
|
01-13-2009, 08:31 PM
|
#7
|
Member
Registered: Nov 2008
Posts: 158
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 02:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|