ubuntu Post-Installation Notes

    a) Perform Installation from DVD:
          1) Keyboard "English (US)"
          2) Username "installer", full name "Installer"
          3) Perform updates during installation
          4) Include 3rd party stuff for mp3, etc.
    b) Boot new system and perform system update.

    c) Add the standard family accounts:

       sudo addgroup --gid 1001 family
       sudo adduser --no-create-home --uid 1001 --gid 1001 family
       sudo adduser --no-create-home --uid 1002 --gid 1001 kari
       sudo adduser --no-create-home --uid 1003 --gid 1001 kathryn
       sudo adduser --no-create-home --uid 1004 --gid 1001 david
       sudo adduser --no-create-home --uid 1005 --gid 1001 visitor

    d) Install synaptic to help with package installation:

          sudo apt-get install synaptic

       Then also install apt-xapian-index and force an index update thus:

          sudo apt-get install apt-xapian-index
          sudo update-apt-xapian-index -vf

       to get the quick filter feature of synaptic to appear.

    e) Use synaptic to install emacs.

    f) Edit /etc/group to give david and kari sudo privilege:

           sudo emacs /etc/group

       and replace (almost everywhere) "installer" with "installer,david,kari".

    g) Install:
          php7.0-cli         - php7 command line interpreter
          php7.0-mbstring    - php7 support for multi-byte strings
          feh                - simple image viewer
          imagemagick        - bitmap image edit functions
          jhead              - jpeg Exif header utility
          cvs                - Concurrent Versions System
          tkcvs              - this includes tkdiff
          openssh-server     - allow ssh access
          gfortran           - Fortran compiler
          filezilla          - ftp GUI
          sound-juicer       - a CD ripper
          banshee            - an audio player
          a2ps               - ASCII to PostScript conversion
          texlive-latex-base - latex word processor
          texlive-lang-german- german support for latex
          youtube-dl         - YouTube downloader
          gimp               - image editor
          xfig               - graphics tool
          xsane              - image scanner
          pdftk              - can split up a multipage pdf document
          dconf-editor       - allows more setup changes than "System Settings"
          sox                - includes the "play" utility
          default-jdk        - OpenJDK Development Kit (needed for java compilation)
          graphicsmagick     - includes the "gm" utility
          mdbtools           - JET/MS-Access database (MDB) tools
          smartmontools      - Includes smartctl. Used to display SMART
                                 data of USB disk
          mencoder           - Tool that will rotate movies (previously
                                 we used avidemux, but that has disappeared
                                 from ubuntu 16.04).
          xinetd             - needed for CVS Server (see below)

    h) Set up the OfficeJet printer.

    i) It seems as though Acrobat Reader is no longer supported under
       linux by Adobe. So we must learn to use documentReader (evince) instead.
       The following notes were valid for ubuntu 12.04. They are kept in case
       they might be useful:
           Install Acrobat Reader either thus:

              a) In synaptic
                    --> Settings
                      --> Repositories 
                        --> Other Software
                          --> Add ...
                            --> APT Line
                  deb http://archive.canonical.com/ precise partner

                On clicking "Add Source", you should be prompted to do an update. After
                this, one can install "acroread" in the usual way.
              b) cd ~/Downloads
                 wget -c \
                 sudo dpkg -i AdbeRdr9.5.5-1_i386linux_enu.deb
                 mimeopen -d *.pdf

    j) On the pc, set up the cvs server:
          See here, perhaps.

       1) Add accounts for cvs:

           Check the setting of _cvsadmin in /etc/group. Assuming it is 130, then
           check that uid 130 is not set in /etc/passwd

             grep 130 /etc/passwd
             sudo adduser --uid 130 --gid 130 --no-create-home --force-badname _cvs
             sudo adduser david _cvsadmin
             sudo adduser kari  _cvsadmin

       2) Set up the external USB disk drive:

             sudo mkdir /wolfLinux /WolfDOS
             sudo cat >> /etc/fstab
             #    External USB disks
             UUID=3d6b09b7-c120-4d6f-a950-6c2a3dee9bbd /wolfLinux auto defaults,nofail,user 0 2
             UUID=3BB1-ED77                            /WolfDOS   auto defaults,nofail,user 0 2

       3) Mount the external USB disk partitions:

             sudo mount -a

       4) Create:

            service cvspserver
              port = 2401
              socket_type = stream
              protocol = tcp
              user = root
              wait = no
              type = UNLISTED
              server = /usr/bin/cvs
              server_args = -f --allow-root /wolfLinux/CVSdavid \
                               --allow-root /wolfLinux/CVSkari  pserver
              disable = no

          where the "server_args" information is all on one line, not split as
          shown. Then execute:

             sudo /etc/init.d/xinetd restart

          and test that the server has started with the command:

             sudo netstat -tap | grep cvs

          One should see something like:

             tcp        0      0 *:cvspserver ...

    k) Create file for Archos Tablet USB recognition:

         > sudo vi /etc/udev/rules.d/51-archos.rules

       The file has a single record:
         SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="plugdev"

    l) Install android studio:

         The following packages must also be installed with synaptic, apparently:

           lib32z1 lib32ncurses5 lib32stdc++6

         Download android-studio-ide-145.3276617-linux.zip from Android Developer site.
         su -
         cd /opt
         unzip .../android-studio-ide-*.zip

       and let the Setup Wizard run. For Type of Setup, select Custom
       and set the SDK location to be:


       Skip the installation of "accelerated performance mode".
       Accept the licence, and let the setup run to completion.

       Perform a possible update of the studio software (bottom of Welcome window).

         logout (from root)

       and start studio.sh as a normal user.

       The Setup Wizard will probably start. When it gets to downloading
       the SDK, cancel the operation. Then do a Configure thus:

         From the Android Studio welcome window, follow:
                --> Project Defaults
                  --> Project Structure

       and set the Android SDK location to be /opt/android-sdk/Sdk.
       You should be able to create a first project.
    m) This is obsolete, since I've stopped using eclipse for Android development.
       Install the Android SDK Starter Package by downloading the zip file from:



       Expand the file using unzip, and subsequently use the eclipse executable found in: