Installing on Linux/it

Descrizione
L'installazione di FreeCAD sui più noti sistemi Linux è stata ora approvata dalla comunità e FreeCAD dovrebbe essere direttamente disponibile tramite il gestore di pacchetti disponibile per la propria distribuzione. Il team di FreeCAD fornisce anche alcuni:
 * Pacchetti "ufficiali" quando vengono rilasciate nuove versioni
 * Repository sperimentali Personal Package Archive (PPA), AppImages, e Ubuntu Snaps per testare le ultime funzioni sviluppate.

Ubuntu e sistemi basati su Ubuntu
Molte distribuzioni Linux sono basate su Ubuntu e condividono i suoi repository. Per altre varianti ufficiali (Kubuntu, Xubuntu e Lubuntu), ci sono distro non ufficiali come per Linux Mint, Voyager e altri. Le opzioni di installazione riportate in seguito dovrebbero essere compatibili con tali sistemi.

Repository ufficiale di Ubuntu
FreeCAD è disponibile nel repository ufficiale di Ubuntu e può essere installato tramite o dal terminale:

il pacchetto del repository di Ubuntu potrebbe essere obsoleto rispetto all'ultimo codice sorgente stabile. In questo caso, si consiglia di installare il pacchetto dal PPA sottostante. Inoltre, l'installazione del pacchetto può essere eseguita per testare il ramo di sviluppo.

PPA stabile
Il Personal Package Archive (PPA) per la versione stabile di FreeCAD è mantenuto dalla comunità di FreeCAD su Launchpad. Il repository Launchpad viene chiamato FreeCAD Stable Releases.

Interfaccia grafica
Installare il PPA stabile tramite l'interfaccia utente grafica (GUI):


 * 1. Navigare verso
 * 2. Cliccare su, quindi copiare e incollare la riga seguente


 * 3. Aggiungere il sorgente, chiudere la finestra di dialogo e ricaricare i sorgenti del software, se richiesto.

Ora si può trovare e installare l'ultima versione stabile di FreeCAD da.

Riga di comando
Installare il PPA stabile tramite l'interfaccia della riga di comando (CLI):


 * 1. Aggiungere il PPA al proprio sorgenti software:


 * 2. Recuperare gli elenchi dei pacchetti aggiornati:


 * 3. Quindi installare FreeCAD insieme alla sua documentazione offline:

due to packaging problems, in certain versions of Ubuntu the package has collided with the installation of FreeCAD or one of its dependencies; if this is the case, remove the  package, and only install the  package. If the package doesn't exist, then ignore it.

Checking Installation

 * 4. Once you have the stable PPA added to your sources using one of the above methods, the package will install this PPA version over the one provided by the Ubuntu Universe repository. You can see the available versions with the following  command:


 * The output should look similar to the following (of course the version info will vary):


 * 5. Invoke the stable (PPA) version of FreeCAD from the GUI or CLI. The latter method is as follows:

Development PPA (Daily)
As FreeCAD is in constant development, you may wish to install the package to keep with the latest improvements and bug fixes. The repository is also hosted on Launchpad and is called freecad-daily.

This version is compiled daily from the official master repository. Please beware that although it will contain new features and bug fixes, it may also have newer bugs, and be unstable.

Add the daily PPA to your software sources, update the package lists, and install the daily package:

Every day you can update to the latest daily:

in some cases new code or dependencies added to FreeCAD will cause packaging errors; if this happens, a daily package may not be generated until the maintainers manually fix the problems. If you wish to continue testing the latest code, you should get the source code and compile FreeCAD directly; for instructions see compiling.

Run the daily (PPA) version of FreeCAD:

it is possible to install both the and  packages in the same system. This is useful if you wish to work with a stable version, and still be able to test the latest features in development. Notice that the executable for the daily version is, but for the stable version it is just.

Debian and other Debian-based systems
Since Debian Lenny, FreeCAD is available directly from the Debian software repositories and can be installed via synaptic or simply with:

