xtrkcad command not found

In this troubleshooting guide we learn how to fix xtrkcad command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xtrkcad: command not found

or when using sudo you get the following error message

sudo: xtrkcad: command not found

Solutions to xtrkcad: command not found

How To Fix xtrkcad: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xtrkcad is provided by xtrkcad package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xtrkcad

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xtrkcad.

sudo apt -y install xtrkcad

Or if you have aptitude installed you can use the following command.

sudo aptitude install xtrkcad

Summary

In this tutorial we learn how to fix xtrkcad command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.