LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-15-2011, 02:50 AM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Rep: Reputation: 2
automated download and install apps on python


Hi, I just installed python, but I am still very new to it. I tried to look up for installing apps on it. I know installing apps on debian is thru
apt-get install <package>
but how do you install apps on python? Is there a similar command like this on python as well?
Thanks,
Ted
 
Old 11-15-2011, 02:55 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Can you explain what you mean by "installing apps on Python" please? Python is a programming language; you don't install applications "on" it. If you're talking about installing Python packages, they usually have a setup.py file that you run (see, e.g. this).
 
1 members found this post helpful.
Old 11-15-2011, 03:41 AM   #3
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Original Poster
Rep: Reputation: 2
Hi, I was trying to install a chroot environment, there was two default files to initiate the env:
start.sh
Code:
mount -o bind /proc /usb/sda1/gentoo/proc
mount -o bind /dev /usb/sda1/gentoo/dev
chroot /usb/sda1/gentoo /bin/bash
results in segmentation fault error
the other file
start_python.sh
Code:
mount -o bind /proc /usb/sda1/gentoo/proc
mount -o bind /dev /usb/sda1/gentoo/dev
chroot /usb/sda1/gentoo python 2.6
was alright, but i am not sure if I can use the second file to achieve a chroot env as well? because I wasnt able to get the first one working.
Thanks,
Ted
 
Old 11-15-2011, 11:05 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I'm not really sure what you're asking. You state that start_python.sh "was alright" but then ask if you can use it for a chroot environment. What does "all right" mean, then? Also, presumably, there shouldn't be a space between "python" and "2.6".
 
  


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
Why do we need Python installed if we use Python apps in Linux? Mr. Alex Linux - Software 3 07-29-2011 07:05 AM
[SOLVED] Automated Download Problem - shell ftp vs Perl emmalg Linux - Software 3 06-01-2009 01:34 PM
Python: Stdin and python apps fighting? enigma_0Z Programming 2 07-15-2008 09:45 AM
Automated download sorting by filetype General Linux - Software 1 04-30-2006 12:50 AM
How to prevent Automated download software vhh Programming 7 08-07-2005 04:17 AM


All times are GMT -5. The time now is 10:33 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