Where is the installation directory of linux software?

angryTom
Release: 2019-11-07 09:56:29
Original
4980 people have browsed it

Where is the installation directory of linux software?

Where is the installation directory of linux software?

There are several linux software installation directories, including /usr/ Local, /opt, and executable files installed through the package manager are in the /usr/bin directory.

/opt

The optional programs are mainly stored here. Do you want to try the latest firefox beta version? Then install it to the /opt directory. In this way, when you finish trying and want to delete firefox, you can delete it directly without affecting any other system settings. For programs installed in the /opt directory, all its data, library files, etc. are placed in the same directory.
For example: the test version of firefox you just installed can be installed in the /opt/firefox_beta directory. The /opt/firefox_beta directory contains all the files, libraries, data, etc. needed to run firefox. When you want to delete firefox, you only need to delete the /opt/firefox_beta directory, it is very simple.

/usr/local

This mainly stores software that is installed manually, that is, software that is not installed through "Synaptic" or apt-get. It has a similar directory structure to the /usr directory. I think it would be a good idea to let the package manager manage the /usr directory and put custom scripts in the /usr/local directory.

Summary

Installation of java, tomcat, etc. can also be installed in the opt directory, but in terms of the scalability and management of the installation program, ease of use is the best of. To summarize, the opt directory and usr/local directory are generally the directory where you install software under /usr/local. This directory is equivalent to the programefiles directory under Windows. The /opt directory is the installation directory for some large software or the installation directory for some service programs.

Recommended: linux system tutorial

The above is the detailed content of Where is the installation directory of linux software?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!