swtpm

Issues related to applications and software problems
Post Reply
simon@bp
Posts: 28
Joined: 2014/07/31 20:00:37

swtpm

Post by simon@bp » 2021/11/23 23:56:51

Is it possible to install the swtpm application on CentOS 7? If so, how?

Or are there alternatives that will allow a Windows 11 guest to be installed?

sml
Posts: 295
Joined: 2020/01/17 09:01:44

Re: swtpm

Post by sml » 2021/11/24 16:34:18

Have a look at their INSTALL document. It has instructions for how to build it from source on RHEL. However, one of its prerequisites is libtpm by the same author. You'll have to build it from source and install beforehand as well. And I guess python3-twisted must be built, too: the CentOS 7 repositories only have the Python 2 version available.

User avatar
TrevorH
Forum Moderator
Posts: 31342
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: swtpm

Post by TrevorH » 2021/11/24 16:48:06

If you need to build it for CentOS 7 then a good starting place would be to pick up the SRPMs for CentOS 8 (they're in EPEL) and rebuild those for CentOS 7 using the 'mock' utility. There are also newer versions of swtpm (libtpms seems to be the same version in both) in the Fedora 34 repos so an SRPM for those could also be a place to start.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”