OpenSUSE
FreeCAD is typically installed with YAST (abbr. Yet another Setup Tool) the Linux operating system setup and configuration tool, or in any terminal/console (root rights required) with:



This procedure only covers the installation of officially released stable FreeCAD program versions, depending on the installed links to the program package repositories of your OS version. The openSUSE package may be outdated as the packaging may lag behind the latest stable source code. In this case, it is suggested to install the package manually from the below indicated (Expand) source repositories.

A vast release program for FreeCAD package builds are offered. Please visit for a survey:

Survey of repositories on openSUSE

Generally for selecting the correct openSUSE distribution needed it is necessary to click on the particular button.

Stable
The stable package version: Stable repositories on openSUSE. The correct openSUSE distribution version must be selected in the lower part of the web page.

Note: openSUSE has several options to choose from when downloading FreeCAD. To view these options, visit Survey of stable repositories on openSUSE.

Development
Latest development releases AKA : Unstable repositories listings on openSUSE

It is recommended to grab the binary packages directly. Then select the correct distribution for your installed openSUSE OS.

Gentoo
FreeCAD can be built/installed simply by issuing:

Fedora
FreeCAD has been included in the official Fedora packages since Fedora 20. It can be installed from the command line with:

On older Fedora releases, that was:

The gui packages managers can also be used. Search for "freecad". The official release package version tends to be well behind the FreeCAD releases. Package: freecad shows the versions included in the Fedora repositories over time and versions.

More current versions can be obtained by downloading one of the .AppImagereleases from the github repository. These work fine on Fedora.

If you want to keep up with the absolute latest daily builds, FreeCAD is also available on copr. To install the build from there, in a terminal session, enter:

That leaves the copr repository active, so

or equivalent, will update to the latest FreeCAD build, along with updates from any of the other active repos. If you want something a bit more stable, you can disable @freecad/nightly again after the initial install. The copr repository only keeps builds from the past 2 weeks. This is not a solution if you want to pick a specific older version.

Instructions are also available on compile FreeCAD yourself, including a script specifically for Fedora. With a minor change, to checkout the specific commit from git, any version since about FreeCAD 0.15 can be built on any distribution since Fedora 21.

Arch
Installing FreeCAD on Arch Linux and derivatives (ex. Manjaro):

Other
If you find out that your system features FreeCAD but is not documented in this page, please tell us on the forum!

Many alternative, non-official FreeCAD packages are available on the net, for example for systems like slackware or fedora. A search on the net can quickly give you some results.

Manual install on .deb based systems
If for some reason you cannot use one of the above methods, you can always download one of the .deb packages available on the Download page.

Once you downloaded the .deb corresponding to your system version, if you have the Gdebi package installed (usually it is), you just need to navigate to where you downloaded the file, and double-click on it. The necessary dependencies will be taken care of automatically by your system package manager. Alternatively you can also install it from the terminal, navigating to where you downloaded the file, and type:

changing Name_of_your_FreeCAD_package.deb by the name of the file you downloaded.

After you installed FreeCAD, a startup icon will be added in the "Graphic" section of your Start Menu.

Installing on other Linux/Unix systems
Many common Linux distros now include a precompiled FreeCAD as part of the standard packages. This is often out of date, but is a place to start. Check the standard package managers for your system. One of the following (partial) list of commands could install the official version of FreeCAD for your distro from the terminal. These probably need administrator privileges.

The package name is case sensitive, so try `FreeCAD` as well as `freecad`. If that does not work for you, either because your package manager does not have a precompiled FreeCAD version available, or because the available version is too old for your needs, you can try downloading one of the .AppImage releases from the github repository. These tend to work on most 64 bit Linux distributions, without any special installation. Just make sure the downloaded file is marked as executable, then run it.

If that still is not good enough, and you can not locate another source of a precompiled package for your situation, you will need to compile FreeCAD yourself.

Installing Windows Version on Linux
See the Install on Windows page.

Next Step
Once you've got FreeCAD installed, it's time to get started!