Home | Galleries | Articles | Reviews | Best Gear | Science | New | About | Contact |
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:
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 19 and 20 (2020 - 2021 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.
You can copy and paste the script below and past it into a text editor and save it,
or right click and save the following.
linux.mint20-poweruser-packages.to.install.cmds
--------------- script starts below this line -------------------
#!/bin/sh set -x # Linux mint 19 and 20 post install packages to install. # # rnclark____at____clarkvision.com # # you must run this script as root # or copy and paste each line with a sudo before it, # e.g. # sudo apt-get -y update # without setting up root, you can also start a shell as root. # svae this script, e.g. as linux.post.install.software # then do: # sudo sh # chmod 744 linux.post.install.software # ./linux.post.install.software #-------------------------- end of script above this line ------------------------(type a control D to exit the shell # 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: # # fail2ban apt-get -y install fail2ban apt-get -y install python3-pyinotify # system log monitor and notify package apt-get -y install python-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 # gparted # disk partition manager apt-get -y install gparted ##### password manager # no longer use keepass2, instead use keepassxc apt-get -y install keepassxc # # chromium browser apt-get -y install chromium-browser # # ##### 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 # siril image processing apt-get -y siril apt-get -y siril-common # argyll color calibration apt-get -y install argyll apt-get -y install argyll-doc # 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 apt-get -y install icc-profiles-free apt-get -y install icc-utils # NOT FOUND in mint 19 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 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 gnuplot gnuplot-nox # not in mint 18.3, 19: apt-get -y install xplot xgraph ygraph # 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 # excel data conversion tool: apt-get -y install xlsx2csv # 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 # alarm clock, reminder apt-get -y install alarm-clock-applet # ............................................................................ # ###### 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 # not in mint 19: 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 # pre mint 18: apt-get -y install google-earth-stable apt-get -y install google-earth-pro-stable # remind # reminder service apt-get -y install remind # java apt-get -y install java-common # base package for java runtimes # should already be installed # for compiling java: apt-get -y install default-jdk default-jdk-doc # for compiling java # 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 # not in mint19: apt-get -y install rhythmbox-mozilla apt-get -y install rhythmbox # great CD/DVD reader/write: apt-get -y install brasero # lives # video editing (kdenlive is probably better) # apt-get -y install lives lives-data add-apt-repository -y ppa:kdenlive/kdenlive-stable apt-get -y install kdenlive kdenlive-data apt-get update apt-get -y install Camorama # simple Linux webcam tool with many outstanding features. It can # connect and record video files to a remote location. # audacity # sound editing apt-get -y install audacity # best multimedia viewer (probably installed) apt-get -y install vlc # simple audio player apt-get -y aplay # Screen Recorders apt-get -y install kazam apt-get -y install SimpleScreenRecorder # Festival provides all the general tools needed to develop complete speech synthesis systems. apt-get -y install festival apt-get -y install festvox-kallpc16k # American English male speaker for festival, 16khz sample rate # sound over network vis ssh -X # # https://askubuntu.com/questions/371687/how-to-carry-audio-over-ssh apt-get -y install paprefs # DaVinci Resolve is a professional video editing software which includes tools for # editing, visual effects, motion graphics, color correction and audio post production. # This article explains installing verion 16 (originally 15, then updated to 16, Sept 2019): # see: https://www.linuxuprising.com/2018/06/how-to-install-davinci-resolve-15-in.html # ............................................................................ # ###### 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 # should already be there # ............................................................................ # #### 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, 18, 19 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 # MINT19: its a mess-- I only see vim.basic, and pointers point to pointers... (9/25/2018) apt-get -y install vim apt-get -y install vim-runtime vim-tiny 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 # not in mint 19: apt-get -y install python-imaging # not in mint 18.3: apt-get -y install python-imaging-compat ### replaces with (in mint 19) according to apt-get: # but will not install: apt-get -y install python-pil:i386 python-pil apt-get -y install python3-dev apt-get -y install python3-pip apt-get -y install python3-tk apt-get -y install python3-pil.imagetk apt-get -y install python3-pil.imagetk-dbg apt-get -y install python3-pil apt-get -y install python3-pil-dbg apt-get -y install python-pil-doc apt-get -y install python3-matplotlib apt-get -y install python3-scipy apt-get -y install python3-scipy-dbg apt-get -y install python-scipy-doc # for starnet (star removal tool), we need tensorflow pip3 install setuptools # if 1.5 does not work, do: sudo pip3 install tensorflow==1.4 pip3 install tensorflow==1.5 # 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: # not in mint19: apt-get -y install libpng12-dev apt-get -y install libpng-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 apt-get -y install zlib1g zlib1g-dev zlib1g:i386 # 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) echo "Note: if you want vnc server, uncomment" # 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 # sshuttle allows you to create a VPN connection from your machine to any # remote server that you can connect to via ssh # https://sshuttle.readthedocs.io/en/stable/ apt-get -y install sshuttle #### 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 # NOTE: if you want to metwork to windows machines, get samba: # # idmap_rfc2307 (8) - Samba's idmap_rfc2307 Backend for Winbind # lmhosts (5) - The Samba NetBIOS hosts file # net (8) - Tool for administration of Samba and remote CIFS servers. # samba (7) - A Windows AD and SMB/CIFS fileserver for UNIX # samba-regedit (8) - ncurses based tool to manage the Samba registry # samba-tool (8) - Main Samba administration tool. # smb.conf (5) - The configuration file for the Samba suite # smbpasswd (5) - The Samba encrypted password file # # I don't include them here because I don't want windows machines connecting to my # network. It may be included in the install. # I think the samba list below is complete, if not check Sybapric Package Manager # apt-get -y install samba # apt-get -y install samba-common # apt-get -y install samba-common-bin # apt-get -y install samba-libs # nfs # networking, packages: nfs-common, nfs-kernel-server apt-get -y install nfs-common nfs-kernel-server # networking diagnostics commands, tools to diagnose networking peroblems # # ifconfig ping dmesg netstat ethtool traceroute wireshark # # iftop # shows network traffic # netstat -antp # active internet connections # nmap -O 192.168.0.2 # scans ports on the machine at the ip address, detect operating system # route -n # show gateway # # https://unix.stackexchange.com/questions/50098/linux-network-troubleshooting-and-debugging # change menu size with dconf-editor: # Navigate to org/mate/mate-menu/plugins . You will see applications , # places ,recent , system_managment . If you wan't to change general size # go to applications and change height and wight . Right click the applet # and click reload plugins . # org -> mate # search for height # # com / linuxmint / mintmenu / plugins / places # com / linuxmint / mintmenu / plugins / applications # com / linuxmint / mintmenu / plugins / system_management # Change the height in each one apt-get -y install dconf-editor # inotifywait monitors a directory for new files. # this is needed for processes that need to monitor incoming data, # e.g. security systems, science data to be analyzed (spectra coming in). apt-get -y install inotify-tools apt-get -y install net-tools apt-get -y install nmap apt-get -y install wireshark wireshark-common # netword traffic analyzer apt-get -y install iftop # displays a table of current bandwidth usage by pairs of hosts # the sensors package: # scan your system # sudo sensors-detect # accept all default options during scan # view the output of sensors, just run: # sensors apt-get -y install lm-sensors # system monitoring tools: apt-get -y install glances apt-get -y install glances-doc apt-get -y install htop # smart tools: # see: https://wiki.archlinux.org/index.php/S.M.A.R.T. # smartctl -a /dev/sda # full report for disk sda # smartctl -H /dev/sda # one line health report pass/fail apt-get -y install smartmontools # ............................................................................ apt-get -y update # update database apt-get -y upgrade # upgrade all packages to latest
Linux mint 17 post install commands (old):
linux.mint17-packages.to.install.cmds
Linux for Photographers:
Home | Galleries | Articles | Reviews | Best Gear | Science | New | About | Contact |
http://www.clarkvision.com/articles/linux.for.photographers.part3
First Published October 25, 2014
Last updated December 26, 2021.