Skip to content

Commit 0a3586d

Browse files
committed
updated readme
1 parent 64227ef commit 0a3586d

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,41 +120,37 @@ $result = Doxswap::convert('sample.docx', 'pdf');
120120

121121
### LibreOffice & ImageMagick
122122

123-
This package requires LibreOffice and ImageMagick to be installed on your system. Here's how to install them:
123+
This package requires LibreOffice, ImageMagick, and Potrace to be installed on your system. Here's how to install them:
124124

125125
#### Ubuntu/Debian
126126

127127
```bash
128128
sudo apt update
129-
sudo apt install libreoffice imagemagick
129+
sudo apt install libreoffice imagemagick potrace
130130
```
131131

132132
#### macOS
133133

134134
```bash
135-
brew install libreoffice imagemagick
135+
brew install libreoffice imagemagick potrace
136136
```
137137

138-
# or download LibreOffice from https://www.libreoffice.org/download/download-libreoffice/
139-
140138
#### Windows
141139

142140
```bash
143-
choco install libreoffice imagemagick
141+
choco install libreoffice imagemagick potrace
144142
```
145143

146-
# or download LibreOffice from https://www.libreoffice.org/download/download-libreoffice/
147-
148144
#### Docker
149145

150146
If you're using Docker, you can add the required dependencies to your container:
151147

152148
```dockerfile
153149
# Ubuntu/Debian based
154-
RUN apt-get update && apt-get install -y libreoffice imagemagick
150+
RUN apt-get update && apt-get install -y libreoffice imagemagick potrace
155151

156152
# Alpine based
157-
RUN apk add --no-cache libreoffice imagemagick
153+
RUN apk add --no-cache libreoffice imagemagick potrace
158154
```
159155

160156
### PHP Requirements

0 commit comments

Comments
 (0)