In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces you how to install the software under the Linux environment, the content is very detailed, interested friends can refer to, I hope it can be helpful to you.
Download-unzip:
Put the resulting directory into a directory that doesn't matter, and we can set a hidden directory:
View executable programs:
How to become a system command?
PATH: as long as an executable program is placed in any of these directories, it can become a system-recognized command, and of course symbolic links can be established:
Note: the last subl is the link name, just click subl to enter the sublime.
Download the source code installation by yourself:
Download hello on the Free Software Foundation and install:
The steps for installing open source software are fixed, as follows:
. / configure
Make
Sudo make install
Execute hello program and output normally
Git clone
Dependent library installation
Enter the source directory
Make
Note: when you get the binary output, you actually run the first line below.
Sudo make install executes the following instructions to install the executable in the bin directory
Note: it is troublesome for users to install their own dependencies. There is too much manual installation, forget the location of the installation, it is very troublesome to uninstall. So we can save the basic information about the installation process, which is the basic idea of package management.
Deb package
Software commonly used in Ubuntu is packaged in a deb package and then installed.
This will make it easier for us to worry. Tutorial: happycasts14.
Pack:
After a package is installed, it will leave a wealth of information in the system's package management database.
List all deb packages installed by the system:
There will be a lot of output, so you can use the following command to find one:
See which files the package has installed on the system:
See which package a file comes from:
You can see that google-choremo-stable provided the chrome file.
In practice, apt-get is used, and the command dpkg is included at the bottom.
Software warehouse
In open source systems, software is usually released through source code, and ubuntu officials regularly get the source code and create a deb file for users to download. And they will build a software repository on their own server and put the deb package on it. It is very convenient for me to download the package:
Delete software can be used: apt-get remove git
However, if you want to delete the configuration file together, use:
Apt-get purge git
Sometimes we know what software to install, but the software name is not very clear:
Apt-catch search
Note: the output of the first line of instructions above will be more. Entering the tab twice on the second line automatically completes the possible packages and displays them (that is, enumerating alternative options).
Dependence
The installation of tig requires git to be installed first, if git is not previously installed. Apt-get automatically handles dependencies and installs git when tig is installed.
Sometimes when the ubuntu warehouse software is not updated in time, we need the latest version, which needs to be installed manually.
On how to install software under the Linux environment to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.