ClarkVision.com

To Clarkvision.com Galleries
Home Galleries Articles Reviews Best Gear Science New About Contact

Linux for Photographers, Part 3
Post Install Software Installation

by Roger N. Clark

Linux Mint comes with many programs installed, but photographers and power users need additional programs. This web page shows fast and simple commands to install the programs needed.

Linux for Photographers:


All images, text and data on this site are copyrighted.
They may not be used except by written permission from Roger N. Clark.
All rights reserved.

If you find the information on this site useful, please support Clarkvision and make a donation (link below).

Introduction

As described in parts 1 and 2 of this series, one can use the synaptic package manager to search for and install programs. On this page, I show the simple commands to install many of the programs I use. One can execute the commands one line at a time by copying and pasting into a command window, or save the text to a file, make it executable, and then run it. For those new to linux, I recommend the copy and paste method so you see what each line does. Once you have done this and see that the commands do not do something bad to your system, you can save the text and make it a script to run for future installs. The commands below are based on Lunix Mint 17 (2014 version) and could change with future releases. If you cut and paste one line at a time, you can drop the -y option which says answer yes to all questions.

If you want to run each line by cut and paste, here is what you do.

To execute the script, copy the script to a file, e.g. linux.post.install.software, then:

Another way to install all these packages is to start synaptic package manager, then search for each package in the list below and install with synaptic package manager.

If a software package is already installed, apt-get will simply tell you that the installed software is already the latest version.

--------------- script starts below this line -------------------

#!/bin/sh

set -x

# a # means a comment after the #

# update database first:

apt-get -y update


# Software additions to Linux Mint (use Synaptic Package Manager)
# 
# to update synaptic package manager before getting software (as root):
# apt-get update
# 
# ............................................................................
#      ##### very important security:
# 
# denyhosts    # monitors system logs and blocks attackers
#              # note: BLOCK_SERVICE = ALL   # attacker gets completely blocked
#              # Note linux Mint 17: this is not in synaptic package manager
#   see: http://denyhosts.sourceforge.net/faq.html

echo "denyhosts is not in ubuntu/mint package manager as of mint 17, May 2014"

# alternate to denyhosts:
#
#  fail2ban

apt-get -y install fail2ban

apt-get -y install python3-pyinotify       # system log monitor and notify package
apt-get -y install python3-pyinotify-doc   # system log monitor and notify package

# 
# clamav       # antivirus

apt-get -y install clamav clamav-docs

 
# disk utility    # monitors disk smart data, mount, unmount, format disks
#                 # (gnome-disk-utility)

apt-get -y install gnome-disk-utility

# smartmontools package contains two utility programs (smartctl and smartd)
#               to control and monitor storage systems using the Self-Monitoring,
#                Analysis and Reporting Technology System (S.M.A.R.T.)
#                built into most modern ATA and SCSI hard disks.

apt-get -y install smartmontools

# gparted         # disk partition manager

apt-get -y install gparted 
 
# keepass2        # password manager

apt-get -y install keepass2 keepass2-doc
#
# ............................................................................
# #### start Synaptic Package Manager and install the following if not already installed ######
# 
#      ##### photography, image processing:
# 
# gimp   # image processing   (should already be installed)

apt-get -y install gimp
 
# ufraw
# gimp-ufraw

apt-get -y install ufraw 
apt-get -y install gimp-ufraw
apt-get -y install ufraw-batch


# gnome-color-manager  (3.6 or later)
# icc profiles-free
# icc utilities     package: icc-utils

apt-get -y install gnome-color-manager
apt-get -y install icc-profiles-free icc-utils
apt-get -y install gnome-colors-common

# darktable

apt-get -y install darktable


# imagemagick pbm    # image processing tools

apt-get -y install imagemagick imagemagick-common imagemagick-doc
apt-get -y install netpbm
 
# RawTherapee    # image processing and raw converter, has Richardson-Lucy Deconvolution
#
# For the latest version, see: http://rawtherapee.com/downloads
# repository:
#             add-apt-repository ppa:dhor/myway
#             apt-get update

apt-get -y install rawtherapee

# examine exif data in images

apt-get -y install jhead 
apt-get -y install libimage-exiftool-perl

# needed to read some camera memory cards, like SDHC cards:

apt-get -y install exfat-utils
apt-get -y install fuse
apt-get -y install exfat-fuse
 
# ............................................................................
#      ##### General programs
# 
# engauge   # digitizes graphs
# xyplot    # plotting  (old?)   ot xplot or xgraph

