How To Install raster3d on Ubuntu 18.04

In this tutorial we learn how to install raster3d on Ubuntu 18.04. raster3d is tools for generating images of proteins or other molecules

Introduction

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

What is raster3d

raster3d is:

Raster3D is a set of tools for generating high quality raster images of proteins or other molecules. The core program renders spheres, triangles, cylinders, and quadric surfaces with specular highlighting, Phong shading, and shadowing. It uses an efficient software Z-buffer algorithm which is independent of any graphics hardware. Ancillary programs process atomic coordinates from PDB files into rendering descriptions for pictures composed of ribbons, space-filling atoms, bonds, ball+stick, etc. Raster3D can also be used to render pictures composed in other programs such as Molscript in glorious 3D with highlights, shadowing, etc. Output is to pixel image files with 24 bits of color information per pixel.

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

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

sudo apt-get update

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

sudo apt-get -y install raster3d

Install raster3d Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install raster3d

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

sudo aptitude -y install raster3d

How To Uninstall raster3d on Ubuntu 18.04

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

sudo apt-get remove raster3d

Uninstall raster3d And Its Dependencies

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

sudo apt-get -y autoremove raster3d

Remove raster3d Configurations and Data

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

sudo apt-get -y purge raster3d

Remove raster3d configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge raster3d

References

Summary

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