skip to content
 

This course is part of the Scientific Computing series.

It is common for a student or researcher to find a piece of software or to have one thrust upon them by a supervisor which they must then build, install and use. It is a myth that any of this requires system privilege. This course demonstrates the building, installation and use of typical software ranging from trivially easy examples (the "configure, make, install" scheme) through to fairly complex Makefiles belonging to real world applications. Common errors and what they mean will be covered and explanations will be given on how to avoid them.

By the end of the course the student should be able to manage their own software without needing to pester their system administrator.

Course description

  • Location of software
  • Unpacking software
  • Importance of keeping records
  • The configure script
  • Running make with a configured Makefile
  • Installing software
  • Software dependencies
  • The pkg-config command
  • Working without the configure script
  • Compilation, linking and execution
  • Using make without a Makefile
  • make's built-in rules
  • make macros
  • Setting macros to the Makefile
  • Multi-file builds
  • Adding rules to the Makefile
  • Traditional targets
  • Using external libraries
  • Building libraries and using them
  • A real world Makefile
  • Recursive make
  • Multiple attempts
  • Understanding make error messages
  • Building significant Makefiles from scratch

Notes

The course notes for the “Building, installing and running software” course are available as PDF or the source ODF format.

Day one Notes (PDF) Source (ODP)
Day two Notes (PDF) Source (ODP)
Day three Notes (PDF) Source (ODP)
  • The course features a dummy lab book, available as either ODT or as PDF.
  • An archive of the files for the home directory. (Warning: 18MB!): TGZ.

Phone padded  Service status line: (01223 7)67999
Website  Sign up for SMS/email status alerts
Website  Read major IT incident reports

UIS bITe-size bulletin

A regular newsletter aimed at the University's IT community, highlighting service and project news from UIS.

Sign up >

Latest news

Moodle offline for upgrade during 06:00–12:00 on Tuesday 11 January

1 December 2021

Moodle, the University’s virtual learning environment, will be unavailable from 06:00 to 12:00 on Tuesday 11 January while we upgrade it to version 3.9. The upgrade will introduce several improvements and new features, including: improved forum interface with in-page replies and private reply option CRSids will be visible...

Delays in issuing University Cards and responding to queries

30 November 2021

There are likely to be severe delays in issuing University Cards and responding to queries for the next few weeks due to unexpected staff absences. We apologise for any inconvenience caused.

Update: University Wireless Service maintenance on 7 and 20 December

26 November 2021

The University Wireless Service will be undergoing maintenance between 07:30 and 08.00 on Tuesday 7 December and between 07:00 and 09:00 on Monday 20 December. These replace our previously announced times and dates, which we’ve amended to accommodate College work schedules. During these periods, users will experience...