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

What are the common development tools under Linux

2025-03-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article will explain in detail what are the commonly used development tools under Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Linux is an excellent development environment, but without good development tools as a weapon, the benefits of this environment will be greatly reduced. Fortunately, there are many useful Linux and open source development tools for you to choose from, and if you are a novice, you may not know which tools are available.

Container

Looking at reality, it is already the age of containers. Containers are both extremely easy to deploy and can easily build a development environment. If you are aiming at the development of a specific platform, it is a good way to create all the tools needed for the development process into a container image, as long as you use this container image, you can quickly start a large number of instances running the required services.

One of the best examples of using containers is to use Docker. Using containers (or Docker) has these benefits:

Easy cross-platform deployment after consistent deployment of the development environment Docker image is suitable for multiple development environments and languages to deploy a single container or container cluster is not cumbersome

Through Docker Hub, you can find images that are suitable for almost any platform, any development environment, any server, any service, and can meet almost any need. Using an image in Docker Hub eliminates the need to build a development environment, and you can start developing applications, servers, API, or services directly.

Docker is easy to install on all Linux platforms, for example, you can install Docker on Ubuntu by entering the following command from the terminal:

Sudo apt-get install docker.io

Once the Docker is installed, you can pull the image from the Docker repository and begin development and deployment (see figure below).

Examples of five essential tools for Linux Development examples of five essential tools for Linux Development

Figure 1: Docker image ready for deployment

Version control tool

If you are working on a large project or are involved in team development, version control tools are essential and can be used to record code changes, submit code, and merge code. Without such tools, the project can hardly be managed properly. On Linux systems, the ease of use and popularity of Git and GitHub are unmatched by other version control tools. If you are not familiar with Git and GitHub, you can simply understand that Git is a version control system installed on your local computer, while GitHub is a remote repository for uploading and managing projects. Git can be installed on most Linux distributions. For example, on Debian-based systems, you can install it with the following simple command:

Sudo apt-get install git

After installation, you can use Git to implement version control (as shown in the following figure).

Examples of five essential tools for Linux Development examples of five essential tools for Linux Development

Figure 2:Git has been installed and can be used for many important tasks

Github asks the user to create an account. Users can use GitHub to manage non-commercial projects for free, or they can use GitHub's payment model (see the price matrix for more information).

Text editor

Without a text editor, it would be extremely difficult to develop on Linux. Of course, which is better or worse between text editors depends on the needs of developers. For text editors, some may use vim, emacs, or nano, while others may use editors with GUI. But since the focus is on development, what we need is a tool that meets the needs of developers. But first of all, I would like to say that vim is indeed a powerful tool for developers, but only if you are very familiar with vim, under this premise, vim can meet all your needs and even give you a better experience. However, for some developers, especially those new to Linux, this is not only difficult to help them meet their needs quickly, but can even be a hurdle to overcome. Considering that the goal of this article is to help newcomers to Linux (rather than just promoting their favorite editors for loyal fans of various editors), I prefer to use GUI editors.

As far as text editors are concerned, there is generally nothing wrong with choosing Bluefish. Bluefish can be installed from most software libraries, it supports project management, remote file multithreading, search and replace, recursive open files, sidebar, integrated make/lint/weblint/xmllint, unlimited undo / redo, online spell check, automatic recovery, full-screen editing, syntax highlighting (see below), multiple languages and more.

Examples of five essential tools for Linux Development examples of five essential tools for Linux Development

Figure 3: Bluefish running on Ubuntu 18.04

IDE

The integrated development environment Integrated Development Environment (IDE) is a development environment that contains a set of comprehensive tools and can achieve one-stop functions. In addition to writing code in IDE, developers can also write documentation and build software. There are also many applicable IDE on Linux, of which Geany is included in the standard software library, which is very user-friendly and powerful. Geany has syntax highlighting, code folding, automatic completion, building code snippets, automatically closing XML and HTML tags, call prompts, support for multiple file types, symbol lists, code navigation, build compilation, simple project management and built-in plug-in system and other powerful features.

Geany can also be easily installed on the system, such as Geany on a Debian-based Linux distribution by executing the following command:

Sudo apt-get install geany

Once installed, you can quickly get started with this easy-to-use and powerful IDE (see figure below).

Examples of five essential tools for Linux Development examples of five essential tools for Linux Development

Picture 4:Geany can be your IDE.

Text comparison tool

Sometimes you need to compare the contents of two files to find the differences between them, and they may be two different copies of the same file (one is compiled and the other is not). In this case, you certainly don't want to find out the difference with the naked eye, but you want to use a tool like Meld. Meld is a text comparison and merging tool for developers, and you can use Meld to find differences between two files. Although you can use the text comparison tool on the command line, Meld is undoubtedly better in terms of efficiency.

Meld can open two files to compare and highlight the differences between the files. Meld also allows users to merge differences from one of the two files (the following figure shows Meld opening both files at the same time).

Examples of five essential tools for Linux Development examples of five essential tools for Linux Development

Figure 5: comparing two files in a simple difference mode

Meld can also be installed from most standard software libraries and can be installed on Debian-based systems by executing the following command:

This is the end of sudo apt-get install meld's article on "what are the commonly used development tools under Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please 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: 270

*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

Development

Wechat

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

12
Report