How To Install xtrkcad-common on Kali Linux

In this tutorial we learn how to install xtrkcad-common on Kali Linux. xtrkcad-common is CAD program for designing model railroad layouts (common files)

Introduction

In this tutorial we learn how to install xtrkcad-common on Kali Linux.

What is xtrkcad-common

xtrkcad-common 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.

This package contains the demo, examples, parameter and the help files.

There are three methods to install xtrkcad-common on Kali Linux. 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-common 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-common using apt-get by running the following command:

sudo apt-get -y install xtrkcad-common

Install xtrkcad-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xtrkcad-common

Install xtrkcad-common Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install xtrkcad-common

How To Uninstall xtrkcad-common on Kali Linux

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

sudo apt-get remove xtrkcad-common

Uninstall xtrkcad-common And Its Dependencies

To uninstall xtrkcad-common and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove xtrkcad-common

Remove xtrkcad-common Configurations and Data

To remove xtrkcad-common configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge xtrkcad-common

Remove xtrkcad-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xtrkcad-common

Dependencies

xtrkcad-common have the following dependencies:

References

Summary

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