Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to start the application quickly by centos7

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces centos7 how to quickly start the application, the article is very detailed, has a certain reference value, interested friends must read it!

Environment

All the installation tutorials, not to mention, are all rogue TT.

System: CentOS 7

Desktop version: gnome 3.14

Method 1: shortcut

First of all, you will definitely think of the desktop shortcut for analogy windows, and then you will start a lot of tutorials on google.

Create Launcher

Right-click Desktop and click "Create Launcher".

Tutorial links

However, not to mention the version of the installation tutorial is to play rogue TT

Yes, the option of "Create Launcher" does not appear in the elderly.

Therefore, this road is impassable.

Modify the .resume file

1. Terminal input: sudo vim / usr/share/applications/datagrip.desktop

Edit the .clients file

The installation path of Exec,Icon to be modified to datagrip

two。 Then assign weight to the file and run the "chmod Ubunx eclipse.desktop" command.

This is also very important! Must be an executable file.

It indicates that this is unzipped and installed. If you install it with the deb package (/ usr/share/applications/ has datagrip.desktop, I don't know if that's the name), you can omit step 1, line 2.

3. Just copy the file to the desktop directory.

Method 2: start directly at the terminal

The most recommended method: simple, fast and convenient

Methods and steps

Enter instructions directly at the terminal:

Re-enter the command

Rehash

If the hash table is not updated, the current terminal saves the previous hash table, and the soft connection is not valid for the current terminal.

The official explanation is as follows

Typically, compinit will not automatically find new executables in the $PATH. For example, after you install a new package, the files in / usr/bin would not be immediately or automatically included in the completion. Thus, to have these new exectuables included, one would run: rehash

You will find that the soft link has been established successfully.

From then on, you can type datagrip directly into the terminal to start datagrip.

Principle explanation

/ usr/bin places some execution files, such as the sh file, which is the executable file.

It's actually similar to turning datagrip into a command like ls,cat. So when you enter the datagrip command, the execution process goes like this: first go to the path of the environment variable (through the command $PATH) to see if there is an executable file for datagrip, and if not, continue to look in the folder of the path, which we have here in the / usr/bin folder.

The above is all the contents of the article "how to start applications quickly with centos7". Thank you for reading! Hope to share the content to help you, more related 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report