终端输入以下2条命令(要与上图对应)即可
[root@localhost Packages]# rpm -i gdb-7.2-60.el6.x86_64.rpm
[root@localhost Packages]# rpm -qa gdb
查看gdb版本:[root@localhost Packages]# gdb -v
查看gdb位置:[root@localhost Packages]# which gdb
终端输入以下2条命令(要与上图对应)即可
[root@localhost Packages]# rpm -i gdb-7.2-60.el6.x86_64.rpm
查看gdb版本:[root@localhost Packages]# gdb -v
查看gdb位置:[root@localhost Packages]# which gdb