1. Check the software installation path: There is more than one place where Linux software can be installed. Let’s first check all the paths (addresses) where the software is installed. Here we take Mysql as an example. For example, if I have installed Mysql, but I don’t know where the files are installed and in which folders, I can use the following command to view all file paths. whereis MySQL Press Enter. If you have installed MySQL, the address where the file is installed will be displayed, such as mine (the installation address may be different).
It can be seen that mysql is installed in these directories. If you don't have mysql installed, the file path will not be displayed. 2. Query the path where the running file is located: If you only need to query the address of the running file, just use the following command (still taking Mysql as an example): which MySQL The result will be:
Content Extension 4 ways to view software installation directory and location in Linux Speaking of three methods, they are nothing more than a few commands under Linux, find, whereis, which, locate are all OK, especially the first two commands are better. This is the end of this article about a simple method to check the installation location of software in Linux. For more information about how to check the installation location of software in Linux, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! |
<<: JavaScript Basics: Error Capture Mechanism
>>: Analysis of SQL integrity constraint statements in database
This article shares the specific code of uni-app ...
Table of contents 1. Observable 2. Higher-order f...
Remax is an open source framework developed by An...
Download and installConfigure environment variabl...
Linux is currently the most widely used server op...
Cookie It is a standard way to save the state of ...
Angularjs loop object properties to achieve dynam...
This article shares the specific code of JavaScri...
The Internet is an organism that is constantly ev...
Table of contents Preface 1. Key Elements of a Re...
need: According to business requirements, it is n...
Download image docker pull openjdk Creating a Dat...
Table of contents background Understanding compos...
The company's business scenario requires the ...
Effect screenshots: Implementation code: Copy code...