How To Install libretro-snes9x on Ubuntu 20.04

In this tutorial we learn how to install libretro-snes9x on Ubuntu 20.04. libretro-snes9x is Libretro wrapper for Snes9x

Introduction

In this tutorial we learn how to install libretro-snes9x on Ubuntu 20.04.

What is libretro-snes9x

libretro-snes9x is:

This wrapper makes Snes9x API compatible with libretro, thus allowing its use with libretro frontends, such as RetroArch.

Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator written in C++. It basically allows you to play most games designed for the SNES and Super Famicom Nintendo game systems on your PC or Workstation.

Super Nintendo Entertainment System, SNES and Super Famicom are trademarks of Nintendo of America Inc. Snes9x is not affiliated with or endorsed by any of the companies mentioned.

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

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

sudo apt-get update

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

sudo apt-get -y install libretro-snes9x

Install libretro-snes9x Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libretro-snes9x

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

sudo aptitude -y install libretro-snes9x

How To Uninstall libretro-snes9x on Ubuntu 20.04

To uninstall only the libretro-snes9x package we can use the following command:

sudo apt-get remove libretro-snes9x

Uninstall libretro-snes9x And Its Dependencies

To uninstall libretro-snes9x and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libretro-snes9x

Remove libretro-snes9x Configurations and Data

To remove libretro-snes9x configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libretro-snes9x

Remove libretro-snes9x configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libretro-snes9x

References

Summary

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