歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 在Linux下安裝CUnit

在Linux下安裝CUnit

日期:2017/2/28 16:21:54   编辑:Linux教程

具體每個平台的安裝方法不一樣,以下只是Red Hat Enterprise 4的安裝方法,

其他平台請參見CUnit 的README文件

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:39:47 EDT 2008 i686 i686 i386 GNU/Linux

[root@localhost CUnit-2.1-0]# pwd
/root/CUnit-2.1-0 (README文件在該目錄下)

然後運行一下命令

aclocal
autoconf
automake
chmod u+x configure
./configure --prefix /usr/local (這裡是設置將CUnit安裝到那裡,根據你的需要可以修改)
make
make install

Copyright © Linux教程網 All Rights Reserved