How To Install totem on Ubuntu 18.04

In this tutorial we learn how to install totem on Ubuntu 18.04. totem is Simple media player for the GNOME desktop based on GStreamer

Introduction

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

What is totem

totem is:

Totem is a simple yet featureful media player for GNOME which can read a large number of file formats. It features :

* Shoutcast, m3u, asx, SMIL and ra playlists support
* DVD (with menus), VCD and Digital CD (with CDDB) playback
* TV-Out configuration with optional resolution switching
* 4.0, 5.0, 5.1 and stereo audio output
* Full-screen mode (move your mouse and you get nice controls) with
  Xinerama, dual-head and RandR support
* Aspect ratio toggling, scaling based on the video's original size
* Full keyboard control
* Simple playlist with repeat mode and saving feature
* GNOME, Nautilus and GIO integration
* Screenshot of the current movie
* Brightness and Contrast control
* Visualisation plugin when playing audio-only files
* Video thumbnailer for nautilus
* Nautilus properties page
* Works on remote displays
* DVD, VCD and OGG/OGM subtitles with automatic language selection
* Extensible with plugins

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

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

sudo apt-get update

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

sudo apt-get -y install totem

Install totem Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install totem

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

sudo aptitude -y install totem

How To Uninstall totem on Ubuntu 18.04

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

sudo apt-get remove totem

Uninstall totem And Its Dependencies

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

sudo apt-get -y autoremove totem

Remove totem Configurations and Data

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

sudo apt-get -y purge totem

Remove totem configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge totem

References

Summary

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