In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article analyzes "what are the five must-have tools for Linux development?" The content is detailed and easy to understand, and friends who are interested in "what are the five necessary tools for Linux development" can follow the editor's train of thought to read it slowly and deeply. I hope it will be helpful to everyone after reading. Let's follow the editor to learn more about "what are the five necessary tools for Linux development".
Linux has become a pillar in many areas such as work, entertainment and personal life, and people have become increasingly inseparable from it. With the help of Linux, the speed of technology change is beyond people's imagination, and the speed of Linux development is also growing on an exponential scale. As a result, more and more developers are constantly joining the trend of open source and learning Linux development. In this process, the right tools are essential, and fortunately, with the development of Linux, a large number of development tools suitable for Linux continue to mature. It can even be said that there are a surprising number of such tools.
In order to choose a development tool that is more suitable for you, it is necessary to narrow the range of choices. But this article doesn't require you to use a tool, just narrow it down to five tool categories, and then provide an example for each category. For most categories, however, there will be more than one option. Let's take a look.
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:
Consistent development environment
It can be run after deployment
Easy to deploy across platforms
Docker images are suitable for multiple development environments and languages
It is not cumbersome to deploy a single container or container cluster
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).
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).
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.
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).
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).
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:
Sudo apt-get install meld
Work efficiently
The five tools mentioned above not only help you get your work done, but also help you improve your efficiency. Although there are many tools for Linux developers, you'd better use a corresponding tool for each of the above categories.
On the Linux development of the five must-have tools are shared here, I hope that the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
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.