How To Install vice on Ubuntu 18.04

In this tutorial we learn how to install vice on Ubuntu 18.04. vice is Versatile Commodore Emulator

Introduction

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

What is vice

vice is:

VICE emulates well the hardware of the Commodore Business Machines of the pre-Amiga era. Supported are the various Pets, the VIC-20, the Commodore 64, the Commodore 128, the CBM-II series, and the PLUS/4.

Some alternate keywords for the above: VIC20, C64, C=64, C64 DTV, C128, C=128, CBM-500, CBM-600, CBM-700, PLUS4 .

This package does not contain the various ROM images needed to actually use the emulators; they are available separately from other locations (see the README.ROMs file). A corporation in the Netherlands called Tulip holds the copyrights to the ROM images, and redistribution is not permitted, but VICE itself is unencumbered.

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

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

sudo apt-get update

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

sudo apt-get -y install vice

Install vice Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vice

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

sudo aptitude -y install vice

How To Uninstall vice on Ubuntu 18.04

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

sudo apt-get remove vice

Uninstall vice And Its Dependencies

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

sudo apt-get -y autoremove vice

Remove vice Configurations and Data

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

sudo apt-get -y purge vice

Remove vice configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vice

References

Summary

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