How To Install geda-xgsch2pcb on Ubuntu 18.04
Introduction
In this tutorial we learn how to install geda-xgsch2pcb on Ubuntu 18.04.
What is geda-xgsch2pcb
geda-xgsch2pcb is:
xgsch2pcbprovides an intuitive, user-friendly graphical interface to thegsch2pcbcommand-line tool, part of the gEDA suite, which is used to generate and update a PCB layout. It works with schematics created bygschem, part of the gEDA suite, and layouts created bypcb, a PCB layout system commonly used with gEDA.
There are three methods to install geda-xgsch2pcb 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 geda-xgsch2pcb Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install geda-xgsch2pcb using apt-get by running the following command:
sudo apt-get -y install geda-xgsch2pcb
Install geda-xgsch2pcb Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install geda-xgsch2pcb using apt by running the following command:
sudo apt -y install geda-xgsch2pcb
Install geda-xgsch2pcb 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 geda-xgsch2pcb using aptitude by running the following command:
sudo aptitude -y install geda-xgsch2pcb
How To Uninstall geda-xgsch2pcb on Ubuntu 18.04
To uninstall only the geda-xgsch2pcb package we can use the following command:
sudo apt-get remove geda-xgsch2pcb
Uninstall geda-xgsch2pcb And Its Dependencies
To uninstall geda-xgsch2pcb and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove geda-xgsch2pcb
Remove geda-xgsch2pcb Configurations and Data
To remove geda-xgsch2pcb configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge geda-xgsch2pcb
Remove geda-xgsch2pcb configuration, data, and all of its dependencies
We can use the following command to remove geda-xgsch2pcb configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge geda-xgsch2pcb
References
Summary
In this tutorial we learn how to install geda-xgsch2pcb package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.