Manual:Installing/zh-cn

FreeCAD uses the LGPL license, which makes you free to download, install, redistribute and use FreeCAD the way you want, regardless of the type of work you'll do with it (commercial or non-commercial). You are not bound to any clause or restriction, and the files you produce with it are fully yours. The only thing that the license prohibits, really, is to claim that you programmed FreeCAD yourself!

FreeCAD runs without any difference on Windows, Mac OS and Linux. However, the ways to install it differ slightly depending on your platform. On Windows and Mac, the FreeCAD community provides precompiled packages (installers) ready to download, while on Linux, the source code is made available to Linux distributions maintainers, who are then responsible for packaging FreeCAD for their specific distribution. As a result, on Linux, you can usually install FreeCAD right from the software manager application.

The official FreeCAD download page for Windows and Mac OS is https://github.com/FreeCAD/FreeCAD/releases

FreeCAD versions

The official releases of FreeCAD, that you can find on the page above and in your distribution's software manager, are stable versions. However, the development of FreeCAD is fast! New features and bug fixes are added almost every single day. Since it can sometimes take a long time between stable releases, you might be interested in trying a more bleeding-edge version of FreeCAD. These development versions, or pre-releases, are uploaded from time to time to the download page mentioned above, or, if you are using Ubuntu or Fedora, the FreeCAD community also maintains PPA (Personal Package Archives) and copr or 'daily builds' which are regularly updated with the most recent changes.

If you are installing FreeCAD in a virtual machine, please be aware that the performance might be poor, or in some cases unusable due to the limits of OpenGL support on most virtual machines.

Installing on Windows

 * 1) Download an installer (.exe) package corresponding to your version of Windows (32bit or 64bit) from  the download page. The FreeCAD installers should work on any windows version starting from Windows 7.
 * 2) Double-click the downloaded installer.
 * 3) Accept the terms of the LGPL license, this will be one of the few cases where you can really, safely click the "accept" button without reading the text. No hidden clauses: [[Image:Freecad-windows-install-01.jpg|none]]
 * 4) You can leave the default path here, or change if you wish: [[Image:Freecad-windows-install-02.jpg|none]]
 * 5) No need to set the PYTHONPATH variable, unless you plan to do some advanced python programming, in which case you probably already know what this is for: [[Image:Freecad-windows-install-03.jpg|none]]
 * 6) During the installation, a couple of additional components, which are bundled inside the installer, will be installed too: [[Image:Freecad-windows-install-04.jpg|none]]
 * 7) That's it, FreeCAD is installed. You will find it in your start menu. [[Image:Freecad-windows-install-05.jpg|none]]

Installing a development version

Packaging FreeCAD and creating an installer takes some time and dedication, so usually, development (also called pre-release) versions are provided as .zip (or .7z) archives. These don't need to be installed, just unpack them and lauch FreeCAD by double-clicking the FreeCAD.exe file that you will find inside. This also allows you to keep both the stable and "unstable" versions together on the same computer.

Installing on Linux
On most modern Linux distributions (Ubuntu, Fedora, OpenSUSE, Debian, Mint, Elementary, etc), FreeCAD can be installed with the click of a button, directly from the software management application provided by your distribution (the aspect of it can differ from the images below, each distribution uses its own tool).


 * 1) Open the software manager and search for "freecad": [[Image:Freecad-linux-install-01.jpg|none]]
 * 2) Click the "install" button and that's it, FreeCAD gets installed. Don't forget to rate it afterwards! [[Image:Freecad-linux-install-02.jpg|none]]

Alternative ways

One of the big joys of using Linux is the multitude of possibilities to tailor your software, so don't restrain yourself. On Ubuntu and derivatives, FreeCAD can also be installed from a PPA maintained by the FreeCAD community (it contains both stable and development versions). On Fedora, recent development versions of FreeCAD can be installed from copr, and because this is open source software, you can also easily compile FreeCAD yourself.

Installing on Mac OS
Installing FreeCAD on Mac OSX is nowadays as easy as on other platforms. However, since there are less people in the community who own a Mac, the available packages often lag a couple of versions behind the other platforms.

