Thread: Must install Linux

  1. #1
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694

    Must install Linux

    I am obliged to install Linux on my laptop (which is just an average latop, an average person (not programmer) would have).

    I have win7 (downloaded from msdnaa).

    I guess I have to go for a dual boot.

    People suggested Linux mint.

    I am good only in the terminal in Linux (I am accessing the Linux Lab of my uni, via Putty and winscp). That's it. I do not know anything else on Linux. NOTHING!

    If someone has to suggest something, please let me know. Moreover, if someone knows links in how to install and configure the dual boot, please let me know. I am looking for my "Hello world\n" in Linux!
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Do you need dual boot?

    Or can you get away with running Linux in say virtualbox or vmware?

    The advantage of a virtualised solution is that you can run both at the same time, and even set up folder sharing and networking between the two machines.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    I've never used the "Linux Mint" distribution, and with so many distributions, I think making a specific recommendation is odd, but I do have a recommendation of sorts as a "sort-a" newbie: don't go for "Arch", "Slackware", or "Ubuntu".

    Now, I see nothing wrong with those distributions. (I use "Arch", used to be "Slackware", and usually install "Ubuntu" for the "Windows" crowd.) However, I'd recommend something more "middle of the ground" difficulty wise for a programmer who is just new to an own "Linux".

    As for "dual boot", with "Windows 7" and a decently modern "Linux" distribution, "dual boot" should basically "just work", but even if not, it looks like "Mint" installs "Grub 2" so you'll be looking at editing a couple of text files.

    The only difficult, more annoying really, part of "dual boot" will come if your "Windows 7" partition lives on the entire drive of a single disc system. If so, you'll be happy to follow my advice: backup everything before trying to repartition.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I'd recommend ubuntu server, because it skips a lot of the desktop-ish packages on install, and is a lot leaner. all of the packages for the desktop version are still available, and you can install any desktop environment you choose, but it's done manually, instead of automatically. ubuntu is probably the best supported distro out there, so that's a huge advantage. if you need to know how to do something, chances are someone out there knows how.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  5. #5
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    if you need to know how to do something, chances are someone out there knows how.
    ^_^

    Well, yeah, but that's true for every operating system.

    Even "Plan 9", the best OS, has a rabid following.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  6. #6
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> I am obliged to install Linux on my laptop
    Do you really need a full OS? You could install Cygwin or MSYS and do most things that you'd probably do at school - editing, compiling etc.

    At least you don't have to download and sneaker-net twenty-something floppies, like I had to do for my first Linux box (Slackware).

    gg

  7. #7
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    Looks like mint is quite popular these days:
    DistroWatch.com: Put the fun back into computing. Use Linux, BSD.
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  8. #8
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    So, the question right know is: dual boot or vm? Salem used the term sandbox, so sandbox or vm?

    Some people said to me that the vm may not be supported my laptop. Is there anyone that can say more on that based on the facts in the image? Which is THE hot question for me at this moment. I am afraid about disk issues with dual boot very˛ much! I do not care if the vm makes Linux to run a bit slower, in comparison with the hypothesis that I did install Linux on my laptop(dual boot).
    Must install Linux-mypc-jpg

    Do you really need a full OS? You could install Cygwin or MSYS and do most things that you'd probably do at school - editing, compiling etc.
    My intention is that I can use libraries easily. There are certain cases so far, that people suggested me several libraries and avoided testing them, because the installation would require much more effort than the one in Linux (whenever the library was supported in windows too). Now, I have forgotten most of the libraries, but future has a lot to give.

    Right now, I have to use cgal. When in Switzerland, I had installed cgal in mac Os and it was just fine. The windows case seems to much and many people said to me (relevant with cgal) said to me, that it is better to use Linux (for the installation of cgal).

    In conclusion, I feel that I need Linux, in order to be flexible in using libraries (like cgal, boost, etc.).
    // I remember floppies a little. ;p
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  9. #9
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    You can do all that in Cygwin.

    Give it a try. Only need to uninstall to remove

    gg

  10. #10
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    I use Lubuntu, it's very minimalist and has most keyboard shortcuts from Windows. It's basically Ubuntu but with all the bull........ cut out and a leaner window manager and desktop environment

  11. #11
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by std10093
    Salem used the term sandbox, so sandbox or vm?
    A search of this page shows that you're the first person in this thread to use the term sandbox
    What Salem mentioned was virtualbox, which is one of the options available if you want a VM.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #12
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    Quote Originally Posted by laserlight View Post
    A search of this page shows that you're the first person in this thread to use the term sandbox
    What Salem mentioned was virtualbox, which is one of the options available if you want a VM.
    I suppose a virtual machine offers a kind of sandboxing, though.
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  13. #13
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    You lose nothing by installing virtual box and then installing Linux onto a VM. So, why not do that and see if the performance is acceptable for you and if not then fret about installing it on bare metal.

    If your hardware doesn't support virtualbox (and I don't really see any reason why it wouldn't) then just uninstall virtualbox.

  14. #14
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Thank you all for your answers. Laserlight, you should be a detective.

    I was almost ready to go for a solution with vm (or cygwin), but some people said to me that, if I want to take measurements on my projects and experiment with BIG data, etc., then I should go with dual boot (they did not really tell why). Are they correct?

    If so, is dual-boot such a risk for my pc and will decrease the life of my hard disk?
    So we are again on Salem's and Codeplug's question: Do I need a dual boot (a full OS)?

    As said in post #8: "My intention is that I can use libraries easily. There are certain cases so far, that people suggested me several libraries and avoided testing them, because the installation would require much more effort than the one in Linux (whenever the library was supported in windows too). Now, I have forgotten most of the libraries, but future has a lot to give.

    Right now, I have to use cgal." .. and experiment on BIG data.
    The tech characteristics of my laptop are on post #8 as well.

    // Sorry for being too scholastic..
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  15. #15
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> some people said to me that, if I want to take measurements on my projects and experiment with BIG data, etc., then I should go with dual boot (they did not really tell why). Are they correct?
    I would say No - but I'd like to hear an explanation for that one.

    >> is dual-boot such a risk for my pc and will decrease the life of my hard disk?
    I think the risk is in screwing up the installation - loosing your windows partition (or the ability to boot to it). There is no risk in installing Cygwin and/or a VM since they can just be uninstalled. Personally, I use VMware Player with pre-built images from the inter-web (like: Linux Mint 14 VMware image with Tools).

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux install
    By MadCow257 in forum Tech Board
    Replies: 13
    Last Post: 02-18-2005, 02:35 PM
  2. Undo Linux install
    By Vicious in forum Tech Board
    Replies: 5
    Last Post: 09-23-2004, 10:10 PM
  3. Linux install
    By moi in forum Tech Board
    Replies: 0
    Last Post: 12-08-2002, 10:35 AM
  4. trying to install linux
    By task in forum Linux Programming
    Replies: 19
    Last Post: 10-28-2002, 09:42 AM