How To Install view3dscene on Ubuntu 18.04

In this tutorial we learn how to install view3dscene on Ubuntu 18.04. view3dscene is VRML / X3D browser, and a viewer for other 3D model formats

Introduction

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

What is view3dscene

view3dscene is:

view3dscene is a viewer for many 3D model formats:

  • X3D
  • VRML (1.0 and 2.0, aka VRML 97)
  • Collada
  • OpenInventor
  • 3DS
  • MD3
  • Wavefront OBJ
  • Videoscape GEO
  • KAnim (Castle Game Engine animations)

Various navigation modes are available, like Examine, Walk (with gravity), Fly. Collision detection is done. Models can be animated and interactive. Many graphic effects are possible, thanks to using Castle Game Engine underneath.

view3dscene may also be used to convert many 3D model formats to X3D (in classic and XML encoding). This package includes also a command-line tovrmlx3d program, that performs the same conversions as view3dscene, but doesn’t use X or OpenGL (so it’s nice to use in scripts to convert 3D models in batch mode).

There are three methods to install view3dscene 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 view3dscene Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install view3dscene

Install view3dscene Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install view3dscene

Install view3dscene 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 view3dscene using aptitude by running the following command:

sudo aptitude -y install view3dscene

How To Uninstall view3dscene on Ubuntu 18.04

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

sudo apt-get remove view3dscene

Uninstall view3dscene And Its Dependencies

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

sudo apt-get -y autoremove view3dscene

Remove view3dscene Configurations and Data

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

sudo apt-get -y purge view3dscene

Remove view3dscene configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge view3dscene

References

Summary

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