How To Install xtrkcad on Debian 10

Learn how to install xtrkcad on Debian 10 with this tutorial. xtrkcad is CAD program for designing model railroad layouts

Introduction

In this tutorial we learn how to install xtrkcad on Debian 10.

What is xtrkcad

xtrkcad is:

With XTrackCAD you can: Design layouts in any scale and gauge Use the predefined libraries for many popular brands of turnouts to help you get started easily Add your own favorite components Manipulate track much like you would with actual flex-track to modify extend and join tracks and turnouts Test your design by running trains, including picking them up and moving them with the mouse. At any point you can print the design in a scale of your choice. When printed in 1:1 scale the printout can be used as a template for laying the track to build your dream layout. Learning XTrackCAD is made easy with the extensive on-line help and demonstrations.

There are three methods to install xtrkcad on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install xtrkcad Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xtrkcad

Install xtrkcad Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xtrkcad

Install xtrkcad 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install xtrkcad

How To Uninstall xtrkcad on Debian 10

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

sudo apt-get remove xtrkcad

Uninstall xtrkcad And Its Dependencies

To uninstall xtrkcad and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove xtrkcad

Remove xtrkcad Configurations and Data

To remove xtrkcad configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge xtrkcad

Remove xtrkcad configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xtrkcad

Dependencies

xtrkcad have the following dependencies:

References

Summary

In this tutorial we learn how to install xtrkcad package on Debian 10 using different package management tools: apt, apt-get and aptitude.