Installing rdesktop on Centos 7
Posted on Sun 25 January 2015 in blog
I'll briefly summarize this blog post
on installing rdesktop
on Centos 7.
First, we'll set up the RPM build environment (as your local user):
$ sudo yum install rpm-build make gcc
$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
$ echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
Now, fetch and install the source package:
$ wget http://pkgs.repoforge.org/rdesktop/rdesktop-1.8.2-0.1.rfx.src.rpm
$ rpm -i rdesktop-1.8.2-0.1.rfx.src.rpm
Install devel dependencies and build:
$ sudo yum install openssl-devel libXt-devel libsamplerate-devel pcsc-lite-devel
$ rpmbuild -ba ~/rpmbuild/SPECS/rdesktop.spec
$ sudo yum localinstall ~rpmbuild/RPMS/x86_64/rdesktop-1.8.2-0.1.el7.centos.x86_64.rpm