I’m trying to install Fedora 30 (KDE flavour) inside of Microsoft’s Hyper-V. I need to install the xrdp package (or better to recompile it). I can find it online in the fedora’s packages, but dnf search xrdp finds only the following packages:
xrdp-selinux
xrogxrdp
xrdp-devel (i686 and x86_64)
I’ve tried running dnf clean all, with no changes.
BTW, if you want to recompile xrdp, a good way to do that is to download the RPM source package. Then you can build a local RPM and install it that way, still taking advantage of package-management.
The source will be extracted inside $HOME/rpmbuild/BUILD/, it’ll be compiled and installed in a directory under $HOME/rpmbuild/BUILDROOT/ (but all of that gets deleted after the RPM is created), and the results will be in $HOME/rpmbuild/RPMS/{x86_64,noarch}/.
If you want to explore the source or make any modifications, you can use rpm -ivh /tmp/xrdp*.src.rpm (withoutsudo!) to extract the SRPM contents to $HOME/rpmbuild/SOURCES/ and $HOME/rpmbuild/SPECS/, then create the build dir with:
$ cd ~/rpmbuild/SPECS
$ rpmbuild -bp ./xrdp.spec
The build tree at $HOME/rpmbuild/BUILD/xrdp-0.9.11/ will be “prepped” (extracted and patched), but rpmbuild will stop there and not execute the rest of the steps (build, check, install…)