How To Install linsmith on Ubuntu 18.04

In this tutorial we learn how to install linsmith on Ubuntu 18.04. linsmith is tool to generate Smith Charts

Introduction

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

What is linsmith

linsmith is:

A Smith chart is a tool used in electrical engineering that shows how the complex impedance of a transmission line varies along its length, and simplifies the design of impedance matching networks to match the line to its load.

linSmith is a Smith Charting program, mainly designed for educational use. As such, there is an emphasis on capabilities that improve the ‘showing the effect of’-style of operation.

Its main features are:

  • Definition of multiple load impedances (at different frequencies)
  • Addition of discrete (L, C, parallel and series LC, and transformer) and line components (open and closed stubs, line segments)
  • Connection in series and parallel
  • Easy experimentation with values using scrollbars
  • A ‘virtual’ component switches from impedance to admittance to help explaining (or understanding) parallel components
  • The chart works in real impedances (not normalized ones)
  • Direct view of the result on the screen
  • Ability to generate publication quality Postscript output
  • A ’log’ file with textual results at each intermediate step
  • Load and circuit configuration is stored separately, permitting several solutions without re-defining the other

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

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

sudo apt-get update

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

sudo apt-get -y install linsmith

Install linsmith Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install linsmith

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

sudo aptitude -y install linsmith

How To Uninstall linsmith on Ubuntu 18.04

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

sudo apt-get remove linsmith

Uninstall linsmith And Its Dependencies

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

sudo apt-get -y autoremove linsmith

Remove linsmith Configurations and Data

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

sudo apt-get -y purge linsmith

Remove linsmith configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge linsmith

References

Summary

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