Raj Agrawal

Learnings from software and technology

  • Home
  • Technology
  • Software
  • Work
  • Play

Connect

  • GitHub
  • LinkedIn
  • YouTube

Powered by Genesis

You are here: Home / Archives for Raj Agrawal

Manually Install Software/ Apps On Any Linux Distro

January 26, 2012 by Raj Agrawal 1 Comment

Most of windows users who switch to Linux are befuddled when they download a software and end up with a file with extensions like “tar.gz” or “tar.bz2” contrary to straight away setups, as seen on Windows OS “.exe” or “.msi”.

Windows OS users are accustomed to installing software by downloading a setup package, and following through the installation wizard and complete the installation like a PRO. On Linux the story is quite different, you may get a handful of apps which are available as setup files, but many apps are archives of source files. The process of installing software from these source files may seem arduous for Linux newbies but once you understand the procedure you will find it’s really easy.

Requirements

Build Tools

These are the tools required for compiling the source files. The method to install these tools depend on your distribution.

The packages required on Ubuntu/Linux Mint can be installed be executing the following command in the terminal,

sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2

On Fedora, execute the following,

sudo yum -y install gcc ncurses-devel

The command begins with a “sudo” because root access is required for installing packages, if you do not have access to the root account then you cannot install these.

The procedure

Once you’ve installed build tools you are ready to compile and install the software.

Steps involved:

  1. Extract
  2. Configure
  3. Compile
  4. Install
  5. Clean

Step 1: Extract

First we need to extract the source files from the archive. Execute the following commands to extract the source:

tar -xvjf ‘archive name’ (for .tar.bz2 files)

tar -xvzf ‘archive name’ (for .tar.gz files)

Example,

tar -xvzf bison-2.3.tar.gz

extract
Screen 1

After extracting the sources navigate into the source directory, there you will find README file, you may want to read through as it contains details about the ‘to be installed’ software, the license, and instructions for installation.

Step 2: Configure

In this step we need to configure the software. To configure you just need to run the configure script using,

./configure

In this step the script checks whether your system is ready for compiling the sources. If you did not install the build tools you may get an error message during the check.

Once the script has finished it’s execution without any errors it will generate a “Makefile” in the source directory.

The Makefile is required as it is used by the “make” utility to compile the sources.

conf1
Screen 2

Step 3: Compiling

After the “configure” script has been successfully executed and a “Makefile” is generated, you can start compiling the software by executing the following command

make -j’number of cpu cores+1′

Example,

make -j3 (without spaces in between. Enter 3, if your processor is Intel core2duo)

compile
Screen 3

Step 4: Installation

Once the compilation is finished and there are no errors, your software is ready to be installed.

To install execute the following command,

sudo make install

makeinstall
Screen 4

Step 5: Cleanup

During the compilation process many temporary files are created that you no longer require. You can delete those files to free up disk space by executing,

make clean

clean
Screen 5

You may want to keep the Makefile though, as it will be required if you wish to uninstall the software.

To uninstall the software execute,

sudo make uninstall

uninst
Screen 6

Filed Under: Technology Tagged With: linux, ubuntu

Razer Naga Hex Gaming Mouse – Demo, Specs and Price

January 22, 2012 by Raj Agrawal Leave a Comment

Welcome gamers and Razer fans! We have in our greedy sights, the lovely Razer Naga Hex MOBA and action-RPG gaming mouse! 

razer_naga_hex
Razer Naga Hex

The latest addition to Razer’s Naga series, built for MMORPG players the Hex comes in after the popular Razer Naga Molten Edition which featured as many as 12 user programmable buttons on the thumb side of the mouse. The Hex has 6 buttons around the thumb rest, each button placed in a hexagonal fashion around a central nub where the thumb can rest when not frantically pushing away those buttons.

A major improvement of the Hex over the previous models will be the mechanical button feature which dramatically improves usability. One need not apply full pressure on the buttons to register the press, mechanical buttons only require a little amount of push to actuate. Razer mentions that they have been specially optimized for MMORPGs.

Features

  • 6 MOBA/action-RPG optimized mechanical thumb buttons
  • 5600dpi Razer Precision 3.5G Laser Sensor
  • 11 total programmable Hyperesponse buttons

Demo from CES 2012

The previous naga model has 12 buttons on the side, which might be too cumbersome for a gamer to accurately use when in the midst of a game session. Therefore, having just the right number of keys in a comfortable layout seems nicer than having too many keys in a grid layout making you press the wrong keys. When you need to use a button, you only have to move the thumb in one of 6 directions and the central nub will also give it guidance, increasing accuracy.

