I want to build Python 2.7.8 on my Ubuntu 12.04 machine, which has Python 2.7.3 as default distribution. I would like to "install" Python 2.7.8 but isolate it completely from Python 2.7.3 - meaning, I don't want to interfere at all with the distribution's default Python, including modules installed via apt-get or PIP.   I would like to do this from source, and I would like not to use virtualenv - I'd rather learn to do it the "hard" way before using more sophisticated tools.  A second related part to this question is, after I have installed Python 2.7.8, how can I have two different PIPs, the default installing Python modules to Python 2.7.3, and the alternative installing modules to Python 2.7.8?  Thanks.
I'm totally new to Ubuntu/Linux, using Ubuntu Server at the moment. Just trying to  figure out something basic.   How can you tell where you are installing a program. For example I just installed Sphinx search engine by placing the tarball that I downloaded from their site to my:  /home/sphinx   directory. I created the sphinx directory to place that tarball in. Then I ran these commands:  tar xvzf sphinx-0.9.8.1.tar.gz cd sphinx-0.9.8.1/ ./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql   and then these:  make sudo make install   Now I have a lot of files sitting in the directory where I ran these commands. Is this my Spynx installation or did it install somewhere else?  In windows if you run an installer (.exe file) anywhere the program will still install in your C:\Program Files directory. Does something similar apply to linux where all programs are installed in a central place, or can you install programs anywhere on the system.  Questions   I would prefer to keep all my installed programs in one place so what is the right place for this in terms of best practice. In other words what is the Linux equivalent of C:\Program Files? And how does one always install at this location, is it just a matter of placing the tarball and running the install commands from this location? What about if I use sudo apt-get to install a package. How can I point to this location to tell apt-get to always install there?
Electric potential is related to Electric Field by negative integral of Field with distance.If charges move away from the positive terminal (Assuming conventional flow) why is there no drop in electric potential even though the charges are moving in the direction of electric field?  Some of the answers I read for the similar question said that the electrons in wires rearrange themselves in a way to make the electric field uniform in the wire.However,this doesn’t explain the absence of potential drop in the wires (due to electric field) since the field is still there. What does the 'B' (or bonus) mean on a basketball scoreboard? Find the value of $x,y$ for the equation $12x+5y=7$ using number theory . I tried the solution using other ways like:  $12x+5y=7$  $12x=7-5y$  $x=7-5y/12$  putting the value of $x$  $12(7-5y/12)+5y=7$  both $12$ will cancel out  $7-5y+5y=7$ here comes the problem please help me ? Program does not wait before output Can I get tourist visa on arrival at Dubai airport? How does the PPA fit into the scenario of publishing an application to the Ubuntu Software Center? I've been going through docs for the past couple of hours but I haven't understood what the PPA is? I have a cross-platform Java application that I'd like to publish to the Ubuntu Software Center. My application is open-source and I'm using Github.   Apparently, publishing applications to the store isn't as simple as uploading a deb package - am I right? I need to create an account on Launchpad and put all my code there.  I don't intend to move from Git to Bzr merely for the sake of publishing to the app store but luckily, one is able to set up source-code mirroring from Github to Launchpad.  Since my application is still very premature, it'll have updates fairly often. When I build my application on my machine, do I simply go my Ubuntu App Developer page and upload the new DEB package or do they build my application from source?  What exactly is the PPA for? I don't think I'll need too many of the Launchpad features so I'd like to stick to Github if possible. Default route lost on reboot What should I do to avoid ear pain when flying? I always feel a pain in my ears when flying. Specially when descending. The last time I had extreme pain, feeling it inclusive around my eye balls. It felt like someone was touching the eye and pulling it from the inside. I really had to focus, close my eyes and hold to avoid screaming. I am not sure but I think both things might be related. Such a severe situation only happened once.  I just heard that with a cold the ear pain gets worse. I am bit worried that I might go through that situation again. I have a cold and I am going to fly soon.  What can I do to improve this?  I see that some consider this a duplicate of the question "best way to make my ears pop" but after reading the answers I think my question goes a bit beyond that since my pain is more extreme and I think it goes beyond just popping the ears. I also want to know if other methods, like using earplugs, might be effective. I read a book that answers one of my questions, and I would like to quote it as an answer. Is that illegal?    Thanks. Luggage transfer in Dubai between flights, without a visa I am traveling from Stockholm to Dubai and Dubai to Nairobi using two different airlines. I have Kenyan nationality and can't go through Immigration because I don't have a Dubai visa.    How I will get my luggage? Most people know the famous equation:    What were his steps of thinking for this equation that helped us discover so much about our world? Ask question post button remains disabled I've noticed this twice in the last ~2 weeks or so. The &quot;post your question&quot; button can remain disabled for some reason even when your question is shown as &quot;ready to publish&quot;. I.e., you've gotten to the &quot;review&quot; page after the initial edit. If I remember correctly, one case was on Stack Overflow, and the other was on . I'm not sure what exact scenario leads up to this. I haven't paid attention to the button until the last step when I'm ready to click it. The workaround has been to reload the page. (I copied my content for safe-keeping first.) This works, and the button then shows up as active. Afterwards, however, on both occasions, it forced me through the &quot;are you a human&quot; verification.  Update - this question itself did not exhibit this, nor did it do the .  Update - I'm using Chrome on Windows and am not sure what version it was when this happened.  It has  installed, but there aren't any scripts for any Stack Exchange sites.  It has  installed.  The virus scanner on the PC I probably was using was Is there any way to include an animated GIF directly? Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to split them up manually into EPS or PNG files as far as I can tell. In the DC Comics Universe, What Happens to Earthlings Under a Red Sun? I know in the earliest versions of Superman, his powers weren't from the yellow sun, but that was changed and, in general (at least as I understand it), Superman's powers are because he was native to a world with a red sun and now he's under a yellow sun.  What happens to an Earthling or other native to a yellow sun planet when near a red sun?  And what if the sun is blue?  Or a brown dwarf?  Please note: I'm asking about a red sun, not about living on Krypton.  Okay, that's heavy gravity, but it's not the only planet under a red sun.  (But, still the point about whether yellow sun natives would have super powers would come into play there, wouldn't it?) Why do we think of light as a wave? I've read that light travels in a straight line and has a wavelength of 400nm to 700nm. But I don't understand why does it have a wavelength and what creates its wavelength? I agree with the concept of sound which also has wavelength, thus called sound waves which are created by the vibrational movement in air. I'm not aware of calling light a wave. Does the light vibrate too? If so, then how? How to select a Master's thesis topic if your advisor won't suggest one? If a master's degree candidate needs to select a thesis topic, but their advisor is unwilling to offer suggestions on the matter, how should one go about selecting a thesis?   How might one select an area to study? How can one evaluate if if is a suitable topic? Does the thesis need to focus on an area which is relatively unexplored by prior research? Who do you have to contact to obtain a license to stream manga? I am curious to know who the copyright holder to a manga is: is it the mangaka, or the publisher (such as Kodansha, Shonen Jump, etc)?  Who do you have to contact to obtain a license for streaming it? How do I keep both the background and foreground in the image in focus at the same time? How do you have both the background and foreground in the image in focus at the same time?  Last week I was attempting a shot where I had the back of a hat in focus and in the distance you could see a mountain. I wanted both in focus, but could either focus on the mountain or the hat. I ended up taking the in-focus shots of both and merging them in Photoshop. While that isn't difficult I would prefer to shoot the shot as accurate as possible. From what I have read aperture is important in the depth of field but what are the techniques for keeping both the background and foreground in focus?  I am using a Nikon D5100 with a 18-55mm f/3.5-5.6 (standard kit lens) and a 55-200mm  f/4.5-5.6.    almost answers my question, but I am a bit confused. Can someone explain this a bit differently? Thanks! Where can I find the source code of Ubuntu? I would like to know where to find the source code of Ubuntu. I'd like to see how far it is "open source". ls command very slow after deletion of thousand files on a directory I have a dir under /home/myuser dir which an application stores and deletes millions of temporary files. When I do ls on this dir (now it only has a hundred files only) it is too slow (actually I do not get any output for many minutes). After some google search and doing:  ls -dl ~/mydir/   I get this  drwxrwxrwx 2 myuser myuser 160108544 Oct 12 11:31 /home/myuser/mydir/   which basically means I have to re-index directory entries for this directory (if I understood correctly). How do I do force such a re-indexing on this dir?