en Ubuntu almost all the software he owns has GPL licenseThat is, you can purchase a license for the program you want without having to pay anything as with Microsoft Windows. But as in almost everything, you need a start with which to create these programs and even so Ubuntu stands out on the way, good to be honest highlights the free software. Today I intend to bring you a little guide to having one installed IDE in our team for those who wish learn to program, For those who already know, this guide will be very obvious to them.
Table of Contents
What is an IDE?
a IDE is a software package that brings together various software-oriented tools. As a general rule, everything IDE it owns an editor with whom to create the source code, a compiler, to compile this code and an interpreter who can interpret this code, although nowadays almost all the IDE they own many more tools or extensions by means of complements or connectors, Such as database connections (something essential), an interface WYSIWYG o the ability to create software with multiple programming languages and the list of possibilities continues and grows. Currently two stand out IDE s they have free license, GPL and they are multiplatform, So not only can we install it on Ubuntu but we can also install it on MacOS or Windows and even on a USB. they are Netbeans and Eclipse, Although we can also find some for other platforms that stand out and are free as is the case with visual Studio. Today I wanted to teach you how to install Netbeans in our Ubuntu, but the version we want.
Preparing our Ubuntu for Netbeans
Netbeans is in the Ubuntu repositories, so if we want to have a very stable version, almost obsolete in our system and easily, we just have to go to the Ubuntu Software Center, search for the word Netbeans and press the button «install«. If on the other hand we want to install a newer and customized version while also very stable, we can do it manually, for this, we first open the terminal and install the Java packages that need the IDE. While for the other languages, Netbeans carries the necessary packages, for the case of Java it is necessary to have the JDK and the Java Virtual Machine because Netbeans can work with this language. So we wrote in the terminal:
sudo apt-get install IcedTea-7-plugin openjdk-7-jre
These packages correspond to the free equivalences of Java, but if we want to have the proprietary software of Java installed, we will the Oracle version, We must do the following:
its add-apt-repository ppa: webupd8team / java sudo apt-get update sudo apt-get install oracle-java7-installer
With all this we will have installed the necessary version of Java, If we doubt we will only have to write in the terminal the following command
java -version
And it will appear to us what version we have, otherwise we have to repeat the previous steps. Once we have Java we go to the Netbeans website, There we go to downloads and the following screen will appear
As you can see there are 5 versions to download in each of the major versions of Netbeans. That is, each version has 5 different packages. the Java SE is the package of Basic Java, So it is aimed at the most expert programmers in Java. the Java EE is the version for novices in Java who need to have more packages when programming. C / C ++ is the package of Netbeans which only programs a C / C ++, HTML5 & PHP is the package of Netbeans which only programs a Html and Php and the All package is the full version of Netbeans with support for all previous programming languages. Once we choose the version (top) and package, we download it and download a file that ends in sh. Now we open the terminal again and we are where this is the downloaded file that is usually ~: / Downloads and we write
its chmod + x package_that_we_downloaded.sh
sh package_that_we_downloaded.sh
After what the installer will start we will have to follow the commands you ask us, but it will be like the typical installer «next, next«. At the end we will have ours ready IDE Netbeans to be able to program and experiment with it. If you are already a master programmer, I imagine you already know what to do, if not, there are currently many MOOCs’ if courses on Youtube that teach you how to program and for a modest price: 0 euros, take advantage.
More Information – The Ubuntu Mobile SDK: How to Create an Application, Sublim Text 2, a Great Tool for Ubuntu
Source and Image – Netbeans Official Website