Loading
submit to reddit
June 18, 2013, 02:50:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome!
 
   Forum Home   Help Search Forum Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Installing Linux and a compiler  (Read 920 times)
blessman11
Jr. Member
**
Posts: 61


« on: May 18, 2011, 04:53:02 PM »

Is it possible for you guys to do a tutorial on installing Linux OS and a compiler too?

I was advised by my lecturer to learn to make a program run on multiple platforms since it was an important skill to learn. Recently I tried to follow a tutorial on the Linux OS installation but it didn't work, I got so frustrated and had to put it down because coursework was starting to take an increasing priority. But can any of you guys recommend any good installation tutorials in general?
Logged
Jenna Hall
Administrator
Full Member
*****
Posts: 152



WWW
« Reply #1 on: May 18, 2011, 08:36:37 PM »

Your school should have a computer lab, and usually they have a variety of OS machines available there to you, so I wouldn't think you'd have to install Linux just for this class. I am not aware at the moment of any tutorials for Linux installation, but then I haven't had to look lately.

After you find a Linux/Unix machine, you will already have a compiler there -- it's installed by default. I believe it's called gcc and you can get info on how to use it by looking at the man pages, available from the command line or online as well.

Good luck in school!
Logged
Damien24
Newbie
*
Posts: 19


« Reply #2 on: May 23, 2011, 04:25:16 PM »

What I did was download Linux online. I downloaded Linux Mint 10 (code name Julia) but there are other Linux OSes like Ubuntu. Here's a link to the Mint download.

http://www.linuxmint.com/download.php

Depending on your computer's specs you'll need to download either the 32-bit version or 64-bit version, and you'll have to decide on a desktop. Gnome and KDE are pretty popular (I personally like KDE) but you can do research on different desktops.

Once you download Julia (if you decide to go with mint, a little research might help with a decision) you'll need to burn the OS to a blank DVD. After burning go ahead and put your live DVD into your computer and restart. A Linux demo should boot up with an installation icon on the desktop. It's going to ask you if you want to replace windows (assuming that's your current OS) or dual boot. If you decide to dual boot Linux you're going to need to make 2 partitions; one for Linux and a swap partition.

If you're going to dual boot Linux with Windows then you're actually going to have to free some of your hard disk space before booting your live DVD. You can do this by going to disk management under your computer management and right clicking your C: drive partition and selecting "shrink volume". Your computer will tell you how much space it's capable of giving up. After that you can use the freed space for your Linux and swap partitions. You'll need about 2GB of memory for your swap partition and I'd just use the rest for Linux.

I'm new to Linux myself but this is what I did and I've been happy with the results. Smiley

As for an IDE. Qt creator is what I'm using, it's cross platform and if you like MFC you'll probably like Qt (imo). It takes a little bit of getting used to though. But a little research will help you pick an IDE. Note that on Linux installing software is different than on Windows; in Linux you have to (actually I think there are other ways but idk them) use the Linux terminal to install software and that means you'll have to learn terminal commands (which is similar to using the Windows command prompt).

I hope this helps, if you haven't figured this out already Smiley
Good luck and enjoy your new OS. Linux is awesome! imo.  
« Last Edit: May 24, 2011, 09:13:09 PM by Damien24 » Logged
ubuntucuber
Newbie
*
Posts: 24


design made on computer


« Reply #3 on: June 07, 2011, 09:42:18 PM »

Personally, I would use ubuntu. But really, any distrobution of linux works. for an editor/IDE, I would suggest either Geany or MonoDevelop. You would also need to install g++, a linux c++ compiler. Geany has better syntax highlighting, although MonoDevelop uses Microsoft's Solution files.
Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!