在 Unix 上安装
现在这个安装 FreeCAD 的方法在大部分已知的 Linux 系统中已经被社区认可,并且 FreeCAD 可以直接通过包管理工具直接安装到你的发行版上。FreeCAD 团队在新版本发布时也提供了一些 "官方" 包,而且还有一些为了测试最新特性的实验性 PPA 仓库。
一旦你成功安装 FreeCAD,请阅读 入门!
Contents
Ubuntu 及 Ubuntu 派生系统
很多 Linux 发行版是基于 Ubuntu 并且共享它的仓库。除了官方的变种版本(Kubuntu, Lubuntu 及 Xubuntu),还有非官方的发行版,例如 Linux Mint,Voyager和其它的。以下的安装参数应该兼容以上这些系统。
官方 Ubuntu 仓库
FreeCAD 存在于 Ubuntu 的仓库并且能通过软件中心安装或者在命令行环境下执行这个命令:
sudo apt-get install freecad
但有可能这个稳定版本已经过时了,并且没有最新的特性。为了使用最新的版本,请使用 PPA。
稳定版 PPA 和 GUI
想通过用户界面通过 PPA 安装 FreeCAD,请遵循以下步骤。FreeCAD 社区提供一个留住最新稳定版 FreeCAD 的 PPA repository on Launchpad 源
你需要增加以下 PPA 源到你系统的软件源列表。为了达到目的,通过 Ubuntu 软件中心 > 编辑 > 软件源 > 其它软件。点击增加并且复制粘贴下面的代码:
ppa:freecad-maintainers/freecad-stable
如果它询问时,选择刷新你的软件源。现在,你能在 Ubuntu 软件中心找到并且安装最新稳定版的 FreeCAD 。
想知道更多关于 PPA 的信息,请点击: Definition of PPA (Personal Package Archive) on help.ubuntu.com.
稳定版的 PPA 和命令行
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 && 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
If you want to install the last unstable version of FreeCAD, please use the PPA named "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.
For the daily PPA:
sudo add-apt-repository ppa:freecad-maintainers/freecad-daily sudo apt-get update sudo apt-get install freecad-daily && apt-get upgrade
Execute 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
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.
Ubuntu 32/64bit
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
Unfortnately, at the moment, no precompiled package is available for other Linux/Unix systems,so you will need to compile FreeCAD yourself.
Installing Windows Version on Linux
See the Install on Windows page.