How to install Lex & Yacc in Linux Mint

Many of my friends had problem installing Linux O.S ,so here's a short tutorial on installing
a)Linux O.S 
b)Lex and Yacc.

To start with we need these:
a>  CD/DVD or an ISO image of your favorite distro
b>  VirtualBox or Vmware
c>  Internet connection

 Step 1: Install VirtualBox .Follow this video
Step 2:After successful installation of the O.S ,login as the root. Step 3:Open the terminal(shortcut: ctrl+alt+T) Step 4:Type these commands one after the other (These commands work only in Ubuntu/Linux Mint,guys who are using fedora look at the end of the post ) 1> $sudo apt-get install flex (installs lex) 2> $sudo apt-get install bison (installs yacc) You will be asked to type your password . On giving the correct password ,you will be shown something like "do you want to install these packages?... It will need XYZ bytes of additional memory....." , press "y". Hit enter. Step 5: That's it.....we are done. If you have any problems in installation,leave me a message in the comment section below,i will replay ASAP. Related articles : How to install lex and yacc in fedora(http://sumitop.wordpress.com/2010/03/10/how-to-install-lex-and-yacc-in-fedora/)

Best Linux Distros

Ubuntu/Kubuntu/Xubuntu/Lubuntu/etc

One of the most popular general-use distributions with one of the largest selections of software.

Based on: Debian

Download | Full review

Fedora

The most cutting-edge general-use distribution on a 6-month release cycle. It’s cutting edge in two ways: new versions of software, and it uses new software before other distributions use them.

Based on: Itself; Originated from: Red Hat

Download | Full review

openSUSE

A stable, general-use distribution for everyone that excels in enterprise environments. openSUSE includes a few different defaults such as it’s package manager and the KDE desktop environment

Based on: Itself; Originated from: Slackware

Download | Full review

Debian

One of the most stable distributions in existence, with a large selection of software. It is often used as the base of many other distributions.

Based on: Itself

Download

Linux Mint

A highly-customized distribution that includes many features out-of-the-box that other distributions do not, including codecs. Linux Mint has such a large following that it’s starting to look toward going in its own direction.

Based on: Ubuntu, Debian

Download | Full review

Mandriva Linux

Back in the day, one of the most popular distributions when it was known as “Mandrake Linux”. A great general-use distribution which uses custom themes and system tools.

Originated from: Red Hat

Download | Full review

PCLinuxOS

Another general-use distribution that combines technologies from different distributions to present an overall great experience.

Originated from: Mandrake Linux

Download

Linpus Linux

A general-use distribution that has specialized themes and apps for an easier overall user experience.

Originated from: Red Hat

Download

PinGuy OS

A general-use distribution that comes with a number of customizations to make an easier out-of-the-box experience.

Based on: Ubuntu

Download | Full review

Slackware

One of the oldest living distributions, Slackware allows plenty of configuration and is a great general-use distribution. It requires some knowledge of Linux and isn’t recommended for new users.

Based on: Itself; Originiated from: Itself

Download

Gentoo

A general-purpose distribution that is centered around machine-specific optimization. Until recently, all software was compiled on the system rather than installing binaries. Not recommended for new users.

Based on: Itself

Download

 

Minimal

Arch Linux

A minimal rolling-release general-use distribution where you install only what you want or need. It’s highly cutting-edge and there are no default installations. Most customizations are done manually in text files.

Based on: Itself; Originated from: Itself

Download

Puppy Linux

A very small distribution that uses an extremely low amount of resources. Great for older systems or those that need every drop of power for their tasks.

Based on: Itself; Originated from: Itself; Compatible with: Slackware, Ubuntu, others with Woof tool

Download | Full review

Bodhi Linux

A great lightweight alternative for systems that can’t run other desktop environments. Still very functional and relatively elegant.

Based on: Ubuntu

Download | Full review

 

Commercial

Red Hat Enterprise Linux

A commercial solution from Red Hat for a great enterprise system, both desktop and server. Costs of the distribution come from support packages.

Based on: Fedora; Originated from: Itself

Download

SUSE Enterprise Linux

One of two preferred enterprise systems for most Linux administrators. SUSE includes plenty of tools to make the admin’s job a lot easier.

Based on: openSUSE

Download

 

Enterprise

CentOS

A great, free clone of Red Hat Enterprise Linux for a pure, stable enterprise system.

Based on: Red Hat Enterprise Linux

Download

 

Specialised Purpose

Joli OS

A distribution aimed for use on netbooks and working with different cloud services. Who needs ChromeOS?

Based on: Ubuntu

Download | Full review

ArtistX

A specialized distribution that includes virtually every single multimedia application for Linux that you can think of. Great for work on images, sounds, and videos.

Based on: Ubuntu

Download

GParted

A distribution made especially for partitioning hard drives. The distribution comes as a LiveCD only and contains only the GParted partitioning software and a console.

Based on: Debian

Download | Full review

Parted Magic

A distribution aimed specifically at partitioning your hard drives, but includes plenty of other features that make it more of a rescue disc than a lone partitioning tool.

Download

Backtrack Linux

A fantastic distribution that is specialized for network penetration testing and security auditing. It includes all kinds of software and needed patches to do the job.

Based on: Ubuntu; Originated from: Whoppix

Download

 

For Mac & Windows Users

PearOS

A very beautiful general-use distribution that mimics the look, feel, and functionality of Apple’s Mac OS X.

Based on: Ubuntu, Debian (soon)

Download

ZorinOS

A general-use distribution that mimics the look, feel, and functionality of Windows. This is geared for those who prefer the Windows interface or need an easier way to transition from Windows to Linux.

Based on: Ubuntu

Download | Full review

 

 

Disclaimer: All distributions listed were thoroughly reviewed. MakeUseOf is not responsible for any damage and/or data loss
that might result from use of any of the above mentioned plugins.

 

Source : http://www.makeuseof.com/pages/best-linux-distributions

Normally in India majority of schools and colleges have Turbo C/C++ as the default IDE. Most students are younger than the Turbo C/C++ compiler they use at colleges. I checked our college’s Turbo C++ and it was made in 1993. Back then George Bush Sr. was the president of the USA and Windows 95 was still 2 yrs away. I posted solution how to run Turbo C in Vista before and now here is the tutorial to run Turbo C in Linux.

(1) Open terminal and type :

sudo aptitude install dosbox

APT will now download and install DOSBOX. You can also use Synaptic as usual. Download Turbo C/C++ here.

(2) Unpack the achieve.

(3) Keep the installation files inside a folder of your home directory named “setup”.

(4) Open up dosbox, its under Applications > GamesType in :

mount c ~
c:
cd setup
install.exe

This will start the setup of Turbo C.

 

(5) After setup is finished , do this:

c:
cd TC\bin
tc.exe


(6) Now everytime you want to run Turbo C++ start DOSBOX and then type in the following:

mount C ~
c:
cd TC\bin
tc.exe

To maximise full screen hit ‘Alt+Enter’ and to go back to medium size again hit ‘Alt+Enter’. DOSBOX has a habit of capturing the mouse pointer, once you click within DOSBOX you cannot move it away from the winow. To go back to Ubuntu hit ‘Alt+Enter’ twice. ‘Alt+X’ will close Turbo C. Hope I have helped 🙂

 

(courtesy:www.techquark.com)