How to Install OpenSCAD in Ubuntu 18.10 / 18.04

Last updated: January 14, 2019

This quick tutorial shows you how to install OpenSCAD, the programmers solid 3D CAD modeller, in Ubuntu 18.10, Ubuntu 18.04.

OpenSCAD is a software for creating solid 3D CAD models. Unlike most free software for creating 3D models (such as Blender) it does not focus on the artistic aspects of 3D modelling but instead on the CAD aspects. Thus it might be the application you are looking for when you are planning to create 3D models of machine parts but pretty sure is not what you are looking for when you are more interested in creating computer-animated movies.

OpenSCAD is not available in Ubuntu 18.04 and 18.10 universe repositories due to build failure. Fortunately, the OpenSCAD releases PPA contains the software package for Ubuntu 18.04, which also works in Ubuntu 18.10.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from software launcher. When it opens, paste following command and run to add the PPA:

sudo add-apt-repository ppa:openscad/releases

Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

2. For Ubuntu 18.10, open Software & Updates and navigate to Other Software tab. Then do:

  1. Highlight the openscad repository line.
  2. Click Edit button to bring up setup dialog.
  3. Change the value of “Distribution” from cosmic to bionic
  4. Save the changes, and close the window.

3. Finally either install OpenSCAD via Synaptic package manager, or run following 2 commands one by one in terminal:

sudo apt-get update

sudo apt-get install openscad

Uninstall:

To remove the PPA repository, open Software & Updates -> Other Software (see pic. in step2) and simply remove the repository line.

To remove OpenSCAD, run command in terminal:

sudo apt-get remove --autoremove openscad

In addition for those feeling OK with Gnome Flatpak (containerized software package), the software is also available in Flathub.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

One response to How to Install OpenSCAD in Ubuntu 18.10 / 18.04

  1. Thanks for this. I kept receiving 404 error from PPA and realized the folder is not there. I would never even realize it’s as simple as changing the distro release name for a specific apt source :)