apt-get -y install engauge-digitizer  engauge-digitizer-doc
apt-get -y install xplot xgraph ygraph
apt-get -y install gnuplot gnuplot-nox
 
# gnu plotting package:

# apt-get -y install gnuplot             # plotting
# apt-get -y install gnuplot-x11         # needed for X11 output
# apt-get -y install libcairo2-dev       # needed for making x windows
# apt-get -y install libpango1.0-dev     # needed for making x windows
# apt-get -y install libwxgtk2.8-dev     # needed for making x windows

# spell     # traditional unix spell package

apt-get -y install spell

# groff     # text formating for those who need it

apt-get -y install groff  groff-base
 
# ............................................................................
#      ###### Astronomy stuff
# 
# stellarium    # the night sky
#     http://stellarium.org/wiki/index.php/Compilation_on_Linux
# 
#     go to stellarium's configuration -> tools
#         stars: click on get catalog
#                download all catalogs

apt-get -y install stellarium  stellarium-data

 
# aa astronomical almanac
# 
# search for sunrise:
#    libdatetime-event-sunrise-perl
#    libdatetime-astro-sunrise-perl


apt-get -y install astronomical-almanac 
apt-get -y install libdatetime-event-sunrise-perl libdatetime-astro-sunrise-perl


# ............................................................................
#      ##### general and cool stuff:
# 
# tcsh   # cshell

apt-get -y install csh
apt-get -y install tcsh
 
# gperiodic   # periodic table

apt-get -y install gperiodic
 
# ncompress   # original compress and uncompress programs that used
#             # to be the de-facto UNIX standard

apt-get -y install ncompress
 
# units   # great unit conversion program

apt-get -y install units

# tgif    # vector drawing
#     http://bourbon.usc.edu/tgif/faq/systems.html

apt-get -y install tgif
 
# fonts:
#   xfonts-75dpi
#   xfonts-100dpi
#      then run: xset fp rehash  if already logged in so current X-session sees the fonts

apt-get -y install xfonts-100dpi xfonts-75dpi
 
# inkscape  # vector drawing

apt-get -y install inkscape
 
# Google Earth   # e.g. package: google-earth-stable

apt-get -y install google-earth-stable
 
# remind   # reminder service

apt-get -y install remind
 
# java

#apt-get install java
# echo "assume java already installed"

# for compiling java:
# apt-get install openjdk-7-jdk
 
# ascii  prints out ascii character list

apt-get -y install ascii
 
# xcolors

apt-get -y install xcolors  xcolorsel

# pstoedit   postscript to edit

apt-get -y install pstoedit
 
# ............................................................................
#      ###### sound and video listening editing:
# 
# rhythmbox          # like itunes
# rhythmbox-mozilla  # rhythmbox plugin for firefox

apt-get -y install rhythmbox  rhythmbox rhythmbox-mozilla
 
# lives     # video editing

apt-get -y install lives  lives-data
 
# audacity  # sound editing

apt-get -y install  audacity

# best multimedia viewer (probably installed)

apt-get -y install vlc

# command-line tool that converts audio or video formats.
# It can also capture and encode in real-time from various hardware
#   and software sources such as a TV capture card.

apt-get -y install ffmpeg
apt-get -y install ffmpeg-doc

# ............................................................................
#      ###### photo/video memory card recovery  (for regular disks too)
#
apt-get -y install testdisk     # TestDisk checks the partition and boot sectors of your disks.
apt-get -y install testdisk-dbg

# Then you need PhotoRec from: http://www.cgsecurity.org/wiki/PhotoRec
# testdisk is also from cgsecurity.  Testdisk will recover a partition,
# and photorec will recover the photos from the partition.
 
# ............................................................................
#      ###### run other operating system, e.g. windows:
# 
# virtualbox                   # use to run windows under linux
# virtualbox-guest-additions   # needed for windows to see linux disks
# 
# note: you probably need to also install with linux mint 16:
# virtualbox-qt
# virtualbox-dk????????????????????????????????????ZZZZ

apt-get -y install virtualbox virtualbox-guest-additions virtualbox-qt

apt-get -y install virtualbox
apt-get -y install virtualbox-guest-utils
apt-get -y install virtualbox-guest-additions-iso
apt-get -y install virtualbox-qt
apt-get -y install virtualbox-dkms
  
# wine                         # run windows programs in linux

apt-get -y install wine
  
