In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install the openSUSE software package, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
You can download and install it or install it on the network. Network installation you must add as many installation sources as possible to yast, or you can install it with one click, go to http://software.opensuse.org/search and click to install it. Download and install the installation package in different formats, copy and paste it for you: take a look at the Linux software extension first.
The software suffix .rpm was originally a package encapsulation format provided by Red Hat Linux and is now used by many Linux distributions; the suffix .deb is a package encapsulation format provided by Debain Linux; the suffix .tar.gz, tar.Z, tar.bz2 or .tgz is packaged using the Unix system packaging tool tar; the suffix .bin is generally some commercial software. Through the extension, you can understand the software format, and then understand the software installation.
OpenSUSE package installation of RPM format software package
1. Almost all Linux distributions use some form of software package to manage installing, updating, and uninstalling software. Compared to installing directly from source code, package management is easy to install and uninstall, easy to update installed packages, easy to protect configuration files, and easy to track installed files. RPM is Red Hat Package Manager (Red Hat package Manager). RPM is essentially a package that contains Linux software that can be installed and run immediately on a specific machine architecture. Most Linux RPM packages are named in a regular way, which follows name-version-revision-type-MYsoftware-1.2-1.i386.rpm.
two。 Install RPM package software # rpm-ivh MYsoftware-1.2-1.i386.rpm RPM command main parameter:-I installation software. -t test the installation, not the actual installation. -p shows the progress of the installation. -f ignore any errors. -U upgrade installation. -v check if the kit is installed correctly. These parameters can be used simultaneously. For more information, please refer to the command help of RPM.
3. To uninstall the software # rpm-e software name, it is important to note that the above code uses the software name, not the package name. For example, to uninstall the software-1.2.-1.i386.rpm package, execute: # rpm-e software
4. Forcibly uninstalling a RPM package sometimes removes a RPM, especially if there are other programs on the system that depend on it. If you execute the command, the following error message is displayed: # # rpm-e xsnow error: removing these packages would break dependencies: / usr/X11R6/bin/xsnow is needed by x-amusements-1.0-1 in this case, you can use the-- force option to reinstall xsnow:## rpm-ivh-- force xsnow-1.41-1.i386.rpm xsnow. It is recommended to use the utility software Kleandisk, which can safely and thoroughly clean up the RPM packages that are no longer in use. For more information, please see Open Systems World issue 12 in 2003.
5. Install files of type .src.rpm there are currently two modes for RPM, one is i386.rpm and the other is src.rpm. Rpm-rebuild Filename.src.rpm at this time the system will create a file Filenamr.rpm, in the / usr/src/redflag/RPMS/ subdirectory, usually i386, depending on the Linux distribution. Then execute the following code: rpm-ivh / usr/src/regflag/RPMS/i386/Filename.rpm installs the software packaged with deb deb is a package manager provided by Debian Linux, which is very similar to RPM. However, because RPM appears early and is widely used, it is common in various versions of Linux, while Debian's package manager dpkg only appears in Debina Linux.
The advantage of the openSUSE package is that it does not have to be bothered by strict dependency checking. The disadvantage is that the package management tool can only be seen in the Debian Linux distribution.
1. Install # dpkg-I MYsoftware-1.2.-1.deb 2. Uninstall # dpkg-e MYsoftware using source code for software installation compared with RPM installation, using source code for software installation will be more complicated, but installing software with source code is an important means of software installation under Linux, and it is also one of the main advantages of running Linux. Using the source code to install the software, you can choose a custom installation method according to the needs of the user, rather than just relying on the preconfigured parameters in the installation package. In addition, there are still some software programs that can only be installed from source code. Source packages are now available in many places, and exactly where to get them depends on the special needs of the software. For software that is commonly used, such as Sendmail, source code packages (such as http://www.sendmail.org) can be downloaded from commercial websites. General software packages can be downloaded from the developer's Web site.
The installation steps for the openSUSE package are described below:
1. Software that decompresses packet source code usually has a .tar.gz extension, as well as an tar.Z, tar.bz2, or .tgz extension. The decompression command is also different for different extensions.
two。 After the compiled software successfully decompresses the source code file, enter the unpacked directory. Read the Readme file and Install file before installation. Although many source code packages use basically the same commands, sometimes you can find some important differences when reading these files. For example, some software contains an installable installation script (.sh). Reading these documentation before installation will help you successfully install and save time. Become a root user before installing the software. There are usually two ways to do this: log in as the root user on the other terminal, or type "su", and the system will prompt for the password of the root user. After entering the password, you will always have the privileges of the root user. If you are already a root user, you can take the next step. The usual installation method is to execute the following command from the directory where the package is installed: gunzip soft1.tar.gz cd soft1 #. / configure # configuration # make# call make# make install # installation source code # delete temporary files generated during installation: # make clean uninstall software: # make uninstall some software packages can be uninstalled with the make uninstall command after compilation and installation. If this feature is not provided, the uninstall of the software must be removed manually.
Because the software may install files in multiple directories on the system, it is often difficult to delete them clean and should be configured before compilation. The .bin file installation extension is. Bin file is binary, and it is also the machine language obtained from the compiled source program. There is some software that can be released as an installation package with a .bin suffix, such as the streaming media player RealONE. If you have installed the Windows version of RealONE, then installing the RealONE for Linux version (file name: r1p1_linux22_libc6_i386_a1.bin) is very simple: # chmod + x r1p1_linux22_libc6_i386_a1.bin. / r1p1_linux22_libc6_i386_a1.bin then choose the installation method, which can be either regular installation or advanced installation. If you don't want to change the installation directory, you can choose a normal installation, and the installation process is almost the same as under Windwos. Uninstall the .bin file. Take RealONE for Linux as an example. If you use the normal installation method, there will be two folders, Real and Realplayer9, under the user's home directory. Just delete them. Linux green software Linux also has some green software, but not many.
The Linux system provides a mechanism: automatically respond to the requirements of the running process of the software and set an environment for it to run immediately. This mechanism can be an interface or middleware. Programs written by programmers can be copied and distributed directly without installation, just click on the program icon, access the interface provided by the operating system, and set it to work. To delete the software, you can delete it directly without linking to the file. This is the simplest way to install and uninstall software.
The above is all the contents of the article "how to install the openSUSE package". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.