I am getting this error when I try to install the main package
sudo apt-get install '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linuxcnc' instead of '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
The following packages were automatically installed and are no longer required:
libgpiod2 python3-serial python3-yapps
Use 'sudo apt autoremove' to remove them.
Suggested packages:
onboard
The following NEW packages will be installed:
linuxcnc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/25.5 MB of archives.
After this operation, 89.9 MB of additional disk space will be used.
Get:1 /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb linuxcnc amd64 1:2.9.3 [25.5 MB]
(Reading database ... 185376 files and directories currently installed.)
Preparing to unpack .../linuxcnc_2.9.3_amd64.deb ...
Unpacking linuxcnc (1:2.9.3) ...
dpkg: error processing archive /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb (--unpack):
trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.3
Errors were encountered while processing:
/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb
N: Download is performed unsandboxed as root as file '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)