Difference between revisions of "Install on Unix/pl"

From FreeCAD Documentation
Jump to: navigation, search
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<languages/>
 +
{{docnav|Install on Windows|Install on Mac}}
 +
 +
<div class="mw-translate-fuzzy">
 
Aktualnie zespół FreeCADa tworzy tylko paczki dla 32-bitowych dystrybucji Debian i Ubuntu. Niektórzy użytkownicy społeczności FreeCAD tworzą instalatory także dla innych odmian Linuksa. By zobaczyć jakie są obecnie dostępne instalatory zajrzyj do działu [[Download]] .
 
Aktualnie zespół FreeCADa tworzy tylko paczki dla 32-bitowych dystrybucji Debian i Ubuntu. Niektórzy użytkownicy społeczności FreeCAD tworzą instalatory także dla innych odmian Linuksa. By zobaczyć jakie są obecnie dostępne instalatory zajrzyj do działu [[Download]] .
  
 
The installation of FreeCAD on the most well-known linux systems has been now endorsed by the community, and FreeCAD should be directly available via the package manager available on your distribution. The FreeCAD team also provides a couple of "official" packages when new releases are made, and a couple of experimental PPA repositories for testing bleeding-edge features.
 
The installation of FreeCAD on the most well-known linux systems has been now endorsed by the community, and FreeCAD should be directly available via the package manager available on your distribution. The FreeCAD team also provides a couple of "official" packages when new releases are made, and a couple of experimental PPA repositories for testing bleeding-edge features.
 +
</div>
  
 
Once you've got FreeCAD installed, it's time to [[Getting started|get started]]!
 
Once you've got FreeCAD installed, it's time to [[Getting started|get started]]!
Line 27: Line 32:
  
 
FreeCAD is available from Ubuntu repositories and can be installed via the Software Center or with this command in a terminal:
 
FreeCAD is available from Ubuntu repositories and can be installed via the Software Center or with this command in a terminal:
sudo apt-get install freecad
+
{{Code|code=
But chances are this version will be outdated, and not have the latest features.
+
sudo apt-get install freecad
 +
}}
 +
'''Important Note:''' <u>Chances are this stable version will be outdated</u>, and not have the latest features. To get the last release version, please use the Personal Package Archive (<tt>PPA</tt>) options below.
 +
 
 +
=== Stable PPA with GUI ===
  
