There is no current release of this source package in 18.04 (Bionic Beaver).
openscad-mcad exists, which depends on
openscad, so that's obviously an error.
It seems openscad is neither in 18.04 nor in 18.10, I just opened a bug here, feel free to subscribe to it.
In the meantime, here is a procedure to install openscad from the PPA:
sudo add-apt-repository ppa:openscad/releases sudo apt-get update sudo apt-get install openscad
In Ubuntu 18.10
sudo snap install openscad-nightly
Using libraries in the OpenSCAD Snap: Like any OpenSCAD installation, it comes with one bundled library of CAD functions that you can use out of the box. You would use
include <….scad> statements with paths relative to the installation library location, which is here:
Since this is only meant for libraries bundled with OpenSCAD and Snap installation directories are not writable anyway, you would install other libraries manually into the built-in library location, which for the Snap package is this:
You can also set a "nicer" user-defined library location via
In Ubuntu 19.04
The good news is that starting with this Ubuntu release, the brand new version OpenSCAD 2019.01~RC2-2 will be in the official Ubuntu repositories (see). Then, installation will be easy and disk space saving again:
sudo apt install openscad