Wiki page
[ShellPAK] by
cfuhrman
2019-05-31 05:33:22.
D 2019-05-31T05:33:22.371
L ShellPAK
N text/x-markdown
P 31147e6faa158264f01725168f7dfe878ad39716
U cfuhrman
W 4906
# Table of Contents
1. [Description](#orgf46e4a3)
1. [Requirements](#org0727af0)
2. [Supported Platforms](#org8e39d37)
2. [Obtaining ShellPAK](#org106b40a)
1. [Alternate Repositories](#orgd42b8ef)
3. [Installation](#orgb984856)
1. [Other setup options](#org125c07e)
4. [Bugs](#org9931909)
5. [Author](#org19492b6)
6. [Copyright](#org6467d02)
<a id="orgf46e4a3"></a>
# Description
ShellPAK allows for the automatic installation and configuration of
my personal [GNU Bash](http://www.gnu.org/software/bash/) shell environment as well as the configuration
of the following programs:
- [Git](http://git-scm.com)
- [GNU Emacs](http://www.gnu.org/software/emacs/)
- [GNU Nano](https://www.nano-editor.org/)
- [GNU Screen](http://www.gnu.org/software/screen/)
- [GNU Indent](https://www.gnu.org/software/indent/)
- [mg Text Editor](http://homepage.boetes.org/software/mg/)
- [Perl::Tidy](http://search.cpan.org/~shancock/Perl-Tidy-20140711/lib/Perl/Tidy.pod)
- [tmux](http://tmux.sourceforge.net)
This code is specific to my own needs and is here in the hopes it
will be useful as a reference.
<a id="org0727af0"></a>
## Requirements
- GNU Bash version 3.2 or greater
- GNU Emacs 24.1 or greater (Emacs 24.4 or greater preferred)
- GNU Make
- rsync
<a id="org8e39d37"></a>
## Supported Platforms
The following operating systems are known to be supported:
- Mac OS X 10.13 (Darwin)
- NetBSD 6.1.x
- OpenBSD 5.8
- CentOS 6.5
- Debian 9 (Stretch) and derivatives
- SunOS solaris 5.10
- AIX 1 7
In addition, ShellPAK has been known to run on OpenSUSE, SuSE
Enterprise Linux, Ubuntu, FreeBSD, and Cygwin.
<a id="org106b40a"></a>
# Obtaining ShellPAK
As of <span class="timestamp-wrapper"><span class="timestamp"><2014-07-30 Wed></span></span>, [ShellPAK](https://chiselapp.com/user/cfuhrman/repository/shpak/home) is managed by the [Fossil](http://fossil-scm.org)
distributed version control system. To check out a repository:
# Clone the repository
$ fossil clone https://chiselapp.com/user/cfuhrman/repository/shpak ~/shellpak.fossil
# Check out the repository
$ mkdir shellpak
$ cd shellpak
$ fossil open ~/shellpak.fossil
Further information on Fossil can be found at this [Quick Start
Guide](http://www.fossil-scm.org/index.html/doc/trunk/www/quickstart.wiki).
<a id="orgd42b8ef"></a>
## Alternate Repositories
[ShellPAK](https://chiselapp.com/user/cfuhrman/repository/shpak/home) is also available for checkout from the following
locations:
- **Git:** [GitHub](https://github.com/cfuhrman/shpak), [BitBucket](https://bitbucket.org/chrisfuhrman/shellpak)
- **Fossil:** [FuhrWerks](https://fossil.fuhrwerks.com/shpak)
- **Bazaar:** [Launchpad](https://code.launchpad.net/~cfuhrman/shpak/trunk)
Be aware that portions of the ShellPAK infrastructure relies on
Fossil. Conversion to support the conventions of an alternative
revision control system is an exercise left to the user.
<a id="orgb984856"></a>
# Installation
# Install ShellPAK
$ ./setup.sh
Note that during installation, ShellPAK will store dot-files (e.g.,
`bashrc`, `bash_profile`, etc) in `~/Backup/shell` (or whatever is
specified by the `-b` flag). These files will be restored during
un-installation (via the `-u` flag)
<a id="org125c07e"></a>
## Other setup options
# Perform a dry-run
$ ./setup.sh -r
# Install into another directory
$ ./setup.sh -d /path/to/directory
# Do not automatically link files during installation
$ ./setup.sh -n
# Set up go programming environment
$ ./setup.sh -g
# Set up PLSense
$ ./setup.sh -l
# Set up python development environment
$ ./setup.sh -p
# Set up python3 development environment
$ PYTHON_VERSION=3 PIP_BIN=pip3 setup.sh -p
# Remove ShellPAK
$ ./setup.sh -u
# Remove ShellPAK & go environment
$ ./setup.sh -u -g
# Change backup directory
$ ./setup.sh -b /path/to/directory
# List runtime options
$ ./setup.sh -h
Previous versions of `setup.sh` provided options for installation
of Emacs packages. This is no longer required as Emacs will now
automatically install necessary packages on startup.
<a id="org9931909"></a>
# Bugs
Please report any bugs or feature requests by [filing a ticket](https://chiselapp.com/user/cfuhrman/repository/shpak/reportlist) via
the ShellPAK repository website.
<a id="org19492b6"></a>
# Author
Christopher M. Fuhrman
[cfuhrman@pobox.com](mailto:cfuhrman@pobox.com)
<a id="org6467d02"></a>
# Copyright
Copyright (c) 2000-2019 Christopher M. Fuhrman
All rights reserved.
All files contained herein can be redistributed and/or modified
under the terms of the Simplified BSD License (also known as the
"2-Clause License" or "FreeBSD License".) unless otherwise noted.
Z 9a520cd247595af3149a0a304cfda833