Installing recordmydesktop on CentOS and RHEL

Recordmydesktop is a command line (and GUI) program that can be used to record a video of the CentOS Desktop (among other distros as well). To install it on CentOS, begin by installing the required dependancies:

yum install gcc make libXext-devel libSM-devel libICE-devel zlib-devel libXfixes-devel libXdamage-devel libvorbis-devel libtheora-devel

Because CentOS does not official an RPM for recordmydesktop, we will have to install it from source. We will download a tar of the source code, untar the source, and remove the tar file:

wget http://downloads.sourceforge.net/project/recordmydesktop/recordmydesktop/0.3.8.1/recordmydesktop-0.3.8.1.tar.gz
tar xf recordmydesktop-0.3.8.1.tar.gz
rm -rf recordmydesktop-0.3.8.1.tar.gz

Now, let’s go into the folder and install Recordmydesktop.

cd recordmydesktop-0.3.8.1
./configure
make
make install

If you did not set a custom prefix, running /usr/bin/recordmydesktop should begin recording your desktop! Use the following command (just as with most commands) to view the options available:

recordmydesktop --help

One thought on “Installing recordmydesktop on CentOS and RHEL

  1. labrador

    Hi,

    After my “./configure” command. Im stack. this are the command output.

    [root@rpidvoproxy recordmydesktop-0.3.8.1]# ./configure
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking for C compiler default output file name… a.out
    checking whether the C compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for style of include used by make… GNU
    checking dependency style of gcc… gcc3
    checking whether gcc and cc understand -c and -o together… yes
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking whether byte ordering is bigendian… no
    checking for dirent.h that defines DIR… yes
    checking for library containing opendir… none required
    checking for ANSI C header files… (cached) yes
    checking for X… libraries , headers
    checking for gethostbyname… yes
    checking for connect… yes
    checking for remove… yes
    checking for shmat… yes
    checking for IceConnectionNumber in -lICE… yes
    checking alsa/asoundlib.h usability… no
    checking alsa/asoundlib.h presence… no
    checking for alsa/asoundlib.h… no
    checking endian.h usability… yes
    checking endian.h presence… yes
    checking for endian.h… yes
    checking sys/soundcard.h usability… yes
    checking sys/soundcard.h presence… yes
    checking for sys/soundcard.h… yes
    checking sys/time.h usability… yes
    checking sys/time.h presence… yes
    checking for sys/time.h… yes
    checking for unistd.h… (cached) yes
    checking vorbis/vorbisfile.h usability… yes
    checking vorbis/vorbisfile.h presence… yes
    checking for vorbis/vorbisfile.h… yes
    checking fcntl.h usability… yes
    checking fcntl.h presence… yes
    checking for fcntl.h… yes
    checking for u_int16_t… yes
    checking for u_int32_t… yes
    checking for u_int64_t… yes
    checking for isnan in -lm… yes
    checking for deflate in -lz… yes
    checking for IceOpenConnection in -lICE… yes
    checking for SmcOpenConnection in -lSM… yes
    checking for XOpenDisplay in -lX11… yes
    checking for XShmQueryVersion in -lXext… yes
    checking for XFixesQueryExtension in -lXfixes… yes
    checking for XDamageQueryExtension in -lXdamage… yes
    checking for vorbis_info_clear in -lvorbis… yes
    checking for ov_open in -lvorbisfile… yes
    checking for vorbis_encode_init in -lvorbisenc… yes
    checking for ogg_stream_init in -logg… yes
    checking for theora_encode_YUVin in -ltheora… no
    configure: error: Can’t find libtheora
    [root@rpidvoproxy recordmydesktop-0.3.8.1]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@rpidvoproxy recordmydesktop-0.3.8.1]# make install
    make: *** No rule to make target `install’. Stop.
    [root@rpidvoproxy recordmydesktop-0.3.8.1]#

    Nothing happens after make comman …

    need help, thanks

Comments are closed.