How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller

In this article, we will learn How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller. OpenSCAD is a software to create a solid 3D CAD model. It is free software and available for Linux / Unix, Windows and Mac OS X. It does not focus on the artistic aspects of 3D modelling but focuses on the CAD aspect rather than most free software to create a 3D model (such as Blender). In this way, when you are thinking of creating 3D models of machine parts, you might be an app you are looking for, but you certainly do not want what you want when you’re more interested in making computer-animated films. OpenSCAD is not an interactive model. Instead, it is something like a 3D-compiler that reads in a script file that describes the object and renders the 3D script from this script file. This gives you full control over the modelling process and enables you to easily change any of the steps in the modelling process or design defined by configurable parameters. OpenSCAD offers two main modelling techniques: the first is the constructive solid geometry (aka CSG) and the second 2D outline is to be extruded. AutoCAD DXF files can be used as a data exchange for such a 2D outline. In addition to the 2D path for extrusion, it is also possible to read the design parameters in DXF files. In addition to DXF files, the OpenSaid can read and create 3D models of STL and OFF files.

How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller

How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller

Follow the below steps to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller:

Before starting the installation we have to install the official PPA repository for OpenSCAD application is not a part of default repository of Ubuntu 18.04. So to install the PPA repository refer the below command.

itsmarttricks@mangesh:~$ sudo add-apt-repository ppa:openscad/releases
[sudo] password for itsmarttricks:
Backports of OpenSCAD stable releases
More info: https://launchpad.net/~openscad/+archive/ubuntu/releases
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic InRelease
Err:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:4 http://ppa.launchpad.net/aseman/desktop-apps/ubuntu bionic InRelease
Hit:5 http://download.virtualbox.org/virtualbox/debian bionic InRelease

After installing the PPA repository let’s update the packages & repositories of Ubuntu 18.04 using below command to take effect.

itsmarttricks@mangesh:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic InRelease
Err:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Ign:5 http://ppa.launchpad.net/aseman/desktop-apps/ubuntu bionic InRelease

After the update the packages & repositories we are now ready to install the OpenSCAD Application. So use the below command to install the same.

itsmarttricks@mangesh:~$ sudo apt-get install openscad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
After this operation, 15.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/openscad/releases/ubuntu bionic/main amd64 openscad amd64 2015.03-2+dfsg-2~18.04 [2,059 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 libcgal13 amd64 4.11-2build1 [275 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 libglew2.0 amd64 2.0.0-5 [140 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 libopencsg1 amd64 1.4.2-1ubuntu1 [187 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 libqscintilla2-qt5-l10n all 2.10.2+dfsg-4 [39.7 kB]

As you can see above we have successfully installed the OpenSCAD package. To confirm the same reference the below command.

itsmarttricks@mangesh:~$ sudo dpkg -l openscad
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii openscad 2015.03-2+df amd64 script file based graphical CAD e

Now to open the application just type the command openscad on shell prompt. Refer the command below.

itsmarttricks@mangesh:~$ openscad
How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller

OpenSCAD

You can also open the OpenSCAD Application graphically using search your computer box. Refer the snapshot below.

How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller

OpenSCAD

Also Read – How To Install LibreCAD 2D Design Application On Ubuntu 18.04

How To Uninstall OpenSCAD in Ubuntu 18.04?

For any reasons, if you don’t like OpenSCAD Application and want to uninstall the application from your system using following commands.

itsmarttricks@mangesh:~$ sudo dpkg -r openscad
[sudo] password for itsmarttricks: 
(Reading database ... 191839 files and directories currently installed.)
Removing openscad (2015.03-2+dfsg-2~18.04) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Also Read – How To install FreeCAD 3D CAD Modeler on Ubuntu 18.04 – A Best SolidWorks Alternative For Linux

That’s all, In this article, we have explained the How to install OpenSCAD in Ubuntu 18.04 – The Programmers Solid 3D CAD Modeller. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.

Mangesh Dhulap

This is Mangesh Dhulap the Founder and Editor of IT SMART TRICKS have 6+ years of Industrial Experience. We expect from our visitors to like, share, and comment on our posts.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.