# ............................................................................
#      ###### word processing, power point, spreadsheet:
# 
# libreoffice  # should already be in default install
# 
#        add-apt-repository ppa:libreoffice/ppa
#     or  (check for latest version, e.g.:)
#        add-apt-repository ppa:libreoffice/libreoffice-4-0 
#     then
#        apt-get update
#     then open synaptic package manager and install
 
apt-get -y install libreoffice
 
# ............................................................................
#      #### programming:

# gcc         # C compiler
# g++         # needed to compile davinci

apt-get -y install  gcc  g++

# gfortran    # fortran compiler
# ratfor      # rational fortran

apt-get -y install gfortran ratfor  gfortran-doc

# make

apt-get -y install make

# linux mint 17: vim (text editor) does not seem to be in the default install
# note the mint 17 default install points vi to vim.basic, so the
# below changes the pointer (symbolic link) to full vim
# note: the /etc/alternatives/vi is just a pointer, so the
# rm command removes the pointer (symbolic link) and the
# ln command then points vi to the full vim

apt-get -y install vim
rm /etc/alternatives/vi
ln -s /usr/bin/vim /etc/alternatives/vi

# eclipse     # java IDE program development

apt-get -y install eclipse

# cmake
#  qt4     (cmake and qt4 needed by stellarium, if you compile it)              

# apt-get -y install cmake qt4

# bwbasic

apt-get -y install bwbasic

# python              # should already be instaled
# python-imaging

apt-get -y install  python python-imaging  python-imaging-compat

# version control

apt-get -y install subversion

# davinci image processing:
#                           http://davinci.asu.edu/
#     download davinci source code from above.  
#     To compile, you also need these packages:

apt-get -y install libpng12-dev
apt-get -y install libjbig-dev:amd64 libjbig0:amd64 libjbig0:i386 libjbig2dec0 libjbig2dec0-dev
apt-get -y install jbig2dec jbigkit-bin
apt-get -y install libjpeg8-dev

# to compile some X11 programs (e.g. specpr, spectral processing,
#     and tetracorder, imaging spectroscopy analysis) you'll need this:

apt-get -y install libx11-dev

# note on compiling davinci 2.10 on linux mint 17:
# edit Makefile (after the ./configure)
# add to the line: LIBS = -lpng -lz -lm -lX11  (may have other entries)
# and add -ljbig:
#              LIBS = -lpng -lz -lm -lX11 -ljbig

# for developers:

apt-get -y install glibc-doc glibc-doc-reference

# some application may require, e.g. pw, a legacy imaging spectroscopy app:

apt-get -y install  libxpm-dev
apt-get -y install  libxt-dev

# ............................................................................
#  programs below here are not needed by most desktop users:
#  a vnc server may be used to run legacy application that require 8-bit (256 color)
#  X server.
#
#  OPTIONAL:   (uncomment as needed)
#
#      ##### remote desktop:
# 
# vnc4server   # if you want remote desktops
# vnc4viewer   # if you want remote desktops
# jwm  ( replaces mwm)  # if you need a simple window manager (good for 8-bit X-server)

# apt-get -y install vnc4server xvnc4viewer 
# apt-get -y install jwm
# apt-get -y install twm
# apt-get -y install mwm    # motif window manager

# ............................................................................
#      ######  servers, web, mail, ssh
# 
# sshd    package: openssh-server   # for remote logins

# apt-get -y install ssh openssh-client openssh-server  openssh-sftp-server openssl

#### apache          # web server  (apache2)

# apt-get -y install apache2 apache2-doc 

#### dovecot and postfix        # for mail servers

# apt-get -y install dovecot-core
# apt-get -y install dovecot-imapd
# apt-get -y install postfix
# apt-get -y install postfix-doc

# # if you get mail from another server, you may want:
# fetchmail

# apt-get -y install fetchmail

# nfs     # networking, packages: nfs-common, nfs-kernel-server

# apt-get -y install nfs-common nfs-kernel-server

# ............................................................................
# Network diagnostics for if/when you have network problems

apt-get -y install traceroute

apt-get -y install  iptraf

apt-get -y install ethtool

apt-get -y install wireshark

# ............................................................................
# ##### check out:
# 
# and Quod Libet for cataloging sound files.
# 
# # glunarclock   (no longer supported 12/2013)
#      http://community.linuxmint.com/software/view/glunarclock
# 
-------------------------- end of script above this line ------------------------

If you find the information on this site useful, please support Clarkvision and make a donation (link below).


Linux for Photographers:


Home Galleries Articles Reviews Best Gear Science New About Contact

http://www.clarkvision.com/articles/linux.for.photographers

First Published October 25, 2014
Last updated June 26, 2018.