How To Install pep8-simul on Ubuntu 18.04

In this tutorial we learn how to install pep8-simul on Ubuntu 18.04. pep8-simul is Pep/8 assembler and simulator

Introduction

In this tutorial we learn how to install pep8-simul on Ubuntu 18.04.

What is pep8-simul

pep8-simul is:

The Pep/8 computer is a 16-bit complex instruction set computer (CISC). It is designed to teach computer architecture and assembly language programming principles.

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

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

sudo apt-get update

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

sudo apt-get -y install pep8-simul

Install pep8-simul Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pep8-simul

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

sudo aptitude -y install pep8-simul

How To Uninstall pep8-simul on Ubuntu 18.04

To uninstall only the pep8-simul package we can use the following command:

sudo apt-get remove pep8-simul

Uninstall pep8-simul And Its Dependencies

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

sudo apt-get -y autoremove pep8-simul

Remove pep8-simul Configurations and Data

To remove pep8-simul configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pep8-simul

Remove pep8-simul configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pep8-simul

References

Summary

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