How To Install solvespace on Ubuntu 18.04

In this tutorial we learn how to install solvespace on Ubuntu 18.04. solvespace is Parametric 2d/3d CAD

Introduction

In this tutorial we learn how to install solvespace on Ubuntu 18.04.

What is solvespace

solvespace is:

SolveSpace is a parametric 2d/3d CAD program. Applications include:

  • modeling 3d parts — draw with extrudes, revolves, and Boolean (union / difference) operations;
  • modeling 2d parts — draw the part as a single section, and export DXF, PDF, SVG; use 3d assembly to verify fit;
  • 3d-printed parts — export the STL or other triangle mesh expected by most 3d printers;
  • preparing CAM data — export 2d vector art for a waterjet machine or laser cutter; or generate STEP or STL, for import into third-party CAM software for machining;
  • mechanism design — use the constraint solver to simulate planar or spatial linkages, with pin, ball, or slide joints;
  • plane and solid geometry — replace hand-solved trigonometry and spreadsheets with a live dimensioned drawing.

There are three methods to install solvespace on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install solvespace Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install solvespace using apt-get by running the following command:

sudo apt-get -y install solvespace

Install solvespace Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install solvespace using apt by running the following command:

sudo apt -y install solvespace

Install solvespace Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install solvespace using aptitude by running the following command:

sudo aptitude -y install solvespace

How To Uninstall solvespace on Ubuntu 18.04

To uninstall only the solvespace package we can use the following command:

sudo apt-get remove solvespace

Uninstall solvespace And Its Dependencies

To uninstall solvespace and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove solvespace

Remove solvespace Configurations and Data

To remove solvespace configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge solvespace

Remove solvespace configuration, data, and all of its dependencies

We can use the following command to remove solvespace configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge solvespace

References

Summary

In this tutorial we learn how to install solvespace package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.