Menu

Install Ember and Phantom.js on Ubuntu Linux 15.04

Introduction to Ember and phantomjs

Ember.js is an open source Java Script platform and is used to generate modern day single page applications. Although, originally designed to develop interactive web applications, but it can also be used to program desktop or mobile apps. A good number of internet sites and tools are being developed using this framework, noteworthy of them is Apple’s iTunes Music. It’s speedy, developer friendly and caters the modern programming needs.

Phantomjs is a headless web browser and provides similar browsing environment as Safari and Google Chrome. It provides a Java Script API which makes running browser-based unit tests a piece of cake. It was released in 2011 and this API is widely being used to perform browser related operations like capturing screenshots, opening specified web pages, injecting codes to web pages etc.

Installing Install Ember.js and phantomjs on ubuntu

Prior to installing Ember and Phantom.js, we should have following packages installed on our Ubuntu system.

Curl

Nodejs

Npm

Launch your system terminal and run following command to install curl.

sudo apt-get install curl

Now install node.js by running the following command.

sudo apt-get install nodejs

Install NPM (Node Package Manager) by running the following command:

sudo apt-get install npm

Alright, our Ubuntu system is all set to install “Ember.js” and phantom. Run following node command to install “Ember.js”.

sudo npm install -g ember-cli

It should take a while to download all required stuff and perform configuration for you. Here is how a successful install process should look like.

Now run following node command to install phantom.js

sudo npm install -g phantomjs

Sit tight, it should take couple of minutes to complete the installation process.

Congratulations, our Ubuntu system is ready to develop modern day web apps. Verify the Ember version by running the following command:

ember --version

Conclusion

Both tools are considered to be aligned with modern web technologies and are secure. The popularity of these technologies is on the rise, it is estimated that Ember.js has over average 25k download per month.