centos install gns3

the installation of gns3 needs the QT,the Python,the Sip and the Pyqt.

the software search of having been installed

1. the way of installation is yum,example : yum list installed | grep "software name or bag name "

2. the way of installation is rpm.example : rpm -qa | grep "software name or bag name"

3.the view of version : software -version

4 whereis software name // installation path

5 which software name // operating path

the installation methods of software

1. the source code of software

        .tar.gz   uncompress complie install     

        --#cp filename.tar.gz  /root/......

        --#tar -zxvf filename.tar.gz  equals

        --#tar -zxvf filename.tar.gz -C /root/......

        --#./configure  //check out the configure information for installing software that needs some conditions 

        --#make //confile

        --#make install //install

        --#make clean  //clear junk file

 2. yum (yellow dog updater,modified) is a base of software whose installation is instituted on the rpm.

        yum [options] [commad] [package]

        --#yum search [package]

         --#yum install [package]

        --#yum remove [package]

        --#yum list [package]

        --#yum update [package]

        

        

3. rpm

        --#

官网网站上下载QT

chmod -755 qt-opensource-linux-x64-5.8.0.run //提升权限,可以执行。

--#./qt-opensource-linux-x64-5.8.0.run

--#一直next就行

下载SIP

--#tar -zxvf sip-4.19.8.tar.gz

--#cd sip-4.19.8

--#python configure.py

--#make 

--#make install

查阅opensource

--#rpm -qa |grep jdk

删除opensource

--#rpm -e --nodeps java-1.7.0.........

下载jdk

rpm package

--#rpm -ivh ...................

自动配置了java 和javac 似乎



猜你喜欢

转载自blog.csdn.net/sinat_35049039/article/details/80293540