Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5 Essential Tools for Linux Development

#1
5 Essential Tools for Linux Development

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/5-essential-tools-for-linux-development.png" width="1361" height="644" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/5-essential-tools-for-linux-development.png" class="ff-og-image-inserted" /></div>
<p>Linux has become a mainstay for many sectors of work, play, and personal life. We depend upon it. With Linux, technology is expanding and evolving faster than anyone could have imagined. That means Linux development is also happening at an exponential rate. Because of this, more and more developers will be hopping on board the open source and Linux dev train in the immediate, near, and far-off future. For that, people will need tools. Fortunately, there are a ton of dev tools available for Linux; so many, in fact, that it can be a bit intimidating to figure out precisely what you need (especially if you’re coming from another platform).</p>
<p>To make that easier, I thought I’d help narrow down the selection a bit for you. But instead of saying you should use Tool X and Tool Y, I’m going to narrow it down to five categories and then offer up an example for each. Just remember, for most categories, there are several available options. And, with that said, let’s get started.</p>
<h3>Containers</h3>
<p>Let’s face it, in this day and age you need to be working with containers. Not only are they incredibly easy to deploy, they make for great development environments. If you regularly develop for a specific platform, why not do so by creating a container image that includes all of the tools you need to make the process quick and easy. With that image available, you can then develop and roll out numerous instances of whatever software or service you need. </p>
<p>Using containers for development couldn’t be easier than it is with <a href="https://www.docker.com/">Docker</a>. The advantages of using containers (and Docker) are:</p>
<ul>
<li>
<p>Consistent development environment.</p>
</li>
<li>
<p>You can trust it will “just work” upon deployment.</p>
</li>
<li>
<p>Makes it easy to build across platforms.</p>
</li>
<li>
<p>Docker images available for all types of development environments and languages.</p>
</li>
<li>
<p>Deploying single containers or container clusters is simple.</p>
</li>
</ul>
<p>Thanks to <a href="https://hub.docker.com/">Docker Hub</a>, you’ll find images for nearly any platform, development environment, server, service… just about anything you need. Using images from Docker Hub means you can skip over the creation of the development environment and go straight to work on developing your app, server, API, or service.</p>
<p>Docker is easily installable of most every Linux platform. For example: To install Docker on Ubuntu, you only have to open a terminal window and issue the command:</p>
<pre>
sudo apt-get install docker.io</pre>
<p>With Docker installed, you’re ready to start pulling down specific images, developing, and deploying (Figure 1).</p>
<h3>Version control system</h3>
<p>If you’re working on a large project or with a team on a project, you’re going to need a version control system. Why? Because you need to keep track of your code, where your code is, and have an easy means of making commits and merging code from others. Without such a tool, your projects would be nearly impossible to manage. For Linux users, you cannot beat the ease of use and widespread deployment of <a href="https://git-scm.com/">Git</a> and <a href="https://github.com/">GitHub</a>. If you’re new to their worlds, Git is the version control system that you install on your local machine and GitHub is the remote repository you use to upload (and then manage) your projects. Git can be installed on most Linux distributions. For example, on a Debian-based system, the install is as simple as:</p>
<pre>
sudo apt-get install git</pre>
<p>Once installed, you are ready to start your journey with version control (Figure 2).</p>
<p>Github requires you to create an account. You can use it for free for non-commercial projects, or you can pay for commercial project housing (for more information check out the price matrix <a href="https://github.com/pricing">here</a>).</p>
<h3>Text editor</h3>
<p>Let’s face it, developing on Linux would be a bit of a challenge without a text editor. Of course what a text editor is varies, depending upon who you ask. One person might say vim, emacs, or nano, whereas another might go full-on GUI with their editor. But since we’re talking development, we need a tool that can meet the needs of the modern day developer. And before I mention a couple of text editors, I will say this: Yes, I know that vim is a serious workhorse for serious developers and, if you know it well vim will meet and exceed all of your needs. However, getting up to speed enough that it won’t be in your way, can be a bit of a hurdle for some developers (especially those new to Linux). Considering my goal is to always help win over new users (and not just preach to an already devout choir), I’m taking the GUI route here.</p>
<p>As far as text editors are concerned, you cannot go wrong with the likes of <a href="http://bluefish.openoffice.nl/index.html">Bluefish</a>. Bluefish can be found in most standard repositories and features project support, multi-threaded support for remote files, search and replace, open files recursively, snippets sidebar, integrates with make, lint, weblint, xmllint, unlimited undo/redo, in-line spell checker, auto-recovery, full screen editing, syntax highlighting (Figure 3), support for numerous languages, and much more. </p>
<h3>IDE</h3>
<p>Integrated Development Environment (IDE) is a piece of software that includes a comprehensive set of tools that enable a one-stop-shop environment for developing. IDEs not only enable you to code your software, but document and build them as well. There are a number of IDEs for Linux, but one in particular is not only included in the standard repositories it is also very user-friendly and powerful. That tool in question is <a href="https://www.geany.org/">Geany</a>. Geany features syntax highlighting, code folding, symbol name auto-completion, construct completion/snippets, auto-closing of XML and HTML tags, call tips, many supported filetypes, symbol lists, code navigation, build system to compile and execute your code, simple project management, and a built-in plugin system. </p>
<p>Geany can be easily installed on your system. For example, on a Debian-based distribution, issue the command:</p>
<pre>
sudo apt-get install geany</pre>
<p>Once installed, you’re ready to start using this very powerful tool that includes a user-friendly interface (Figure 4) that has next to no learning curve.</p>
<h3>diff tool</h3>
<p>There will be times when you have to compare two files to find where they differ. This could be two different copies of what was the same file (only one compiles and the other doesn’t). When that happens, you don’t want to have to do that manually. Instead, you want to employ the power of tool like <a href="http://meldmerge.org/">Meld</a>. Meld is a visual diff and merge tool targeted at developers. With Meld you can make short shrift out of discovering the differences between two files. Although you can use a command line diff tool, when efficiency is the name of the game, you can’t beat Meld.</p>
<p>Meld allows you to open a comparison between to files and it will highlight the differences between each. Meld also allows you to merge comparisons either from the right or the left (as the files are opened side by side – Figure 5).</p>
<p>Meld can be installed from most standard repositories. On a Debian-based system, the installation command is:</p>
<pre>
sudo apt-get install meld</pre>
<h3>Working with efficiency</h3>
<p>These five tools not only enable you to get your work done, they help to make it quite a bit more efficient. Although there are a ton of developer tools available for Linux, you’re going to want to make sure you have one for each of the above categories (maybe even starting with the suggestions I’ve made). </p>
<p><em>Learn more about Linux through the free <a href="https://training.linuxfoundation.org/linux-courses/system-administration-training/introduction-to-linux">“Introduction to Linux” </a>course from The Linux Foundation and edX.</em></p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016