Software used

From Juneday education
Jump to: navigation, search

About the software we use

We use Free Software / Open Source since we want to encourage our students to learn about and get used to using such software.

Preparing your computer

GNU/Linux (Debian, Fedora, RedHat, Ubuntu)

Make sure your distribution is upgraded properly.

Debian, Ubuntu

sudo apt-get update && sudo apt-get upgrade

Fedora (and most likely RedHat)

sudo dnf update

MacOS

MacOS is missing a couple of programs we're using in our courses/books. You can get around this by installing either Homebrew or The MacPorts Project. Both of them require that xcode is installed.

Read the following page Homebrew and MacPorts for more information. Once installed you might want to read to Quick guide to using Homebrew and MacPorts

Windows

Install cygwin. It is important that you install the following extra cygwin packages:

  • curl
  • unzip

Note: the page extra cygwin packages lists tons of softwares to install. You can discard this and install only the two packages above

Installing the software and (optionally) our material

You can download needed software and get all our material using a script. You can use this script in two ways.

Download script and execute

  1. Start up a terminal (i.e. launch cygwin).
  2. Download our boot strap script jd-bootstrap.sh:
     curl https://raw.githubusercontent.com/progund/utils/master/bin/jd-bootstrap.sh -o jd-bootstrap.sh
    
  3. make the script executable
      chmod a+x jd-bootstrap.sh
    
  4. and execute it
    ./jd-bootstrap.sh
    
    If you want to download all our source code from our books and set up your user environment you need to pass the option --full when executing the script:
    ./jd-bootstrap.sh --full
    

Execute from web

Type the following in a terminal:

 
curl https://raw.githubusercontent.com/progund/utils/master/bin/jd-bootstrap.sh | bash

This way you dont get the source code from our books and your user environment set up.

Notes on the software

Windows/Cygwin

If the installation with the script above for some reason fails, remove the file apt-cyg (by typing rm /usr/local/bin/apt-cyg), make sure you have installed the additional cygwin packages (see above) and try again.

MacOS

If you're using Homebrew you need to do the following steps to get a fresh version of SQLite:

$ brew link sqlite
Warning: sqlite is keg-only and must be linked with --force
Note that doing so can interfere with building software.

If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

Copy/paste the last line in a terminal

$ echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

Next time you start bash you should get the version that comes with Homebrew.

Install an updated list of all softwares used

Sometimes we add software packages to the list of programs to be installed. It is easy for you to get these packages as well. Just execute the following command (same as for installing for the first time):

$ curl https://raw.githubusercontent.com/progund/utils/master/bin/jd-bootstrap.sh -o jd-bootstrap.sh

Note: this is the same command as when installing the packages in the first place.

Prepared VirtualBox image

We have prepared a VirtualBox image with all our software and educational material pre-installed. You can download it here soon.