=== Latest Stable Release from the PPA ===
+
To install FreeCAD using the PPA, from the graphical interface, please follow those instructions. The FreeCAD community provides a [https://launchpad.net/~freecad-maintainers/+archive/freecad-stable PPA repository on Launchpad] with the latest stable FreeCAD version.
  
The FreeCAD community provides a [https://launchpad.net/~freecad-maintainers/+archive/freecad-stable PPA repository on Launchpad] with the latest stable FreeCAD version.
+
You need to add to your system's Software Sources the following PPA. To do that navigate to Ubuntu Software Centre → Edit → Software Sources → Other Software. Click on add and copy and past the code below:
 +
{{Code|code=
 +
ppa:freecad-maintainers/freecad-stable
 +
}}
  
==== Installing from the GUI ====
+
Refresh your software sources, if asked. Now, you can find and install the last stable FreeCAD version on the Ubuntu Software Center.
  
Add to your system's Software Sources the following PPA (read [http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them/5102#5102%29 What are PPAs and how do I use them?] if you don't know how):
+
=== Stable PPA with console ===
ppa:freecad-maintainers/freecad-stable
 
When a dialog window asks you to refresh your software sources, click OK.
 
  
Now you can install FreeCAD and FreeCAD documentation through the Ubuntu Software Center, or your package manager of choice.
+
Type, or copy-paste, these commands in a console to add the PPA:
  
==== Installing from the console ====
+
For the '''"stable"''' PPA
 +
{{Code|code=
 +
sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
 +
}}
  
Type (or copy-paste) these commands in a console to add the PPA and install FreeCAD along with the documentation:
+
Don't forget to retrieve the updated the package lists:  
sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
+
{{Code|code=
Then:
+
sudo apt-get update
sudo apt-get update
+
}}
sudo apt-get upgrade
+
Update synchronizes your list of available packages with the servers.
sudo apt-get install freecad freecad-doc
 
  
=== Install PySide ===
+
Then, install FreeCAD along with the documentation:
 +
{{Code|code=
 +
sudo apt-get install freecad freecad-doc && sudo apt-get upgrade
 +
}}
 +
Upgrade downloads and installs the newest packages version of the installed programs. It will be applied to all the softwares installed on your computer.
  
sudo apt-get install python-pyside
+
Execute this command to open the stable version of FreeCAD:
sudo apt-get install libpyside-dev
+
{{Code|code=
 +
freecad
 +
}}
  
=== Unstable version of FreeCAD ===
+
=== Daily PPA with console ===
  
If you want to be on the bleeding edge of FreeCAD development, there is a different PPA repository providing [http://www.freecadweb.org/wiki/index.php?title=Download#Ubuntu_PPA_packages daily builds].
+
To install the last unstable version of FreeCAD, use  the '''"freecad-daily"''' [https://launchpad.net/~freecad-maintainers/+archive/freecad-daily PPA repository on Launchpad]. This way you can access the bleeding edge of FreeCAD development. This PPA is automatically compiled daily from the official FreeCAD's master branch repository. It will usually contain numerous bug fixes and feature updates.
 +
 
 +
To install the daily PPA:
 +
{{Code|code=
 +
sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
 +
sudo apt-get update
 +
sudo apt-get install freecad-daily && sudo apt-get upgrade
 +
}}
 +
 
 +
You can then update to the latest daily at any time with:
 +
{{Code|code=
 +
sudo apt-get update
 +
sudo apt-get install freecad-daily
 +
}}
 +
 
 +
Run this command to open the daily build of FreeCAD:
 +
{{Code|code=
 +
freecad-daily
 +
}}
  
 
==Debian and other debian-based systems==
 
==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:
 
Since Debian Lenny, FreeCAD is available directly from the Debian software repositories and can be installed via synaptic or simply with:
sudo apt-get install freecad
+
{{Code|code=
 +
sudo apt-get install freecad
 +
}}
 
==OpenSUSE==
 
==OpenSUSE==
  
 
FreeCAD is typically installed with:
 
FreeCAD is typically installed with:
zypper install FreeCAD
+
{{Code|code=
 +
zypper install FreeCAD
 +
}}
 
==Gentoo==
 
==Gentoo==
  
 
FreeCAD can be built/installed simply by issuing:
 
FreeCAD can be built/installed simply by issuing:
emerge freecad
+
{{Code|code=
 +
emerge freecad
 +
}}
 +
==Fedora==
 +
 
 +
FreeCAD has been included in the official Fedora packages since Fedora 20. It can be installed from the command line with:
 +
{{Code|code=
 +
sudo dnf install freecad
 +
}}
 +
 
 +
On older Fedora releases, that was:
 +
{{Code|code=
 +
sudo yum install freecad
 +
}}
 +
The gui packages managers can also be used. Search for "freecad".
 +
The official release package version tends to be well behind the FreeCAD releases. [http://rpms.remirepo.net/rpmphp/zoom.php?rpm=freecad 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 [https://github.com/FreeCAD/FreeCAD/releases/ .AppImage] releases 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 [https://copr.fedorainfracloud.org/groups/g/freecad/coprs/ copr]. To install the build from there, in a terminal session, enter:
 +
{{Code|code=
 +
sudo dnf copr enable @freecad/nightly
 +
sudo dnf install freecad
 +
}}
 +
That leaves the copr repository active, so
 +
{{Code|code=
 +
sudo dnf upgrade
 +
}}
 +
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 [[CompileOnUnix|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):
 +
{{Code|code=
 +
pacman -S freecad
 +
}}
 
==Other==
 
==Other==
  
Line 80: Line 156:
 
===Manual install on .deb based systems===
 
===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. <br>
+
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|Download]] page. <br />
 
{{DownloadUnixStable}}  
 
{{DownloadUnixStable}}  
  
Once you downloaded the .deb corresponding to your system version, if you have the [[wikipedia:Gdebi|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.
+
Once you downloaded the .deb corresponding to your system version, if you have the [[wikipedia:Debian#GDEBI|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:
 
Alternatively you can also install it from the terminal, navigating to where you downloaded the file, and type:
sudo dpkg -i Name_of_your_FreeCAD_package.deb
+
{{Code|code=
 +
sudo dpkg -i Name_of_your_FreeCAD_package.deb
 +
}}
 
changing Name_of_your_FreeCAD_package.deb by the name of the file you downloaded.
 
changing Name_of_your_FreeCAD_package.deb by the name of the file you downloaded.
  
Line 92: Line 170:
 
===Installing on other Linux/Unix systems===
 
===Installing on other Linux/Unix systems===
  
Unfortnately, at the moment, no precompiled package is available for other Linux/Unix systems,so you will need to [[CompileOnUnix|compile FreeCAD yourself]].
+
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.
 +
{{Code|code=
 +
apt-get install freecad
 +
dnf install freecad
 +
emerge freecad
 +
slackpkg install freecad
 +
yum install freecad
 +
zypper install freecad
 +
}}
 +
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 [https://github.com/FreeCAD/FreeCAD/releases/ .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 [[CompileOnUnix|compile FreeCAD yourself]].
  
 
===Installing Windows Version on Linux===
 
===Installing Windows Version on Linux===
See the [[Install on Windows]] page.
+
See the [[Install on Windows|Install on Windows]] page.
  
 +
<div class="mw-translate-fuzzy">
 
{{docnav/pl|Install on Windows/pl|Install on Mac/pl}}
 
{{docnav/pl|Install on Windows/pl|Install on Mac/pl}}
 +
</div>
  
 
[[Category:User Documentation/pl]]
 
[[Category:User Documentation/pl]]
<languages/>
 

Latest revision as of 10:17, 14 June 2019

Other languages:
български • ‎čeština • ‎Deutsch • ‎English • ‎español • ‎français • ‎hrvatski • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎한국어 • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎svenska • ‎Türkçe • ‎українська • ‎中文 • ‎中文(中国大陆)‎

Aktualnie zespół FreeCADa tworzy tylko paczki dla 32-bitowych dystrybucji Debian i Ubuntu. Niektórzy użytkownicy społeczności FreeCAD tworzą instalatory także dla innych odmian Linuksa. By zobaczyć jakie są obecnie dostępne instalatory zajrzyj do działu Download .

The installation of FreeCAD on the most well-known linux systems has been now endorsed by the community, and FreeCAD should be directly available via the package manager available on your distribution. The FreeCAD team also provides a couple of "official" packages when new releases are made, and a couple of experimental PPA repositories for testing bleeding-edge features.

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

Ubuntu and Ubuntu-based systems

Instalacja Na Ubuntu/Debianie

Kiedy pobierzesz plik .deb odpowiadający twojej wersji systemu i posiadasz zainstalowany program Gdebi, musisz tylko znaleźć miejsce gdzie zapisałeś pobrany plik i dwukrotnie go kliknąć. Zależnościami zajmie się twój menedżer pakietów. Instalację można dokonać także przez Terminal. Po odnalezieniu pliku wpisz:

sudo dpkg -i Nazwa_twojego_pakietu_FreeCAD.deb

zmieniając Nazwa_twojego_pakietu_FreeCAD.deb na nazwę pliku, który pobrałeś.

Po instalacji FreeCADa zostanie dodana ikona, w sekcji "Grafika" Menu Start

Instalacja pod inymi systemami Linux/Unix

Niestety, na obecną chwilę nie ma prekompilowanych pakietów na inne systemy Linux/Unix. Musisz samodzielnie skompilować źródła.

Many Linux distributions are based on Ubuntu and share its repositories. Besides official variants (Kubuntu, Lubuntu and Xubuntu), there are non official distros such as Linux Mint, Voyager and others. The installation options below should be compatible to these systems.

Official Ubuntu repository

FreeCAD is available from Ubuntu repositories and can be installed via the Software Center or with this command in a terminal:

sudo apt-get install freecad

Important Note: Chances are this stable version will be outdated, and not have the latest features. To get the last release version, please use the Personal Package Archive (PPA) options below.

Stable PPA with GUI

To install FreeCAD using the PPA, from the graphical interface, please follow those instructions. The FreeCAD community provides a PPA repository on Launchpad with the latest stable FreeCAD version.

You need to add to your system's Software Sources the following PPA. To do that navigate to Ubuntu Software Centre → Edit → Software Sources → Other Software. Click on add and copy and past the code below:

ppa:freecad-maintainers/freecad-stable

Refresh your software sources, if asked. Now, you can find and install the last stable FreeCAD version on the Ubuntu Software Center.

Stable PPA with console

Type, or copy-paste, these commands in a console to add the PPA:

For the "stable" PPA

sudo add-apt-repository ppa:freecad-maintainers/freecad-stable

Don't forget to retrieve the updated the package lists:

sudo apt-get update

Update synchronizes your list of available packages with the servers.

Then, install FreeCAD along with the documentation:

sudo apt-get install freecad freecad-doc && sudo apt-get upgrade

Upgrade downloads and installs the newest packages version of the installed programs. It will be applied to all the softwares installed on your computer.

Execute this command to open the stable version of FreeCAD:

freecad

Daily PPA with console

To install the last unstable version of FreeCAD, use the "freecad-daily" PPA repository on Launchpad. This way you can access the bleeding edge of FreeCAD development. This PPA is automatically compiled daily from the official FreeCAD's master branch repository. It will usually contain numerous bug fixes and feature updates.

To install the daily PPA:

sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
sudo apt-get update
sudo apt-get install freecad-daily && sudo apt-get upgrade

You can then update to the latest daily at any time with:

sudo apt-get update
sudo apt-get install freecad-daily

Run this command to open the daily build of FreeCAD:

freecad-daily

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:

sudo apt-get install freecad

OpenSUSE

FreeCAD is typically installed with:

zypper install FreeCAD

Gentoo

FreeCAD can be built/installed simply by issuing:

emerge freecad

Fedora

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

sudo dnf install freecad

On older Fedora releases, that was:

sudo yum install freecad

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 .AppImage releases 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:

sudo dnf copr enable @freecad/nightly
sudo dnf install freecad

That leaves the copr repository active, so

sudo dnf upgrade

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):

pacman -S freecad

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.
Linux.png Ubuntu 32/64bit AppImage-logo.png AppImage 64bit


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:

sudo dpkg -i Name_of_your_FreeCAD_package.deb

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.

apt-get install freecad
dnf install freecad
emerge freecad
slackpkg install freecad
yum install freecad
zypper install freecad

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.