In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "installation methods of various packages under the Linux system". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Steps for installing rpm package:
1. Find the corresponding software package, such as soft.version.rpm, and download it to a directory on this machine.
2. Open a terminal and su-become a root user
3. The directory where cd soft.version.rpm is located
4. Enter rpm-ivh soft.version.rpm
2. Steps for installing deb package:
1. Find the corresponding software package, such as soft.version.deb, and download it to a directory on this machine.
2. Open a terminal and su-become a root user
3. The directory where cd soft.version.deb is located
4. Enter dpkg-I soft.version.deb
3. Installation method of tar.gz source code package:
1. Find the corresponding software package, such as soft.tar.gz, and download it to a directory on this machine.
2. Open a terminal and su-become a root user
3. The directory where cd soft.tar.gz is located
4. Tar-xzvf soft.tar.gz / / generally generates a soft directory
5 、 cd soft
6 、. / configure
7 、 make
8 、 make install
4. Installation method of tar.bz2 source code package:
1. Find the corresponding software package, such as soft.tar.bz2, and download it to a directory on this machine.
2. Open a terminal and su-become a root user
3. The directory where cd soft.tar.bz2 is located
4. Tar-xjvf soft.tar.bz2 / / generally generates a soft directory
5 、 cd soft
6 、. / configure
7 、 make
8 、 make install
5. Apt installation:
1. Open a terminal and su-become a root user
2. Apt-cache search soft Note: soft is the name or related information of the software you are looking for
3. If the software soft.version is found in 2, use the apt-get install soft.version command to install the software Note: as long as you have access to the Internet, just use apt-cache search to find the software and use the apt-get install software
6. Bin file installation:
If the software you downloaded is named soft.bin, which is usually an executable file, the installation method is as follows:
1. Open a terminal and su-become a root user
2. Chmod + x soft.bin
3. / soft.bin / / run this command to install the software
Software that does not need to be installed:
Some software, such as lumaqq, does not need to be installed and can be run directly after being unzipped with JRE. Suppose you downloaded lumaqq.tar.gz and used it as follows:
1. Open a terminal and su-become a root user
2. Tar-xzvf lumaqq.tar.gz / / this step will generate a directory called LumaQQ
3 、 cd LumaQQ
4. Chmod + x lumaqq / / set the program file lumaqq to runnable
5. At this point, you can run lumaqq with the command. / lumaqq, but enter the full path or change to the LumaQQ directory you just generated.
6. In order to ensure that the path can be used without setting the path, you can set up a link to lumaqq in the / bin directory and use the command ln-s lumaqq / bin/. Any time later, you can open a terminal and type lumaqq to start QQ chat software.
7. If you want lumaqq to have a menu item, use a menu editing tool such as Alacarte Menu Editor to find the lumaqq in the LumaQQ directory generated above and set a menu item. Of course, you can also go directly to the / usr/share/applications directory and generate your own desktop file according to the format of other * .folders files.
This is the end of the content of "installation methods of various packages under the Linux system". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.