Advertisement
goust

dc_ubuntu help

Jul 14th, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. Run the follwoing commands one at a time.
  2.  
  3.  
  4.  
  5.  
  6. sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot
  7.  
  8. sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
  9.  
  10. sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
  11.  
  12. sudo apt-get install synaptic && sudo update-apt-xapian-index
  13.  
  14. sudo gedit /etc/apt/sources.list
  15.  
  16.  
  17.  
  18.  
  19. A window will open, change
  20.  
  21. ## Uncomment the following two lines to add software from Canonical's
  22. ## 'partner' repository.
  23. ## This software is not part of Ubuntu, but is offered by Canonical and the
  24. ## respective vendors as a service to Ubuntu users.
  25. # deb http://archive.canonical.com/ubuntu precise partner
  26. # deb-src http://archive.canonical.com/ubuntu precise partner
  27.  
  28.  
  29.  
  30. To this:
  31.  
  32.  
  33.  
  34. ## Uncomment the following two lines to add software from Canonical's
  35. ## 'partner' repository.
  36. ## This software is not part of Ubuntu, but is offered by Canonical and the
  37. ## respective vendors as a service to Ubuntu users.
  38. deb http://archive.canonical.com/ubuntu precise partner
  39. deb-src http://archive.canonical.com/ubuntu precise partner
  40.  
  41.  
  42. save and close gedit. Next run these in terminal one at a time:
  43.  
  44.  
  45.  
  46.  
  47. sudo add-apt-repository ppa:webupd8team/java
  48.  
  49. sudo apt-add-repository ppa:freecad-maintainers/freecad-stable
  50.  
  51. sudo apt-get update && sudo apt-get purge openjdk*
  52.  
  53. sudo apt-get install gedit-developer-plugins gedit-latex-plugin gedit-plugins non-free-codecs w64codecs build-essential gnome-panel oracle-java7-installer ubuntu-restricted-addons ubuntu-restricted-extras screen nmap freecad freecad-dev freecad-doc meshlab blender wings3d gimp-data gimp-data-extras inkscape git acroread smplayer libdvdcss2 gdebi xchat xchat-common pidgin pidgin-plugin-pack pidgin-otr pidgin-facebookchat pidgin-extprefs irssi pidgin-libnotify irssi-scripts ca-certificates libcrypt-blowfish-perl libcrypt-dh-perl libcrypt-openssl-bignum-perl libmath-bigint-gmp-perl flashplugin-installer arduino arduino-core arduino-mk flashrom
  54.  
  55. ###################End of Basic Install ####################
  56.  
  57.  
  58.  
  59. ######## Switch from dash to bash
  60.  
  61. sudo dpkg-reconfigure bash
  62.  
  63.  
  64.  
  65. ######## Get the megapack
  66. cd && mkdir Megapack && cd Megapack && git clone git://github.com/maduce/defcad-repo.git
  67.  
  68.  
  69.  
  70. ######## To update the megapack when we update it with new CAD files:
  71.  
  72. cd && cd Megapack && git pull
  73.  
  74.  
  75.  
  76. ############ Now printer software
  77.  
  78. sudo apt-get install python-serial python-wxgtk2.8 python-pyglet python-tk build-essential libgtk2.0-dev libwxgtk2.8-dev libwx-perl libmodule-build-perl libnet-dbus-perl skeinforge sfact
  79.  
  80. sudo apt-get install cpanminus
  81.  
  82. cd && mkdir RepRap && cd RepRap/ && git clone https://github.com/kliment/Printrun.git
  83.  
  84. cd Printrun/ && git clone http://github.com/alexrj/Slic3r.git && cd Slic3r/
  85.  
  86. sudo cpanm Boost::Geometry::Utils Math::Clipper Math::ConvexHull Math::ConvexHull::MonotoneChain Math::Geometry::Voronoi Math::PlanePath Moo Wx
  87.  
  88.  
  89.  
  90. ####### To test Slic3r and Printrun (assuming you just opened the terminal) run:
  91.  
  92. ~/Reprap/Printrun/Slic3r/slic3r.pl
  93.  
  94.  
  95.  
  96. ####### or open terminal and type:
  97.  
  98. cd Reprap/Printrun/Slic3r/
  99. ./slic3r.pl
  100.  
  101.  
  102.  
  103. ####### See that Slic3r opens and just close it. Now start Printrun (in terminal):
  104.  
  105. ~/Reprap/Printrun/pronterface.py
  106.  
  107.  
  108.  
  109. ####### or open terminal and type:
  110.  
  111. cd Reprap/Printrun/
  112.  
  113. python pronterface.py
  114.  
  115.  
  116.  
  117. ####### This should open a window. Close when you are done looking at it.
  118.  
  119.  
  120.  
  121. ###### Install RepetierHost
  122.  
  123. ###### download Repetier-Host Linux 0.85c (to ~/Reprap folder, Reprap in your home folder) from http://www.repetier.com/download/
  124.  
  125. ##### Now lets install Repetier
  126.  
  127. cd ~/Reprap/
  128.  
  129. tar zxzf repetierHostLinux.tgz
  130.  
  131. cd RepetierHost/
  132.  
  133. sh configureFirst.sh
  134.  
  135. ##### If it asks for password give it, say yes to dependencies etc. To start RepetierHost open terminal and type:
  136.  
  137. repetierHost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement