Notes on setting up Ubuntu Linux and MS/Win Dev-C++

Last Modified:
Linux

Starting with Ubuntu 7.10, wireless networking works on my Dell laptop after installing the suggested proprietary drivers. Look under System -> Administration -> Hardware Drivers

For wireless at Villanova, see Ubuntu 10.04 examples VUMobile and Wireless Security. For MS/Win and Mac, see Wireless Access.

  1. Install Ubuntu from www.ubuntu.com. I used Infra Recorder from infrarecorder.sourceforge.net as described in BurningIsoHowto to create the Ubuntu install CD under MS/Win.

  2. Install updates.

  3. Install extra packages:
      sudo apt-get install  ...packages...
    
      where ...packages... are:
    
        g++ manpages-dev flex bison nasm tcsh pdksh
     
  4. Install in /opt, latest JDK SE, docs, and strong crypto policy files from java.sun.com

  5. Set Java plugin symlink in ~/.mozilla/plugins
     
      libnpjp2.so -> /opt/jdk/jre/lib/i386/libnpjp2.so
     

MS/Win Dev-C++

  1. Get latest Dev-C++ from www.bloodshed.net

  2. When installing, remove association of .c and .h file extensions, otherwise see next step to remove later. If .c and .h file extensions are associated with Dev-C++, then VECR and any web files with those extensions will launch Dev-C++ instead of displaying in the browser.

  3. If .c and .h file extensions are associated with Dev-C++ or any other program, remove those associations using Windows Explorer (i.e. "My Computer", not Internet Explorer), under Tools -> Folder Options -> File Types

  4. In Dev-C++, under Tools -> Compiler Options -> Settings, set "ANSI C" to yes.

  5. Under Tools -> Compiler Options -> Compiler, add "-ansi -Wall" to compile options; unfortunately can't add "-pedantic" because then Dev-C++'s own header files generate warnings.

  6. Under File -> New -> Project, choose console app and make C the default. Replace system("PAUSE"); with getchar(); for portability, or skip those and run executable from a terminal window in the project directory.