Razer has included High performance buttons up to 250 clicks per minute and the buttons have been designed to last upto 10 millions clicks. And to top it with a cherry, the Hex will be synced to a cloud server through Razer Synapse 2.0 for firmware upgrades and to store individual user settings. Razer will also be expanding to storing in-game UI settings for MOBA and RPG-players.

Availability – Yes

Price – ₹ 5,000 or $ 79.99

Filed Under: Consumer Technology Tagged With: razer

Can Video Game Storytelling Ever Match A Good Movie?

January 19, 2012 by Raj Agrawal Leave a Comment

Games are not often considered the best medium to tell a good story. Whenever you, irrespective of whether you’re a gamer or not, think of a good story, it usually stems from a favorite book or movie. It is often the case that when we play games, we hardly pay attention to the world, the history of the game world, and how you fit in into all of it. Stories stem from the mind’s ability to create a situation where there is a prologue, an epilogue, a start, an end, and everything in between. When you think of a game, you think about graphics, sound, action, interaction and then the story, which sadly for the majority of games out there is an afterthought.

A good story doesn’t necessarily ensure a good game, but it does serve as a time well spent when other mechanics may fail. Not many games have been able to mix story and gameplay into a good gaming experience, but those that have, have become masterpieces. And that is what separates great games from masterpieces most of the time – the story. Below is a list of games I have played which have blended a good gaming experience with a good story. Most of these games will be known to the majority, for obvious reasons.


Bioshock

bioshock
Bioshock

This is the first name that came to my mind when i thought of writing this article. Bioshock is one of the few games which has its entire game mechanics built around the story. The big daddies and their relationships with the little sisters, the underwater dystopia, the civil war over the fight of adam, all talk of a fantastic idea gone tragically wrong. And this is what brings out feelings of sadness as you explore the world, feelings which are seldom experienced while playing games.

Metal Gear Solid

metalgear-solid
Metalgear Solid

Okay, anyone who has ever owned a Playstation console will agree with this one. The metal gear series is one of the few series of games which has blended fantasy and tactical action with a gritty and gripping story, and blended them so well. A testimony to the greatness of this series are the cut-scenes, some of which can last for an hour. But you don’t see many people complaining about them, do you?

Half life

half life
Half Life

Out of all the game characters I love, the one I pity the most has to be Gordon Freeman. The guy almost brought the world to an end, and although it was more of an accident, he now has to shoulder the responsibility to free it of the combine. And what primary weapon does he get to meet this task? – a crowbar! And the poor bloke doesn’t ever complain about it. It’s not a very original story; alien invasion stories stopped being original a long time back. But its told very well; so well in fact that you will start empathizing with the characters and feel bad about them as the story progresses.

Portal

portal
Portal

Valve is addicted to making characters that find themselves in hopeless situations but don’t ever utter a word to show their discontent, and portal is another shining example of this. Portal has one of the most unique stories ever told in any medium of entertainment. What starts as a puzzle game will probably end up shocking you and leaving you disturbed. The second game loses its shock factor, but makes up for it for an even better story, which provides us with a better insight of the world of Aperture Science. For all the unique puzzle mechanics that this game boasts of, it’s the story that has made it the masterpiece that it is.


These are just a few examples of video games which can tell a good story. Games such as the Zelda series, GTA series, heavy rain, grim fandango, planetscape: torment, Baldurs gate, all have amazing stories which up the immersion factor by several notches. Which brings us back to the all important question – Can video game story telling match its movie counterpart? I would say not yet. Movies have had that 100-150 years head-start in which they have evolved in the way stories are told and characters are portrayed. Movies like Schindlers list, the Shawshank Redemption, the godfather all exemplify great stories with great acting, something which games haven’t achieved yet.

Videogames have characters, yes, but none of them are as fleshed out as characters in movies. We haven’t seen a videogame counterpart of heath ledger’s joker or hannibal lecter in a video game; such characters make the story come to life, and videogames just haven’t reached there yet. But they’re getting there, that’s for sure. With games like L.A. Noire and Mass Effect, which have changed the way people have conversations in video games, we’re getting to the point where conversations and cut-scenes will have as much of an effect on the player as blowing up the town of Megaton in Fallout 3 has. Stories are an important part of video games, but only when stories and characters occupy a more pivotal role in video game design, only then can we make a fair comparison. And with games like Uncharted doing exactly so, I don’t think that time is far off.

Filed Under: Gameology Tagged With: Fallout, half life, mass effect, metal gear solid, portal, uncharted, zelda

  • « Previous Page
  • 1
  • …
  • 25
  • 26
  • 27
  • 28
  • 29
  • …
  • 79
  • Next Page »