Files
BastilleBSD_bastille/docs/chapters/installation.rst

51 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2018-11-24 20:07:20 -07:00
Installation
============
Bastille is available in the official FreeBSD ports tree at
2025-04-10 06:53:03 -06:00
``sysutils/bastille``. Binary packages are available in quarterly and latest
repositories.
2018-11-24 20:07:20 -07:00
Current version is ``0.14.20250420``.
2018-11-24 20:07:20 -07:00
To install from the FreeBSD package repository:
2018-11-24 20:07:20 -07:00
* quarterly repository may be older version
* latest repository will match recent ports
2018-11-24 20:07:20 -07:00
2025-03-01 12:44:30 -07:00
pkg
---
2019-11-20 19:24:11 -07:00
.. code-block:: shell
pkg install bastille
bastille setup
2018-11-24 20:07:20 -07:00
To install from source (don't worry, no compiling):
2018-11-24 20:07:20 -07:00
ports
-----
2019-11-20 19:24:11 -07:00
.. code-block:: shell
make -C /usr/ports/sysutils/bastille install clean
bastille setup
2019-11-28 09:21:13 -07:00
2025-03-01 12:44:30 -07:00
git
2019-11-28 09:21:13 -07:00
---
.. code-block:: shell
git clone https://github.com/BastilleBSD/bastille.git
cd bastille
make install
bastille setup
2019-11-28 09:21:13 -07:00
This method will install the latest files from GitHub directly onto your
system. It is verbose about the files it installs (for later removal), and also
2025-04-10 06:53:03 -06:00
has a ``make uninstall`` target. You may need to manually copy the sample
config into place before Bastille will run. (ie;
2025-04-10 06:53:03 -06:00
``/usr/local/etc/bastille/bastille.conf.sample``)
Note: installing using this method overwrites the version variable to match
that of the source revision commit hash.