Skip to content

Commit 0356b3b

Browse files
committed
Debian, Ubuntu
1 parent 7ee899f commit 0356b3b

1 file changed

Lines changed: 32 additions & 219 deletions

File tree

documentation/bolt_installing.md

Lines changed: 32 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,22 @@ Excerpt from [voxpupuli-artifacts](https://artifacts.voxpupuli.org/openbolt/5.4.
2121

2222
**Install Bolt**
2323

24-
To install Bolt, run the appropriate command for the version of Debian you
25-
have installed:
26-
27-
- _Debian 10_
28-
29-
```shell
30-
wget https://apt.puppet.com/puppet-tools-release-buster.deb
31-
sudo dpkg -i puppet-tools-release-buster.deb
32-
sudo apt-get update
33-
sudo apt-get install puppet-bolt
34-
```
35-
36-
- _Debian 11_
37-
24+
- _Debian_
3825
```shell
39-
wget https://apt.puppet.com/puppet-tools-release-bullseye.deb
40-
sudo dpkg -i puppet-tools-release-bullseye.deb
41-
sudo apt-get update
42-
sudo apt-get install puppet-bolt
26+
# https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt_5.4.0-1%2Bdebian11_amd64.deb
27+
arch=$(dpkg-architecture --list |grep DEB_HOST_ARCH= |cut -d= -f2)
28+
source /etc/os-release
29+
packagename="openbolt_5.4.0-1+debian${VERSION_ID}_${arch}.deb"
30+
wget "https://artifacts.voxpupuli.org/openbolt/5.4.0/$packagename"
31+
sudo dpkg -i "$packagename"
4332
```
4433

45-
**Upgrade Bolt**
46-
47-
To upgrade Bolt to the latest version, run the following command:
48-
49-
```shell
50-
sudo apt-get update
51-
sudo apt install puppet-bolt
52-
```
53-
5434
**Uninstall Bolt**
5535

5636
To uninstall Bolt, run the following command:
5737

5838
```shell
59-
sudo apt remove puppet-bolt
39+
sudo apt remove openbolt
6040
```
6141

6242
## Install Bolt on Fedora
@@ -66,11 +46,10 @@ sudo apt remove puppet-bolt
6646
To install Bolt, run the appropriate command for the version of Fedora you
6747
have installed:
6848

69-
- _Fedora 36_
49+
- _Fedora 43_
7050

7151
```shell
72-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-fedora-36.noarch.rpm
73-
sudo dnf install puppet-bolt
52+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.fc43.x86_64.rpm
7453
```
7554

7655
**Upgrade Bolt**
@@ -137,8 +116,10 @@ Use the Apple Disk Image (DMG) to install Bolt on macOS:
137116

138117
1. Download the Bolt installer package for your macOS version.
139118

140-
- [11 (Big Sur)](https://downloads.puppet.com/mac/puppet-tools/11/x86_64/puppet-bolt-latest.dmg)
141-
- [12 (Monterey)](https://downloads.puppet.com/mac/puppet-tools/12/x86_64/puppet-bolt-latest.dmg)
119+
- [26 Tahoe x86](https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.macos.all.x86_64.dmg)
120+
- [26 Tahoe arm64](https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.macos.all.arm64.dmg)
121+
- [any x86](https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.macos.all.x86_64.dmg)
122+
- [any arm64](https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.macos.all.arm64.dmg)
142123

143124
1. Double-click the `puppet-bolt-latest.dmg` file to mount the installer and
144125
then double-click `puppet-bolt-[version]-installer.pkg` to run the installer.
@@ -162,120 +143,6 @@ To uninstall Bolt, remove Bolt's files and executable:
162143
sudo rm -rf /opt/puppetlabs/bolt /opt/puppetlabs/bin/bolt
163144
```
164145

165-
## Install Bolt on Microsoft Windows
166-
167-
Use one of the supported Windows installation methods to install Bolt.
168-
169-
### Chocolatey
170-
171-
**Install Bolt**
172-
173-
To install Bolt with Chocolatey, you must have the [Chocolatey package
174-
manager](https://chocolatey.org/docs/installation) installed.
175-
176-
1. Download and install the bolt package:
177-
178-
```powershell
179-
choco install puppet-bolt
180-
```
181-
182-
1. Refresh the environment:
183-
184-
```powershell
185-
refreshenv
186-
```
187-
188-
1. Install the [PuppetBolt PowerShell module](#puppetbolt-powershell-module).
189-
190-
1. Run a [Bolt cmdlet](bolt_cmdlet_reference.md). If you see an error message
191-
instead of the expected output, you might need to [add the Bolt module to
192-
PowerShell](troubleshooting.md#powershell-does-not-recognize-bolt-cmdlets) or
193-
[change execution policy
194-
restrictions](troubleshooting.md#powershell-could-not-load-the-bolt-powershell-module).
195-
196-
**Upgrade Bolt**
197-
198-
To upgrade Bolt to the latest version, run the following command:
199-
200-
```powershell
201-
choco upgrade puppet-bolt
202-
```
203-
204-
**Uninstall Bolt**
205-
206-
To uninstall Bolt, run the following command:
207-
208-
```powershell
209-
choco uninstall puppet-bolt
210-
```
211-
212-
### Windows installer (MSI)
213-
214-
**Install Bolt**
215-
216-
Use the Windows installer (MSI) package to install Bolt on Windows:
217-
218-
1. Download the [Bolt installer
219-
package](https://downloads.puppet.com/windows/puppet-tools/puppet-bolt-x64-latest.msi).
220-
221-
1. Double-click the MSI file and run the installer.
222-
223-
1. Install the [PuppetBolt PowerShell module](#puppetbolt-powershell-module).
224-
225-
1. Open a new PowerShell window and run a [Bolt cmdlet](bolt_cmdlet_reference.md).
226-
If you see an error message instead of the expected output, you might need to
227-
[add the Bolt module to
228-
PowerShell](troubleshooting.md#powershell-does-not-recognize-bolt-cmdlets) or [change
229-
execution policy
230-
restrictions](troubleshooting.md#powershell-could-not-load-the-bolt-powershell-module).
231-
232-
**Upgrade Bolt**
233-
234-
To upgrade Bolt to the latest version, download the MSI again and repeat the
235-
installation steps.
236-
237-
**Uninstall Bolt**
238-
239-
You can uninstall Bolt from Windows **Apps & Features**:
240-
241-
1. Press **Windows** + **X** + **F** to open **Apps & Features**.
242-
243-
1. Search for **Puppet Bolt**, select it, and click **Uninstall**.
244-
245-
### PuppetBolt PowerShell module
246-
247-
The PuppetBolt PowerShell module is available on the [PowerShell
248-
Gallery](https://www.powershellgallery.com/packages/PuppetBolt) and includes
249-
help documents and [PowerShell cmdlets](bolt_cmdlet_reference.md) for running
250-
each of Bolt's commands. New versions of the PuppetBolt module are shipped at the
251-
same time as a new Bolt release.
252-
253-
**Install PuppetBolt**
254-
255-
To install the PuppetBolt PowerShell module, run the following command in
256-
PowerShell:
257-
258-
```powershell
259-
Install-Module PuppetBolt
260-
```
261-
262-
**Update PuppetBolt**
263-
264-
To update the PuppetBolt PowerShell module, run the following command in
265-
PowerShell:
266-
267-
```powershell
268-
Update-Module PuppetBolt
269-
```
270-
271-
**Uninstall PuppetBolt**
272-
273-
To uninstall the PuppetBolt PowerShell module, run the following command in
274-
PowerShell:
275-
276-
```powershell
277-
Remove-Module PuppetBolt
278-
```
279146

280147
## Install Bolt on RHEL
281148

@@ -284,48 +151,29 @@ Remove-Module PuppetBolt
284151
To install Bolt, run the appropriate command for the version of RHEL you
285152
have installed:
286153

287-
- _RHEL 6_
154+
- _RHEL 10_
288155

289156
```shell
290-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-6.noarch.rpm
291-
sudo yum install puppet-bolt
157+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.el10.x86_64.rpm
292158
```
293159

294-
- _RHEL 7_
160+
- _RHEL 9_
295161

296162
```shell
297-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-7.noarch.rpm
298-
sudo yum install puppet-bolt
163+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.el9.x86_64.rpm
299164
```
300-
301165
- _RHEL 8_
302166

303167
```shell
304-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-8.noarch.rpm
305-
sudo yum install puppet-bolt
168+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.el8.x86_64.rpm
306169
```
307170

308-
- _RHEL 9_
309-
310-
```shell
311-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-9.noarch.rpm
312-
sudo yum install puppet-bolt
313-
```
314-
315-
**Upgrade Bolt**
316-
317-
To upgrade Bolt to the latest version, run the following command:
318-
319-
```shell
320-
sudo yum update puppet-bolt
321-
```
322-
323171
**Uninstall Bolt**
324172

325173
To uninstall Bolt, run the following command:
326174

327175
```shell
328-
sudo yum remove puppet-bolt
176+
sudo yum remove openbolt
329177
```
330178

331179
## Install Bolt on SLES
@@ -335,34 +183,24 @@ sudo yum remove puppet-bolt
335183
To install Bolt, run the appropriate command for the version of SLES you
336184
have installed:
337185

338-
- _SLES 12_
186+
- _SLES 16_
339187

340188
```shell
341-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-sles-12.noarch.rpm
342-
sudo zypper install puppet-bolt
189+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.sles16.x86_64.rpm
343190
```
344-
345191
- _SLES 15_
346192

347193
```shell
348-
sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-sles-15.noarch.rpm
194+
sudo rpm -Uvh https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt-5.4.0-1.sles15.x86_64.rpm
349195
sudo zypper install puppet-bolt
350196
```
351197

352-
**Upgrade Bolt**
353-
354-
To upgrade Bolt to the latest version, run the following command:
355-
356-
```shell
357-
sudo zypper update puppet-bolt
358-
```
359-
360198
**Uninstall Bolt**
361199

362200
To uninstall Bolt, run the following command:
363201

364202
```shell
365-
sudo zypper remove puppet-bolt
203+
sudo zypper remove openbolt
366204
```
367205

368206
## Install Bolt on Ubuntu
@@ -372,48 +210,23 @@ sudo zypper remove puppet-bolt
372210
To install Bolt, run the appropriate command for the version of Ubuntu you
373211
have installed:
374212

375-
- _Ubuntu 18.04_
213+
- _Ubuntu 26.04_ _Ubuntu 25.04_ _Ubuntu 14.04_ _Ubuntu 22.04_
376214

377215
```shell
378-
wget https://apt.puppet.com/puppet-tools-release-bionic.deb
379-
sudo dpkg -i puppet-tools-release-bionic.deb
380-
sudo apt-get update
381-
sudo apt-get install puppet-bolt
216+
# https://artifacts.voxpupuli.org/openbolt/5.4.0/openbolt_5.4.0-1%2Bubuntu26.04_amd64.deb
217+
arch=$(dpkg-architecture --list |grep DEB_HOST_ARCH= |cut -d= -f2)
218+
source /etc/os-release
219+
packagename="openbolt_5.4.0-1+ubuntu${VERSION_ID}_${arch}.deb"
220+
wget "https://artifacts.voxpupuli.org/openbolt/5.4.0/$packagename"
221+
sudo dpkg -i "$packagename"
382222
```
383223

384-
- _Ubuntu 20.04_
385-
386-
```shell
387-
wget https://apt.puppet.com/puppet-tools-release-focal.deb
388-
sudo dpkg -i puppet-tools-release-focal.deb
389-
sudo apt-get update
390-
sudo apt-get install puppet-bolt
391-
```
392-
393-
- _Ubuntu 22.04_
394-
395-
```shell
396-
wget https://apt.puppet.com/puppet-tools-release-jammy.deb
397-
sudo dpkg -i puppet-tools-release-jammy.deb
398-
sudo apt-get update
399-
sudo apt-get install puppet-bolt
400-
```
401-
402-
**Upgrade Bolt**
403-
404-
To upgrade Bolt to the latest version, run the following command:
405-
406-
```shell
407-
sudo apt-get update
408-
sudo apt install puppet-bolt
409-
```
410-
411224
**Uninstall Bolt**
412225

413226
To uninstall Bolt, run the following command:
414227

415228
```shell
416-
sudo apt remove puppet-bolt
229+
sudo apt remove openbolt
417230
```
418231

419232
## Install Bolt as a gem

0 commit comments

Comments
 (0)