![]() But the release cycle of npm is not n match with that of Nde.js. Some of you may know that Node.js comes with a specific version of npm version. If Node.js is installed correctly, you will get to see the current version of Node.js installed. You can do so quickly by using the command $ node –v You have to ensure that Node.js is installed perfectly on your machine. Installing Node.js is not the last step as you might think. Wait for the command to run successfully and you have just installed Node.js on your Debian-based Distro. The command for that is $ sudo apt-get install -y nodejs. It is time to install Node.js with the apt-get command now after APT repository is set up. If you want to know how this is achieved, you can check it out on GitHub. The code achieves both the steps of adding APT repository and adding PGP key to the APT keychain. So, to set up the correct APT repository for Node.js which is updated and well maintained and to update the APT keychain with PGP key, you need to run the following command. It goes back to a Node.js 4 release line which is severely outdated. By outdated, it is meant that some of the major security updates are missing. This is the must step as default repository is outdated. Moreover, you have to add the APT repository PGP key to the APT keychain. You need to have the maintained ATP repository for Debian-based Node.js. It is important to set up the right APT repository in order to install Node.js. However, if your environment has the supported architecture of armhf, then you cannot have Debian 7. Your environment must have the support of Debian distribution among Debian 7 (Wheezy), Debian 8 / Debian Stable (Jessie), Debian Testing (Stretch), or Debian Unstable (Sid). Your environment is the supported architecture of either i386(32-bit), amd64, or armhf. The environment is the machine you are working on. We have to make sure that the environment you are running on meets the basic requirements that are needed to install Node.js. ![]() The second command is for installing Node.js from the Debian-based distribution repository. The first command is for adding the NodeSource APT repository to Debian-based distributions repository. If you want to opt for quick installation of Node.js on Debian, you have to run the following two commands. Getting Node.js up and running on Debian-based Distro is the first step before you move to building and deploying Node.js based tools, applications, and services. In fact, these are the versions that are supported by Node.js currently. There are different versions of Debian available, and this guide is compatible with Debian 7, Debian 8, Debian Testing and Debian Unstable. Installing Node.js on Debian-based Distro – Today, we will see how to install Node.js on your Debian based Distro OS. It is lightweight, lightning fast with high performance and it is easy to modify. JavaScript is everywhere, and Node.js is a revolution. Previously, JavaScript was only used for the client side development. It is comparable to Ruby on Rails, ASP.Net and likewise. It is the only contender for creating JavaScript-based server-side web applications. This was not conveniently possible using JavaScript previously. On the other hand, Node.js is extremely popular because it helps in establishing two-way real-time connections between the server and the client side. Programmers and developers use Distro become of the availability of various packages to work on along with various features making it developer-friendly. Distro refers to Linux distribution made from Debian, and it is a full-fledged operating system. Debian is a pure OS with over 51,000 packages that are compiled in a software bundle for easy installation. There are various Linux operating systems built with Debian in the background. In fact, it is more like an architecture where all the basic programs and utilities are available. ![]() Debian is called the universal operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |