The good news is that there is an Amazon Workspaces Linux client. If you happen to use Ubuntu, you can use the [official instructions](https://docs.aws.amazon.com/workspaces/latest/userguide/amazon-workspaces-linux-client.html#linux_setup Amazon Workspaces Linux client docs). But what if you're on an rpm-friendly distribution like Fedora or CentOS?
alien
to the rescue.
Download the file from the Workspaces Linux client page.
wget "https://d3nt0h4h6pmmc4.cloudfront.net/workspacesclient_amd64.deb"
If you don't have alien, get it.
sudo dnf install alien
To avoid an error file / from install of ... conflicts with package from ...
, we need to repackage manually.
sudo alien -rgv workspacesclient_amd64.deb
Now, remove the %dir /
entry from the spec file.
sudo sed -i '/^%dir "\/"$/d' workspacesclient-4.1.0.1523/workspacesclient-4.1.0.1523-2.spec
Build the rpm package.
cd workspacesclient-4.1.0.1523 && \
sudo rpmbuild --buildroot `pwd` -bb workspacesclient-4.1.0.1523-2.spec && \
cd -
Did it work?
sudo rpm --query --info --package ./workspacesclient-4.1.0.1523-2.x86_64.rpm
You should see output like this...
Name : workspacesclient
Version : 4.1.0.1523
Release : 2
Architecture: x86_64
Install Date: (not installed)
Group : Converted/misc
Size : 94810300
License : see /usr/share/doc/workspacesclient/copyright
Signature : (none)
Source RPM : workspacesclient-4.1.0.1523-2.src.rpm
Build Date : Sat 14 May 2022 20:26:38 CEST
Build Host : fedora
Summary : Amazon WorkSpaces Client for Ubuntu 18.04
Description :
(Converted from a deb package by alien version 8.95.)
sudo dnf localinstall workspacesclient-4.1.0.1523-2.x86_64.rpm
If it worked as expected, you should see the executable installed as /opt/workspacesclient/workspacesclient
. You should also see a shortcut.
Specifically:
- Set up a (virtual) instance (using an Ubuntu-ish x86 image, e.g., https://lubuntu.me/downloads/).
- Set up
alien
in that virtual instance (as described above) to get an RPM. - Install that RPM on Fedora.