I rarely operate Linux servers, so the operation of Linux can be said to have reached the level of Tanhusebian. But life still has to go on, the problem is to be exposed eventually. Today, the author is not very happy. I remember it rained last week, it rained last weekend, it rained last weekend, and it rained this weekend. I wash my clothes on weekends, and make my clothes all moldy. In the middle of the night, go out and buy clothes ... Well, the author also seems to be the same as that who anchors, say things before the first idle, tell the heart of depression, and then happy a little.
The author through the query data summarized a bit, Linux installation software, do not want to be so complex and scary. The only difference between him and the Windows Installer is that Windows double-click the software icon to install it graphically, and Linux needs to be installed with a command. There are roughly 6 ways to install the software:
First, RPM package installation method steps:
RPM is a software executable program under Linux, and if your Linux is already using gnorpm, kpackage graphics, you can do it graphically. If not,
①安装:1、以root用户的身份,打开一个终端(空白处,鼠标右击)2、cd到当前rpm包的所在目录; 3、输入rpm -ivh rpm的名称.rpm② 卸载: rpm –e 软件名(后面使用的是软件名,而不是软件包名)
Second, tar.gz source code package installation Steps (TAR.BZ2):
Files with the tar.gz suffix are compressed files that are common in Linux and MacOS, and can be extracted directly from Linux and MacOS using this compressed file.
以soft.tar.gz为例1、以root用户的身份,打开一个终端(空白处,鼠标右击)2、cd到当前tar.gz包的所在目录; 3、tar -xzvf soft.tar.gz //解压文件包,一般会生成一个soft目录 用ls命令可以看到解压缩后的文件。通常在解压缩后产生的文件中,有名为"INSTALL"的文件。该文件为纯文本文件,详细讲述了该软件包的安装方法。 4、cd soft 对于多数需要编译的软件,其安装的方法大体相同。执行解压缩后产生的一个名为configure的可执行脚本程序。它是用于检查系统是否有编译时所需的库,以及库的版本是否满足编译的需要等安装所需要的系统信息。为随后的编译工作做准备。5、./configure //为编译做好准备6、make //进行软件编译7、make install //开始安装
Three, Deb package installation steps:
The Debian package is a standard archive of Unixar, which packages the package file information and package content, via gzip and tar. The classic program for handling these packages is dpkg, which is often run through Debian's apt-get. The Debian Package Manager dpkg only appears in Debina Linux, and no other Linux versions are available.
以soft.version.deb为例:安装1、以root用户的身份,打开一个终端(空白处,鼠标右击)2、cd到当前deb包的所在目录; 3、输入dpkg -i soft.version.deb卸载 dpkg –e 软件名
Four, APT way installation steps (install Deb package):
以soft.version.apt为例安装1、以root用户的身份,打开一个终端(空白处,鼠标右击)2、apt-cache search soft 注:soft是你要找的软件的名称或相关信息 3、如果2中找到了软件soft.version,则用apt-get install soft.version命令安装软件
Five, bin file installation steps:
Six, yum mode installation: (Install RPM package)
Slightly! (Not available at the moment)
Summarize:
There are two main types of software installation in Linux.
The first installation file is named. tar.gz. The other installation file name is. rpm.
Most of the software released in the first way is sent in the form of source code.
The second approach is distributed directly in binary form.
Linux installs some general software (plain)