-
Notifications
You must be signed in to change notification settings - Fork 3
Running Slic3r from git on GNU Linux
The commands to install some of the packages are aimed at Debian/Ubuntu (apt-based) derivatives. Other distributions should have these packages, but precise names may vary and the command used to install them may be different. To see package names and commands for some other popular distributions, see the end of this page.
Install the following packages:
sudo apt-get install git build-essential libgtk2.0-dev libwxgtk2.8-dev libwx-perl libmodule-build-perl libnet-dbus-perl
sudo apt-get install cpanminus
There is a fair chance that your distribution will not have the cpanminus package. In that case, just install it with these two commands:
sudo apt-get install curl
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
git clone https://github.com/alexrj/Slic3r.git
cd Slic3r
Next you need to install some perl packages. Some of these may already be available in your package manager. The difference is that the cpanm
version should be newer, but will require automatic compilation.
If your package manager has a version of Wx
>= 0.9901
you could replace that large package with:
sudo apt-get install libwx-perl
The command to install all of the dependencies through cpanm
is:
sudo cpanm Boost::Geometry::Utils Math::Clipper \
Math::ConvexHull Math::ConvexHull::MonotoneChain Math::Geometry::Voronoi Math::PlanePath Moo Wx
Slic3r can now be run:
./slic3r.pl
zypper install curl
zypper install perl-Wx
zypper install cpanm
sudo cpanm Boost::Geometry::Utils Math::Clipper \
Math::ConvexHull Math::Geometry::Voronoi Math::PlanePath Moo Wx Net::DBus
sudo yum install git curl gcc-c++ perl-Wx \
perl-Module-Build perl-App-cpanminus perl-Moo
sudo cpanm Boost::Geometry::Utils Math::Clipper \
Math::ConvexHull Math::Geometry::Voronoi Math::PlanePath parent
sudo yum install git curl gcc-c++ perl-Wx \
perl-Module-Build perl-App-cpanminus perl-Moo \
perl-Math-PlanePath perl-Boost-Geometry-Utils perl-Math-Clipper \
perl-Math-ConvexHull perl-Math-Geometry-Voronoi perl-parent \
perl-Growl-GNTP perl-Class-XSAccessor perl-XML-SAX-ExpatXS \
perl-Math-ConvexHull-MonotoneChain perl-ExtUtils-XSpp \
perl-ExtUtils-CppGuess perl-ExtUtils-Typemaps-Default \
perl-Capture-Tiny perl-Test-Base perl-Test-Differences \
perl-Text-Diff perl-Module-Build-WithXSpp