The first step for Python 3 is to install Apple’s Xcode program which is necessary for iOS development as well as most programming tasks. We will use XCode to install Homebrew. In your Terminal app, run the following command to install XCode and its command-line tools: $. Aug 12, 2018 Now the SQLite server has been installed, it do not need any installation. Start SQLite Server. Open a terminal and CD to the SQLite file unzip folder. Execute sqlite3 in command line, when you see below messages, the SQLite server has been started. After installing Java for macOS 2012-006, can I continue to use Apple's Java 6 alongside the macOS JDK for Java 13? If you want to continue to develop with Java 6 using command-line, then you can modify the startup script for your favorite command environment. Since IQ-TREE is a command-line program, clicking on iqtree.exe will not work. You have to open a Command Prompt for all analyses: Click on “Start” menu (below left corner of Windows screen). Type in “cmd” and press “Enter”. It will open the Command Prompt window (see Figure below). When you run a Java application from the command line, it uses the default JDK. If you do not develop Java applications, then you do not need to worry about this. See Determining the Default JDK Version on macOS.
Microsoft Windows
Download the installer,then double-click the installer icon.
Install options
You can set install options by clicking the 'Advanced' button on the configuration screen.The options are:
Running BOINC invisibly
To run BOINC invisibly, choose the 'Service install' option,then delete the BOINC shortcut from the Start/Programs/BOINC and Start/Programs/Startup menus(locate BOINC in each menu, right-click, select Delete).You can still run the BOINC Manager by going to C:Program FilesBOINCand double-clicking on boincmgr.exe
Error recovery
If you get an error error 1714 - the old installation can't be removed when installing a new version of BOINC:
Mac OS X
Several tools for Mac OS X are available to:
Linux
The recommended way to install the BOINC client on Linux is to use the package management system of your Linux distribution. If the BOINC client does not exist for your distribution, please open an issue in github. Note that there are two packages, one for the BOINC Client and another for the BOINC Manager, which can be installed separately. Only the client is required but it is likely that the manager is wanted as well unless the client is to be managed from a remote host.
Debian
Open a terminal and enter the following command:
sudo apt-get install boinc-client boinc-manager
Ubuntu
Use the software centre to install the BOINC manager or following instructions for Debian.
Fedora
Open a terminal and enter the following command:
sudo dnf install boinc-manager
Redhat/CentOS
To Ensure that the EPEL repository is enabled, open a terminal and enter the following command:
Open a terminal and enter the following command:
sudo yum install boinc-client boinc-manager
Hint: When detection of GPUs and VirtualBox doesn't work, disable SELinux. See https://linuxize.com/post/how-to-disable-selinux-on-centos-8/ for more info on that.
Building from Source
The source code for BOINC can be obtained from the github repository. This can be done with the following command:
wget https://github.com/BOINC/boinc/archive/master.zip
It can the be built with the following commands
Alternatively a specific version (gitbranch and gittag) can be downloaded with the following command:
wget https://github.com/BOINC/boinc/archive/${gitbranch}/boinc-client-${gittag}.tar.gz
Running BOINC using Docker
A Docker image containing the BOINC client can be downloaded from here:https://hub.docker.com/r/boinc/client/
You can run this image using Docker on any 64-bit Intel computer (Linux, FreeBSD, Mac, or Windows).
The image contains only the client.You can control it using a BOINC GUI running locally or remotely.
![]() Using a bootable image
You can download a bootable image containing Linux and the BOINC client,write it to a USB stick, and boot from it.Currently one such image is available:PADOLF@home is based on Debian.It includes the 7.8.3 BOINC client and GUI, and has recent video drivers for AMD and Nvidia GPU support.Note: this is provided by volunteers, not by BOINC.
The Berkeley Installer
The Berkeley installer is available directly from the BOINC project.It is a self-extracting archive.This type of installation requires that you be familiar with the UNIX command-line interface.The download files have names like
boinc_7.2.23_i686-pc-linux-gnu.sh .
Here is an example.The archive is downloaded to the desktop.It is then moved to the home directory (~).Finally BOINC is unpacked and installed.All of this can be done within a regular user account; root privileges are not needed.
This creates a directory called BOINC/ under the home directory containing the following files:
To start the client manually enter the following terminal commands:
The BOINC working directory can be moved elsewhere as you like, and can even be renamed.One common choice is ~/.boinc,since files and directories with names that begin with 'dot' do not show up by default in Unix directory listings.Whatever the name, everything related to the BOINC client is contained within that directory,and you should always run the client and the manager from that working directory.
Build BOINC from source
You can build the BOINC client from source.Keep in mind that BOINC consists of both client and server software.To run BOINC on your computer you only need to build the client software.
Instructions for building BOINC from source are in a separate developer's wiki.Start with these pages:
There is additional documentation on other web sites:
64 Bit Considerations
If you are running 64 bit Linux, you might have a problemwith projects that issue 32 bit applications rather than 64 bit applications.To allow 32 bit applications to run on 64 bit Linux you must install 32 bit versions of certain shared libraries.The names of the packages containing the 32 bit libraries is different for each distro.
N.B. The commands given below are executed in a terminal window. To open, hit the key combination Ctrl+Alt+T. The sudo commands could ask for a password [yours] to temporarily give admin installation rights for the needed libraries. [Default], closing the terminal or leave the terminal idle for 15 minutes will revoke these rights again.
Fedora
Three packages are required for 64 bit compatibility.
Command Line Download But Not Install Mac Os
Install all 3 packages at once, by opening a terminal and typing:
Ubuntu
Four packages are required for 64 bit compatibility (Read whole section before applying).
Install all 4 packages at once with the following steps:
If the above fails to get 32 bit work on e.g. World Community Grid or to at all install, these sets work on newer Linuxes [those in italic are optional]
or alternate for Test4Theory:
The changes will not take effect until the client/daemon has been restarted. This too can be done in terminal, e.g. on Ubuntu with
The ClimatePrediction.net (CPDN) project only has 32bit applications, so they require 32bit compatibility libraries.
For Debian Stretch and Buster, the following command should work to ensure 32 bit compatibility with cpdn apps:
Performanc apps for mac. For 64bit Ubuntu 19.10, the following command should work to ensure 32 bit compatibility with cpdn apps:
For 64bit Ubuntu 18.04 and 19.04, the following command should work to ensure 32bit compatibility with cpdn apps:
For Redhat/CentOS/SciLinux 6, the following command should work to ensure 32 bit compatibility with cpdn apps:
For Redhat/CentOS/SciLinux 7, the following command should work to ensure 32 bit compatibility with cpdn apps:
FreeBSD
There is additional information on installing, configuring and running BOINC on FreeBSD.
Retrieved from 'https://boinc.berkeley.edu/w/?title=Installing_BOINC&oldid=6406'
Historically MacOS came preinstalled with Python 2, however starting with Mac 10.15 (released in October 2019) this is no longer the case. And since Python 2 will no longer be officially supported as of January 1, 2020, you should really use Python 3 instead.
There are multiple ways to install Python 3 on a MacOS computer. The official Python website even recommends downloading it directly, however this approach can cause confusion around PATH variables, updates, and uninstalls. A better approach, in my opinion, is to instead use the popular package manager Homebrew which automates updates and juggling multiple versions of Python on a computer.
Is Python 3 already installed?
Before we start, make sure Python 3 isn’t already installed on your computer. Open up the command line via the Terminal application which is located at
Applications -> Utilities -> Terminal .
Mac Command Line
Then type the command
python --version followed by the Enter key to see the currently installed version of Python.
Note: The dollar sign, (
$ ), indicates user input. Everything after is intended to be typed by the user followed by the Enter key. Any output, such as Python 2.7.17 in this case, does not have a dollar sign in front.In short: don’t type $ before your commands!
It’s possible that Python 3 may have already been installed as
python3 . Run the command python3 --version to check, however most likely this will throw an error.
Install XCode
The first step for Python 3 is to install Apple’s Xcode program which is necessary for iOS development as well as most programming tasks. We will use XCode to install Homebrew.
Download select videos from iphone to mac. In your Terminal app, run the following command to install XCode and its command-line tools:
It is a large program so this make take a while to download. Make sure to click through all the confirmation prompts XCode requires.
Install HomebrewMac Command Line List
Next install Homebrew by copy/pasting the following command into Terminal and then type Enter:
To confirm Homebrew installed correctly, run this command:
Install Python 3
Now we can install the latest version of Python 3. Type the following command into Terminal and press Enter:
To confirm which version of Python 3 was installed, run the following command in Terminal:
Finally, to run our new version of Python 3 open an interactive shall by typing
python3 within Terminal:
To exit the Python 3 interactive shell, you can type either
exit() and then Return or type Control+d which means hold both the Control and D keys at the same time.
Note that it is still possible to run Python 2 by simply typing
python :
Virtual Environments
By default, Python packages are installed globally on your computer in a single directory. This can cause major problems when working on multiple Python projects!
For example, imagine you have Project A that relies upon Django 1.11 whereas Project B uses Django 2.2. If you naively installed Django on your computer, only the latest install would be present and available in that single directory. Then consider that most Python projects rely on multiple packages that each have their own version numbers. Google hangout for mac. There’s simply no way to keep everything straight and not inadvertently break things with the wrong package versions.
The solution is to use a virtual environment for each project, an isolated directory, rather than installing Python packages globally.
Confusingly, there are multiple tools for virtual environments in Python:
Command Line Download But Not Install Mac Catalina
Command Line Download But Not Install Mac 10.10
On MacOS we can install Pipenv with Homebrew.
Then use Pipenv for any Python packages you wish to install. Como activar adobe master collection cs5 mac download. For example, if you want to work with Django 2.2.6, first create a dedicated directory for it on your computer such as in a
django directory on your Desktop.
Then install Django within that directory.
If you look within the directory there are now two new files,
Pipfile and Pipfile.lock , which Pipenv uses. To activate the virtual environment type pipenv shell .
There will now be parentheses around the name of your current directory which indicates the virtual environment is activate. To exit the virtual environment, type
exit .
The lack of parentheses confirms the virtual environment is no longer active. Adobe camera raw 7.2 download mac.
Next Steps
To learn more about Python, the books Python Crash Course and Automate the Boring Stuff are great resources. For free tutorials on web development with Python check out Learn Django.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |