How To Install xtrkcad on Kali Linux
Introduction
In this tutorial we learn how to install xtrkcad on Kali Linux.
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 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 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install xtrkcad using apt-get by running the following command:
sudo apt-get -y install xtrkcadInstall xtrkcad Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install xtrkcad using apt by running the following command:
sudo apt -y install xtrkcadInstall xtrkcad 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 updateAfter updating apt database, We can install xtrkcad using aptitude by running the following command:
sudo aptitude -y install xtrkcadHow To Uninstall xtrkcad on Kali Linux
To uninstall only the xtrkcad package we can use the following command:
sudo apt-get remove xtrkcadUninstall xtrkcad And Its Dependencies
To uninstall xtrkcad and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove xtrkcadRemove xtrkcad Configurations and Data
To remove xtrkcad configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge xtrkcadRemove 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 xtrkcadDependencies
xtrkcad have the following dependencies:
- libc6
- libcairo2
- libgdk-pixbuf2.0-0
- libglib2.0-0
- libgtk2.0-0
- libpango-1.0-0
- libpangocairo-1.0-0
- libzip4
- xtrkcad-common
References
Summary
In this tutorial we learn how to install xtrkcad package on Kali Linux using different package management tools: apt, apt-get and aptitude.