歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 在CentOS 5.6上安裝recordMyDesktop軟件

在CentOS 5.6上安裝recordMyDesktop軟件

日期:2017/2/28 16:15:17   编辑:Linux教程

最近在學習Linux,我采用的版本是CentOS 5.6 因為原來學習時使用的這個發行版,手中的書全部是鳥哥的(不是做廣告) 所以最近下載了最新版本的5.6安裝並學習

在Windows系統裡經常用錄屏軟件錄制一些操作,方便自己也方便同事。換了Linux後也想用Gnome界面錄屏,在網餐搜索了一下,介紹的是五種,我采用了recordMyDesktop做為自己使用的軟件。

下載軟件:

wget http://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/0.3.8.1/recordmydesktop-0.3.8.1.tar.gz

wget http://sourceforge.net/projects/recordmydesktop/files/gtk-recordMyDesktop/0.3.8/gtk-recordmydesktop-0.3.8.tar.gz

我采用的是源代碼編譯安裝,先介紹一下上面的兩個軟件包,

第一個是主程序

第二個是界面配置工具,我采用的是Gnome界面所以下載了gtk

安裝,在Centos上用源代碼安裝軟件最麻煩,因為沒有找到RPM包 硬著頭皮用源代碼安裝。

先安裝第一個主程序(下面是官方發布的安裝說明):

You will need the development headers(i.e. packages ending with -dev or -devel(在安裝軟件時先查看下面的包是否正確安裝,這是包依賴包)
depending on the distribution you use) for the following:
X
libICE-dev
libSM-dev
libXext
libXdamage
libXfixes
libogg
libvorbis
libtheora

If you got a release tarball, to compile the program you have to go through the regular drill:(這個是安裝過程利用這個 就可以)

~$ gzip -d recordmydesktop-x.y.z.tar.gz
~$ tar -xvf recordmydesktop-x.y.z.tar
~$ cd recordmydesktop-x.y.z
~$ ./configure
~$ make
~$ sudo make install

另外 語音的支持:
If you want to compile with ALSA support, you will also
need the libasound headers.If they are not found, OSS
will be used and you must have the sys/soundcard.h header.
To use OSS regardless of whether or not you have the ALSA
headers, you can use the --enable-oss switch during
configuration.

Last, you need the regular headers, plus the ones for pthreads
(both of which you should have if you have compiled anything else before).

Of the above, the most likely to be missing are probably those of libXdamage and libtheora
but any recent linux distribution should offer an easy way to get them.

安裝完成,采用recordmydesktop 來測試一下

安裝第二個界面配置軟件(復制官方安裝說明);

DEPENDENCIES:
(利用yum檢查依賴包)
GNU automake >=1.5
Python >= 2.4
PyGTK>=2.10 or PyGTK>=2.8 with gnome-python-extras >= 2.11.3 (Be carefull since this is checked on runtime. )
recordMyDesktop 0.3.5

To compile the program you have to go through the regular drill:
(安裝步驟)
~$ gzip -d gtk-recordmydesktop-x.y.z.tar.gz
~$ tar -xvf gtk-recordmydesktop-x.y.z.tar
~$ cd gtk-recordmydesktop-x.y.z
~$ ./configure --prefix=/usr/
~$ make
~$ sudo make install

The --prefix=/usr/ option might not be necessary, but it
will prevent some problems when running the program
(if you get messages about module recordMyDesktop not found,
you have to use it).


After this you should get a menu entry under multimedia.
If you don't get one even after a logout/login from your WM
you can launch the program from a terminal like this:

~$ gtk-recordMyDesktop (命令運行)

在應該程序-影音裡出現現gtk-recordMyDesktop菜單,安裝成功

到此安裝成功了,

感謝軟件作者們,提供了這麼好的軟件和安裝說明,

Copyright © Linux教程網 All Rights Reserved