Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • AWS EC2
  • AWS S3
  • AWS VPC
  • AWS Load Balancing
  • AWS Autoscaling
  • AWS EKS
  • AWS ECS
  • AWS Fargate
  • Microsoft Azure Tutorial
  • Google Cloud Platform Tutorial
  • Docker tutorials
  • Kubernetes Tutorials
  • GIT Tutorials
  • Docker cheat sheet
  • Kubernetes cheat sheet
  • Ansible Interview Questions
  • Docker Interview Questions
  • AWS Interview Questions
Open In App
Next Article:
How to Install Docker on Amazon Linux
Next article icon

How To YUM Install Node.JS On Amazon Linux ?

Last Updated : 13 Feb, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

yum stands for Yellowdog Updater Modified is a package manager utility for Red Hat-compatible Linux operating systems. just like 'apt' used for Ubuntu distribution yum is used to install, update, and remove software packages. yum simplifies the process of installing software packages and ensures that all necessary packages are installed correctly.

What is Node JS?

Node JS is a javascript-based open-source runtime environment that allows developers to run code on the front end as well as on backend development. The main advantage of node js is that developers can use javascript as their language for client-side & server-side which ultimately simplifies the development of an application. Node JS is extensively used in building real-time applications like chat applications, APIs, and many more.

Step-By-Step Guide to yum install Node.JS on Amazon Linux

Step 1: Log in to your AWS Management Console. To know how to create an Amazon free tier account refer to Amazon Web Services (AWS) – Free Tier Account Set up.

Step 2: Launch one Amazon Linux Instance.

Step 3: After Launching your EC2 instance wait for it to pass 2/2 status checks and then connect to your ec2 instance

Note: We have used putty to connect to our instance you can use other alternatives as well like MobaXterm, KiTTY, Solar-PuTTY, etc.

putty

Step 4: Enter your username to login to ec2 instance. Default username for Amazon Linux is ec2-user.

e2-login

Step 5: Gain Root access using sudo -s to avoid any errors
root

Step 6: use yum install nodejs command to install on amazon linux after entering on the terminal it will show that all the necessary information like what are the dependencies yum going to install etc.

nodejs

Step 7: Type Y in Is this ok [y/N] message to continue with the installation after typing yum will install the node js in few seconds.if all goes correct it will show Complete! message like in below image which means that node js is correctly installed on your amazon linux ec2 instance.

install-1

install-2

Step 8: In the last step, we Verify that node js installed all or not by using node command. you can use node -v command as well which gives you installed version of node js

verify-node

Conclusion

In this article, we have gone through step by step explanation of how we can install the node js on amazon linux using yum package manager.


Next Article
How to Install Docker on Amazon Linux

S

sumitbabhulkar29
Improve
Article Tags :
  • Amazon Web Services
  • AWS

Similar Reads

  • How to Install Node.js on Linux
    Installing Node.js on a Linux-based operating system can vary slightly depending on your distribution. This guide will walk you through various methods to install Node.js and npm (Node Package Manager) on Linux, whether using Ubuntu, Debian, or other distributions. PrerequisitesA Linux System: such
    6 min read
  • How To Install Nginx On Amazon linux ?
    Nginx, at first conveyed in 2004 by Igor Sysoev, is a decent open-source web server, switch go-between, load balancer, and HTTP store. With its occasion-driven planning, Nginx productively handles endless simultaneous affiliations, making it ideal for high-traffic districts and applications.It keeps
    6 min read
  • How to Install Docker on Amazon Linux
    Docker is a tool which helps to automate the deployment of applications in containers to make sure that particular applications can work efficiently in different environments without any errors.It helps developers to build, ship, and run application faster and more reliable way. In this article, we
    3 min read
  • How to Install Node.js and npm on Ubuntu?
    If you're developing JavaScript applications on Ubuntu, knowing how to install Node.js on Ubuntu is essential. Node.js is a powerful runtime environment that enables server-side scripting, while npm, the Node Package Manager, allows you to manage your project's dependencies easily. This guide will w
    7 min read
  • How to Install Node.js on a Webserver ?
    Node.js is a powerful, lightweight, and efficient runtime for executing JavaScript code on the server side. It is particularly well-suited for building scalable network applications. Installing Node.js on a web server enables developers to run server-side JavaScript, host web applications, and serve
    2 min read
  • How to Install Tor on Linux?
    Tor browser is a web browser that is designed and developed to protect your privacy online and is mostly famous among normal people as a key for safely accessing hidden or restricted online resources, including those on the dark web. We will see what Tor is and how to install it on your Linux machin
    5 min read
  • How to Install Angularjs on Linux?
    AngularJS as the name suggests is a JavaScript-based framework. Being more precise AngurlarJS is an open-source front-end framework for the web. It is backed and maintained by Google. It has been in the market for a long time now, its initial release dated back to Oct 2010, and its last stable relea
    4 min read
  • How to Download and Install Node.js and NPM
    NodeJS and NPM (Node Package Manager) are essential tools for modern web development. NodeJS is the runtime environment for JavaScript that allows you to run JavaScript outside the browser, while NPM is the package manager that helps manage libraries and code packages in your projects. To run a Node
    3 min read
  • How to Install NPM FS in Node JS ?
    The file system module allows you to work with the file system on your computer NodeJS includes the fs module, to communicate with file systems. It provides functionality for interacting with the file system, such as reading from and writing to files, creating and removing directories, etc. The File
    4 min read
  • How to Install NodeJS on MacOS
    Node.js is a popular JavaScript runtime used for building server-side applications. It’s cross-platform and works seamlessly on macOS, Windows, and Linux systems. In this article, we'll guide you through the process of installing Node.js on your macOS system. What is Node.jsNode.js is an open-source
    7 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences