Instalación de Slic3r y PrintRun + Skeinforge en Ubuntu August 16, 2012 06:00AM |
Registered: 12 years ago Posts: 411 |
BASEDIR="$HOME" #edit this is you don't want it installed in your home directory PRINTRUNDIR="$BASEDIR/Printrun" #Defines where the 'Printrun' directory is located. But of course you can change this to say: "$HOME/Documents/Create/RepRap/Printrun". SKEINFORGEDIR="$PRINTRUNDIR/skeinforge" #Defines where the 'skeisforge' directory is located in the 'Printrun' directory is located. cd $BASEDIR #Change directory to the executing users home directory. echo "Removing existing Printrun directory..." #Script being polite towards the user. rm -rf $PRINTRUNDIR #Removes the defined Printrun directory and _everything_ that resides in and beneath its directory tree. echo "Cloning Printrun..." #Script being polite towards the user. git clone [github.com] #See also: [help.github.com] echo "Grabbing skeinforge..." #Script being polite towards the user. wget -P /tmp [fabmetheus.crsndoo.com] #Uses good ol' wget for downloading skeinforge. echo "Unzipping skeinforge into Printrun directory..." #Script being polite towards the user. unzip -d $SKEINFORGEDIR /tmp/41_reprap_python_beanshell.zip #unzips the grabbed zip to ones defined skeinforge dir. echo "Symlinking skeinforge inside Printrun directory..." #Script being polite towards the user. ln -s $SKEINFORGEDIR/* $PRINTRUNDIR/ #Script makes a symbolic link. echo "Cleaning up temporary installation files..." #Script being polite towards the user. rm -rf /tmp/41_reprap_python_beanshell.zip #Removes tmp files.
#!/bin/bash if (( EUID != 0 )); then echo "please re-run this script as root." exit 1 fi apt-get install build-essential libgtk2.0-dev libwxgtk2.8-dev libwx-perl libmodule-build-perl apt-get install cpanminus cpanm --install Boost::Geometry::Utils Math::Clipper Math::ConvexHull Math::Geometry::Voronoi Math:lanePath Moo Wx Growl::GNTP
Re: Instalación de Slic3r y PrintRun + Skeinforge en Ubuntu April 21, 2013 08:40PM |
Registered: 11 years ago Posts: 8 |
Re: Instalación de Slic3r y PrintRun + Skeinforge en Ubuntu April 24, 2013 02:38PM |
Registered: 12 years ago Posts: 411 |