How To Install inventor-demo on Ubuntu 20.04
Introduction
In this tutorial we learn how to install inventor-demo
on Ubuntu 20.04.
What is inventor-demo
inventor-demo is:
This package includes several Open Inventor demos: a scene viewer (SceneViewer), a scene graph viewer and editor (gview), a maze game (maze), an extrusion editor (noodle), a 3D morphing tool (qmorf), a surface of revolution editor (revo), among others.
This package also contains example code, including the examples from the books “The Inventor Mentor”, and “The Inventor Toolmaker”.
Open Inventor is an object-oriented 3D toolkit offering a comprehensive solution to interactive graphics programming problems. It presents a programming model based on a 3D scene database that simplifies graphics programming. It includes a large set of objects such as cubes, polygons, text, materials, cameras, lights, trackballs, handle boxes, 3D viewers, and editors can speed up your programming and extend your 3D program’s capabilities.
There are three methods to install inventor-demo
on Ubuntu 20.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 inventor-demo Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install inventor-demo
using apt-get
by running the following command:
sudo apt-get -y install inventor-demo
Install inventor-demo Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install inventor-demo
using apt
by running the following command:
sudo apt -y install inventor-demo
Install inventor-demo 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 inventor-demo
using aptitude
by running the following command:
sudo aptitude -y install inventor-demo
How To Uninstall inventor-demo on Ubuntu 20.04
To uninstall only the inventor-demo
package we can use the following command:
sudo apt-get remove inventor-demo
Uninstall inventor-demo And Its Dependencies
To uninstall inventor-demo
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove inventor-demo
Remove inventor-demo Configurations and Data
To remove inventor-demo
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge inventor-demo
Remove inventor-demo configuration, data, and all of its dependencies
We can use the following command to remove inventor-demo
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge inventor-demo
References
Summary
In this tutorial we learn how to install inventor-demo
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.