5. If the system prevents FreeCAD to launch, due to restricted permissions for applications not coming from the App store, you will need to enable it in the system settings:
 * 1) Download a zipped package corresponding to your version from  the download page.
 * 2) Open the Downloads folder, and expand the downloaded zip file: [[Image:Freecad-mac-01.jpg|none]]
 * 3) Drag the FreeCAD application from inside the zip to the Applications folder: [[Image:Freecad-mac-02.jpg|none]]
 * 4) That's it, FreeCAD is installed! [[Image:Freecad-mac-03.jpg|none]]

Uninstalling
Hopefully you won't want to do that, but it is good to know anyway. On Windows and Linux, uninstalling FreeCAD is very straightforward. Use the standard "remove software" option found in the control panel on Windows, or remove it with the same software manager you used to install FreeCAD on Linux. On Mac, all you need to do is remove it from the Applications folder.

Setting basic preferences
Once FreeCAD is installed, you might want to open it and set a couple of preferences. Preferences settings in FreeCAD are located under menu Edit -> Preferences You can browse through the different pages to see if there is anything else you would want to change, but here are a couple of basic ones:


 * 1) Language: FreeCAD will automatically pick the language of your operating system, but you might want to change that. FreeCAD is almost fully translated to 5 or 6 languages, plus many others that are at the moment only partially translated. You can easily help to translate FreeCAD. [[Image:Freecad-basic-options01.jpg|none]]
 * 2) Auto-load module: Normally, FreeCAD will start showing you the start center page. You can skip this and begin a FreeCAD session directly in the workbench of your choice. Workbenches will be explained in detail in the next chapter.
 * 3) Create document at startup: Combined with the option above, this starts FreeCAD ready for work. [[Image:Freecad-basic-options02.jpg|none]]
 * 4) Storage options: As any complex application, FreeCAD might crash from time to time. Here you can configure a few options that will help you to recover your work in case of a crash.
 * 5) Authoring and license: You can set the default settings that will be used for your new files. Consider making your files shareable right from the start, by using a friendlier, copyleft license like Creative Commons.
 * 6) Redirect python messages to output view: These two options are always good to mark, as they will permit you to see what's wrong in the Report View when there's a problem with running a particular python script. [[Image:Freecad-basic-options03.jpg|none]]
 * 7) Units: Here you can set the default units system you wish to use. [[Image:Freecad-basic-options04.jpg|none]]

Installing additional content
As the FreeCAD project and its community grows quickly, and also because it is easy to extend, external contributions and side-projects made by community members and other enthusiasts begin to appear everywhere on the internet. There is an effort going on to gather all these interesting additions in one place, on the FreeCAD github page. There, among other things, you will find:


 * 1) A Parts library, which contains all kinds of useful models, or pieces of models, created by FreeCAD users that can be freely used in your projects. The library can be used and accessed right from inside your FreeCAD installation.
 * 2) A collection of addons, most of them additional workbenches, that extend the functionality of FreeCAD for certain tasks. Instructions for installing are given on each separate addon page.
 * 3) A collection of macros, which are also available on the FreeCAD wiki along with documentation about how to use them. The wiki contains many more macros.

If you are using Ubuntu or any of its derivatives, the FreeCAD-extras PPA contains most of these addons. On other platforms, any of the addons, including the Parts library, can easily be installed using an addon-installer macro provided in the addons repository. The following procedure shows how to install the addon-installer (other macros can be installed the same way)


 * 1) Download the addons-installer.FCMacro file from https://github.com/FreeCAD/FreeCAD-addons by clicking it, then right-clicking the "RAW" button, and choosing "Save as".
 * 2) Place the macro in your FreeCAD Macros destination path. You FreeCAD Macros destination path is indicated at the bottom of the Execute macro dialog in FreeCAD: [[Image:Macro_installer_01.jpg|none]]
 * 3) Close and reopen the Execute macro dialog, and start the addons_installer.FCMacro. The installer will launch, from where you can install, update and uninstall any of the addons:



Read more


 * More download options
 * Detailed installation instructions
 * FreeCAD PPA for Ubuntu
 * FreeCAD addons PPA for Ubuntu
 * compile FreeCAD yourself
 * FreeCAD translations
 * FreeCAD github page