Home > How To > How To Choose Installation Directory For 3rd Party Software?

How To Choose Installation Directory For 3rd Party Software?

Contents

The expected convention for locally installed packages is to put them in the .../site-packages/ directory, but you may want to install Python modules into some arbitrary directory. I tend to agree. Installing a package or a program in a remote, read-only directory is just impossible. These compilers require some special libraries. Source

Linux journal had this point/counterpoint discussion about this exact topic here. For example, on a Unix system you might not have permission to write to the standard third-party module directory. Here is an example of how to launch Google Earth in such a manner. Usually (hopefully) the program has a registry entry with the install location.

Ubuntu Applications Folder Location

Why are the windows of bridges of ships always inclined? Entering Sweden with tourist visa while awaiting "researcher" permit Is Forrest Jr. What can I do?

If your extension uses other libraries (zlib, ...) you have to convert them too. In other words, the traditional desktop programs can’t be installed to another drive or location using the official method.The inability to change default install location has been haunting PC users for It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr. Linked 3 How do I change Software Center's default installation path?

On Unix and Mac OS X, the three configuration files (in the order they are processed) are: Type of file Location and filename Notes system prefix/lib/pythonver/distutils/distutils.cfg (1) Ubuntu Where To Install Programs up vote 176 down vote favorite 80 According to the Filesystem Hierarchy Standard, /opt is for "the installation of add-on application software packages". /usr/local is "for use by the system administrator You'll need to use Gparted from the Live CD/USB, and the only disadvantage is, it's gonna take a while -hours rather then minutes. This location varies by platform and by how you built/installed Python itself.

Through some kind of script for example? My instructions will work within the Ubuntu system, instead of breaking or subverting it. You can find out what your Python installation uses for prefix and exec-prefix by running Python in interactive mode and typing a few simple commands. Read and understand the LHS (which I linked to above) 2.

Ubuntu Where To Install Programs

Go here to learn how to change the default location of the Documents folder or profile personal files or change default install location of Windows 8 Store Apps or how to change default http://askubuntu.com/questions/1148/what-is-the-best-place-to-install-user-apps files in /usr/local/ will be prioritized over files in /usr/ /opt/ should be used for installation of pre-compiled (binary) packages (Thunderbird, Eclipse, Netbeans, IBM NetSphere, etc) and the like. Ubuntu Applications Folder Location Is it rude to use tracking softwares for the emails that you send to potential advisors? Virtualbox How to use NIntegrate to see how it grows?

How does Distutils manage to use these libraries with their changed names? http://lacosteradigital.com/how-to/how-to-setup-asio4all-in-daw-software.html How did George W. Each line in a Setup describes a single module. You don't need to run Python or a setup script, you don't need to compile anything--you might not even need to read any instructions (although it's always a good idea to

Under Python 1.5.2, the default prefix was C:\Program Files\Python, and the Distutils were not part of the standard library--so the system configuration file would be C:\Program Files\Python\distutils\distutils.cfg Originally Posted by wombatvvv Hi, 1 - Where should I select to install programs to when I have a choice? 2 - Where do programs get automatically installed to using the I try to treat the cause, not the symptom. http://lacosteradigital.com/how-to/help-choose-gpu-to-raise-windows-index.html A slightly less convenient way is to edit the site.py file in Python's standard library, and modify sys.path. site.py is automatically imported when the Python interpreter is executed,

admin saysJanuary 12, 2016 at 1:09 pm Link is working fine at my end. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the And the srtucture works in exactly the same way!

You might be interested in a module distribution that doesn't have an easy-to-use installer for your platform.

So, once software programs are installed they go by default to C:\Program files on the computer. int firstParameterIndex = trueViewOpenCommand.Find(_T("%")); PrintString(trueViewOpenCommand.Left(firstParameterIndex).TrimRight('"').TrimRight(' ')); cout << "\n\nPress to exit..."; getchar(); } } share|improve this answer answered May 2 '09 at 2:31 Hawkeye Parker 1,8581630 add a comment| Your How do you develop software without acceptance criteria? Client wants me to teach them InDesign Is The Union of Intervals an Interval or not?

Here is a method I've used in the past to launch an application associated with a particular file type, but without actually opening a file. The config files are grouped into sections. For example, you can build everything in one step, and then install everything in a second step, by invoking the setup script twice: python setup.py build python setup.py install If you Check This Out This is entirely appropriate, since in those cases Python is part of "the system" rather than a local add-on.

This will likely only be done if the module distribution contains many separate extension modules, or if they often require elaborate sets of compiler flags in order to work. yep your right programs accessable by all users will be put in /usr/bin while anything you install in your own home directory will only be accessible by you. To create a custom installation scheme, you start with one of the alternate schemes and override some of the installation directories used for the various types of files, using these options: However, if you are installing Python modules from source, you probably want them to go in /usr/local/lib/python2.X rather than /usr/lib/python2.X.

There was no notion of packaging (outside tarballs).