<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to LinuxInstall</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>Recent changes to LinuxInstall</description><atom:link href="https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 23 Jan 2026 15:26:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/feed" rel="self" type="application/rss+xml"/><item><title>LinuxInstall modified by strobelight</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -10,7 +10,7 @@

 ### Download

-**XTrackCad** is available as three packages: Fedora RPM, Debian/Ubuntu DEB and a generic archive shell script. In some releases, a flatpak may also be available.
+**XTrackCad** is available as three packages: Fedora RPM, Debian/Ubuntu DEB and a generic archive shell script. In some releases, a [flatpak](https://flathub.org/en/apps/io.sourceforge.xtrkcad_fork.xtrkcad) may also be available.

 All three are available from **SourceForge** 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">strobelight</dc:creator><pubDate>Fri, 23 Jan 2026 15:26:32 -0000</pubDate><guid>https://sourceforge.net0661ad41f022424be775f983029ab558c970ad21</guid></item><item><title>LinuxInstall modified by strobelight</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -10,7 +10,7 @@

 ### Download

-**XTrackCad** is available as three packages: Fedora RPM, Debian/Ubuntu DEB and a generic archive shell script.
+**XTrackCad** is available as three packages: Fedora RPM, Debian/Ubuntu DEB and a generic archive shell script. In some releases, a flatpak may also be available.

 All three are available from **SourceForge** 

@@ -21,6 +21,8 @@
 For the Debian and RPM packages, the program will be installed in a fixed location.
 For the General Availability (GA) release, the program will be installed in **/usr**.
 For the Beta release, the program will be installed in **/usr/local**.
+
+If installing a flatpak, see [Flatpak] wiki for notes.

 For the generic archive, normal users can install this anywhere they have write access.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">strobelight</dc:creator><pubDate>Sat, 26 Jul 2025 19:16:34 -0000</pubDate><guid>https://sourceforge.net59cbd8d51b8da0c6e6ea9d4af4bb86cbb47057ca</guid></item><item><title>LinuxInstall modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Thu, 27 Mar 2025 18:30:21 -0000</pubDate><guid>https://sourceforge.nete704bc4324a2b0fef52225599c138b2d345fd587</guid></item><item><title>LinuxInstall modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,11 +1,11 @@
 ##  Linux Installation 
-
-### Prerequisites
-
 ##### libzip

 Previous versions of **XTrackCAD** were dynamically linked with libzip4.
 Newer versions (&amp;gt;= 5.2.1) are statically linked with libzip4 so the dependency on the libzip4 dynamic library has been removed.
+
+
+### Prerequisites


 ### Download
@@ -159,7 +159,17 @@
 This can be removed by
 &amp;gt;apt install libcanberra-gtk-module libcanberra-gtk3-module -y

+## Removing XTrkCAD

+If **XTrkCAD** was installed using a package management command such as **apt**, **gdebi** or **yum** then that (or related)  command can be used to remove **XTrkCAD**.

+If you used the generic archive, then you can remove the executable binary and the install directories from where ever you specified during the install.  You can also remove the working directory and any .xtc or .xti files.
+
+The command 
+&amp;gt;which xtrkcad
+or
+&amp;gt; which xtrkcad-beta
+
+will help locate the installation

 CategoryUser
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Thu, 27 Mar 2025 18:27:14 -0000</pubDate><guid>https://sourceforge.net020f82acc02667d15abd170f8942b5d2ae455f8c</guid></item><item><title>LinuxInstall modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -31,28 +31,33 @@
 Note: In the notes below, ${VERSION} should be replaced by your current version.

 ### Debian Install
+There a variety of methods to install **XTrkCad** once you have downloaded the **.deb** file

+#### Graphical Installer
 Double click on the downloaded **.deb** file from the Files app to invoke the system Software Installer.  But see below.

-#### Ubuntu 20.04 Issues
+##### Ubuntu 20.04 Issues
+Note: newer versions of Ubuntu (20.04) may have installation issues:

-Note: newer versions of Ubuntu (20.04) may have installation issues:
 ##### Installer Issues
+In some cases the default handler for **.deb** files is the Archive Manager instead of the Software Installer. In which case right click on the the **.deb**, choose 'Properties', then choose the 'Open with' tab. and select 'GDebi Package installer'.  You may need to install gdebi first.

-In some cases the default handler for **.deb** files is the Archive Manager instead of the Software Installer. In which case right click on the the **.deb**, choose 'Properties', then choose the 'Open with' tab. and select 'GDebi Package installer'.  You may need to install gdebi first.
+#### Command line install
+From the command line:
+&amp;gt;sudo gdebi  xtrkcad-setup-${VERSION}_x86_64.deb

 Installing using **gdebi** can result in the warning
 &amp;gt;
 /usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
 c = findall("[(/\\S+[])]", msg)[0].lower()

-
 This is a fault with **gdebi**.  Respond with **Y** when prompted if you want to continue.
 See https://askubuntu.com/questions/1150864/future-warning-with-gdebi-while-installing-some-packages 

-
+#### Installing with **dpkg**
 If all else fails, try this from a command window 
 &amp;gt;sudo dpkg -i xtrkcad-setup-${VERSION}.x86_64.deb
+&amp;gt;sudo apt-get -f  install


 ### RPM Install
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Tue, 01 Oct 2024 17:22:09 -0000</pubDate><guid>https://sourceforge.netf5252d386fecbe05cecac267488560be7b854224</guid></item><item><title>LinuxInstall modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Mon, 29 Apr 2024 15:07:32 -0000</pubDate><guid>https://sourceforge.netbb0b036e633188c046ca023d6aa6c2990d5b7e3a</guid></item><item><title>LinuxInstall modified by Russell Shilling</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxInstall/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="linux-installation"&gt;Linux Installation&lt;/h2&gt;
&lt;h3 id="prerequisites"&gt;Prerequisites&lt;/h3&gt;
&lt;h5 id="libzip"&gt;libzip&lt;/h5&gt;
&lt;p&gt;Previous versions of &lt;strong&gt;XTrackCAD&lt;/strong&gt; were dynamically linked with libzip4.&lt;br/&gt;
Newer versions (&amp;gt;= 5.2.1) are statically linked with libzip4 so the dependency on the libzip4 dynamic library has been removed.&lt;/p&gt;
&lt;h3 id="download"&gt;Download&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;XTrackCad&lt;/strong&gt; is available as three packages: Fedora RPM, Debian/Ubuntu DEB and a generic archive shell script.&lt;/p&gt;
&lt;p&gt;All three are available from &lt;strong&gt;SourceForge&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;See #%&lt;em&gt;this page:&lt;/em&gt; &lt;span&gt;[DownloadInstall]&lt;/span&gt;#% for download instructions.&lt;/p&gt;
&lt;h3 id="general-install-notes"&gt;General Install Notes&lt;/h3&gt;
&lt;p&gt;For the Debian and RPM packages, the program will be installed in a fixed location.&lt;br/&gt;
For the General Availability (GA) release, the program will be installed in &lt;strong&gt;/usr&lt;/strong&gt;.&lt;br/&gt;
For the Beta release, the program will be installed in &lt;strong&gt;/usr/local&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;For the generic archive, normal users can install this anywhere they have write access.&lt;/p&gt;
&lt;p&gt;Be aware that you don't invoke any other existing &lt;strong&gt;XTrackCAD&lt;/strong&gt; installation when running the program.&lt;/p&gt;
&lt;p&gt;As of V5.2, webkitgtk is not used for displaying help. Instead your system browser will be used.&lt;/p&gt;
&lt;p&gt;Note: In the notes below, ${VERSION} should be replaced by your current version.&lt;/p&gt;
&lt;h3 id="debian-install"&gt;Debian Install&lt;/h3&gt;
&lt;p&gt;Double click on the downloaded &lt;strong&gt;.deb&lt;/strong&gt; file from the Files app to invoke the system Software Installer.  But see below.&lt;/p&gt;
&lt;h4 id="ubuntu-2004-issues"&gt;Ubuntu 20.04 Issues&lt;/h4&gt;
&lt;p&gt;Note: newer versions of Ubuntu (20.04) may have installation issues:&lt;/p&gt;
&lt;h5 id="installer-issues"&gt;Installer Issues&lt;/h5&gt;
&lt;p&gt;In some cases the default handler for &lt;strong&gt;.deb&lt;/strong&gt; files is the Archive Manager instead of the Software Installer. In which case right click on the the &lt;strong&gt;.deb&lt;/strong&gt;, choose 'Properties', then choose the 'Open with' tab. and select 'GDebi Package installer'.  You may need to install gdebi first.&lt;/p&gt;
&lt;p&gt;Installing using &lt;strong&gt;gdebi&lt;/strong&gt; can result in the warning&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1&lt;br/&gt;
c = findall("&lt;span&gt;[(/\S+[]&lt;/span&gt;)]", msg)&lt;span&gt;[0]&lt;/span&gt;.lower()&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is a fault with &lt;strong&gt;gdebi&lt;/strong&gt;.  Respond with &lt;strong&gt;Y&lt;/strong&gt; when prompted if you want to continue.&lt;br/&gt;
See &lt;a href="https://askubuntu.com/questions/1150864/future-warning-with-gdebi-while-installing-some-packages" rel="nofollow"&gt;https://askubuntu.com/questions/1150864/future-warning-with-gdebi-while-installing-some-packages&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;If all else fails, try this from a command window &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo dpkg -i xtrkcad-setup-${VERSION}.x86_64.deb&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="rpm-install"&gt;RPM Install&lt;/h3&gt;
&lt;p&gt;Double click on the downloaded &lt;strong&gt;.rpm&lt;/strong&gt; file.&lt;/p&gt;
&lt;p&gt;You may see a pause of 25 seconds when starting &lt;strong&gt;XTrackCAD&lt;/strong&gt;.&lt;br/&gt;
If so, please upgrade to Fedora-33.&lt;/p&gt;
&lt;h3 id="generic-archive-install"&gt;Generic Archive Install&lt;/h3&gt;
&lt;p&gt;After downloading open a terminal and run&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;./xtrkcad-setup-${VERSION}.x86_64.sh&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You may append &amp;gt; --prefix=some/directory&lt;br/&gt;
 to install in some other, existing directory.&lt;br/&gt;
This will install the executable in either&lt;br/&gt;
* the current directory&lt;br/&gt;
* a new subdirectory named xtrkcad-setup-${VERSION}.x86_64&lt;br/&gt;
* the directory specified by &lt;strong&gt;--prefix&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ xtrkcad-setup-${VERSION}.x86_64.sh&lt;br/&gt;
By default the &lt;strong&gt;XTrackCAD&lt;/strong&gt; will be installed in:&lt;br/&gt;
  "/home/dave/xtc-install/xtrkcad-setup-5.2.0GA-1.x86_64"&lt;br/&gt;
Do you want to include the subdirectory xtrkcad-setup-5.2.0GA-1.x86_64?&lt;br/&gt;
Saying no will install in: "/home/dave/xtc-install" &lt;span&gt;[Yn]&lt;/span&gt;: &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You will need to be super-user to install to the default directory (/usr for GA and /usr/local for BETA).&lt;br/&gt;
Otherwise you will need to set the environment variable &lt;strong&gt;XTRKCADLIB&lt;/strong&gt; to the installed share/xtrkcad directory.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ export XTRKCADLIB=~/xtc-install/share/xtrkcad&lt;br/&gt;
$ bin/xtrkcad&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The self-extracting archive expects bash as a shell. So if you get an error message saying ##sh: command not found## try the following command&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo bash ./xtrkcad-setup-${VERSION}.x86_64.sh --prefix=/usr/local --exclude-subdir&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The script uses &lt;strong&gt;more&lt;/strong&gt; to display the GPL.  On some systems &lt;strong&gt;less&lt;/strong&gt; is used instead.  If you see&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(END)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;after the GPL, then type &lt;strong&gt;q&lt;/strong&gt; to continue installation.&lt;/p&gt;
&lt;h4 id="system-menu-integration-and-file-association"&gt;System Menu Integration and File Association&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;New in V5.2.1&lt;/strong&gt;&lt;br/&gt;
If you installed &lt;strong&gt;XTrackCAD&lt;/strong&gt; on Ubuntu/Debian &lt;strong&gt;from the command line&lt;/strong&gt; using dpkg or gdebi, then file associations and menu intergration will be done.  These include&lt;br/&gt;
* &lt;strong&gt;XTrackCAD&lt;/strong&gt; will be the handler for .xtc files&lt;br/&gt;
* file icon for .xtc files&lt;br/&gt;
* desktop short cut&lt;br/&gt;
* menu item added to Graphic sub-menu&lt;br/&gt;
When you double click on the desktop icon, you may encounter a message that "xtrkcad.desktop has not been marked as trusted".&lt;br/&gt;
If so, right click on the desktop icon, select "Properties" and then the "Permissions" tab, and then check "Allow executing file as program".  Or run the "chmod" command as described below.&lt;/p&gt;
&lt;p&gt;If you installed using other methods (including graphical installers) the above will not be done.&lt;br/&gt;
You can perform this step manually by running the following from a command window as a normal user (not root)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;${INSTALLDIR}/xtrkcad-setup install ${INSTALLDIR}&lt;br/&gt;
chmod +x ~/Desktop/xtrkcad.desktop&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;where INSTALLDIR is the &lt;strong&gt;XTrackCAD&lt;/strong&gt; installation directory (usually /usr/share/xtrkcad).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;XTrackCAD&lt;/strong&gt; will be added to the system menu (see alacarte).&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;XTrackCad&lt;/strong&gt; icon may not be added to your desktop, depending on your window manager (lightdm no, gdm3 yes).  On some systems you may be able to add the &lt;strong&gt;XTrackCad&lt;/strong&gt; application to your Favorite list.&lt;/p&gt;
&lt;p&gt;You may need to restart your file browser to enable File Association (double clicking a &lt;em&gt;.xtc file).  Also, the  general Text File Icon may be displayed instead of the &lt;/em&gt;&lt;em&gt;XTrackCAD&lt;/em&gt;* File Icon.&lt;/p&gt;
&lt;h4 id="beta-release-changes"&gt;Beta Release Changes&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;New in V5.3.0Beta1&lt;/strong&gt;&lt;br/&gt;
In order for the Beta and GA releases to co-extist, the name &lt;strong&gt;XTrackCAD&lt;/strong&gt; has been changed to &lt;strong&gt;xtrkcad-beta&lt;/strong&gt;:&lt;br/&gt;
* executable is &lt;strong&gt;/usr/local/bin/xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* install directory is &lt;strong&gt;/usr/local/share/xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* working directory is &lt;strong&gt;$(HOME)/.xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* file association for .xtc files is &lt;strong&gt;xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* the desktop icon is renamed to &lt;strong&gt;XTrackCAD-Beta&lt;/strong&gt; and invokes &lt;strong&gt;xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
The last two changes can be undone by running &lt;strong&gt;xtrkcad-setup&lt;/strong&gt; as described above.&lt;/p&gt;
&lt;p&gt;To restore the last two changes run&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/usr/local/share/xtrkcad-beta/xtrkcad-setup install /usr/local/share/xtrkcad-beta&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;xtrkcad-beta&lt;/strong&gt; requires at least Ubuntu-20.04 or equivalent.&lt;/p&gt;
&lt;h4 id="startup-warnings"&gt;Startup Warnings&lt;/h4&gt;
&lt;p&gt;If you are running from the command line, you might notice a warning:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Failed to load module "canberra-gtk-module"&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This can be removed by&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install libcanberra-gtk-module libcanberra-gtk3-module -y&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;CategoryUser&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Russell Shilling</dc:creator><pubDate>Thu, 28 Mar 2024 01:32:16 -0000</pubDate><guid>https://sourceforge.netca52ccfc068d1e40b1015f16cb7053ffac6fa134</guid></item></channel></rss>