How To Install gspiceui on Ubuntu 18.04

In this tutorial we learn how to install gspiceui on Ubuntu 18.04. gspiceui is Graphical user interface for gnucap and ngspice

Introduction

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

What is gspiceui

gspiceui is:

Gspiceui is a graphichal user interface for the two freely available electronic circuit engines: GNU-Cap and Ng-Spice. Current features are:

  • Import gschem schematic files using gentlist.
  • Load and parse circuit description (net list) files.
  • Provides a GUI interface for GNU-Cap OP, DC, AC and Transient analyses and generates appropriate simulator commands based on user input.
  • Provides a GUI interface for Ng-Spice DC, AC and Transient analyses and generates appropriate simulator commands based on user input.
  • The raw output may be viewed for any processes initiated by gspiceui.

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

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

sudo apt-get update

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

sudo apt-get -y install gspiceui

Install gspiceui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gspiceui

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

sudo aptitude -y install gspiceui

How To Uninstall gspiceui on Ubuntu 18.04

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

sudo apt-get remove gspiceui

Uninstall gspiceui And Its Dependencies

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

sudo apt-get -y autoremove gspiceui

Remove gspiceui Configurations and Data

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

sudo apt-get -y purge gspiceui

Remove gspiceui configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gspiceui

References

Summary

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