diff options
-rw-r--r-- | README.md | 36 | ||||
-rw-r--r-- | mksymlinks | 6 |
2 files changed, 42 insertions, 0 deletions
@@ -8,6 +8,7 @@ Contents | |||
8 | - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah) | 8 | - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah) |
9 | - [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries) | 9 | - [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries) |
10 | - [Updating the Binaries Over the Course of the Year](#updating-the-binaries-over-the-course-of-the-year) | 10 | - [Updating the Binaries Over the Course of the Year](#updating-the-binaries-over-the-course-of-the-year) |
11 | - [Package installation and updates](#package-installation-and-updates) | ||
11 | - [Building the Sources](#building-the-sources) | 12 | - [Building the Sources](#building-the-sources) |
12 | - [Acknowledgements](#acknowledgements) | 13 | - [Acknowledgements](#acknowledgements) |
13 | 14 | ||
@@ -158,6 +159,14 @@ Please read first the reference page on this matter: | |||
158 | fc-cache -fsv | 159 | fc-cache -fsv |
159 | ``` | 160 | ``` |
160 | 161 | ||
162 | 4. Symlink `/usr/local/texlive/<yyyy>/bin/custom` to | ||
163 | `/usr/local/texlive/<yyyy>/bin/amd64-openbsd`: | ||
164 | |||
165 | ```sh | ||
166 | cd /usr/local/texlive/<yyyy>/bin/custom | ||
167 | ln -s custom amd64-openbsd | ||
168 | ``` | ||
169 | |||
161 | 7. Reboot and enjoy TeX Live on OpenBSD! | 170 | 7. Reboot and enjoy TeX Live on OpenBSD! |
162 | 171 | ||
163 | ### All by hand | 172 | ### All by hand |
@@ -182,6 +191,33 @@ imported the public key used to sign the archives.) | |||
182 | Alternatively, the direct link to the binaries provided above can be | 191 | Alternatively, the direct link to the binaries provided above can be |
183 | used. | 192 | used. |
184 | 193 | ||
194 | Package installation and updates | ||
195 | -------------------------------- | ||
196 | |||
197 | To install new packages and to update already existing ones, do: | ||
198 | |||
199 | ```sh | ||
200 | tlmgr update --all | ||
201 | ``` | ||
202 | |||
203 | More information can be found [on this | ||
204 | page](https://tug.org/texlive/pkginstall.html) or in the [full `tlmgr` | ||
205 | documentation](https://tug.org/texlive/doc/tlmgr.html). | ||
206 | |||
207 | A number of scripts that are shipped within TeX Live are found in the | ||
208 | `texmf-dist/scripts/`. Most of them can be invoked by users from | ||
209 | symlinks installed along with the usual TeX Live binaries. | ||
210 | As OpenBSD is not officially supported by TeX Live, it is important to | ||
211 | note that `tlmgr update --all` *does not update these links,* | ||
212 | especially in the case of scripts that come with new packages. To | ||
213 | update all existing links and install new links after using `tlmgr`, do: | ||
214 | |||
215 | ```sh | ||
216 | mktexobsdsymlinks | ||
217 | ``` | ||
218 | |||
219 | This command requires the `subversion` package and must be rerun as needed. | ||
220 | |||
185 | Building the sources | 221 | Building the sources |
186 | -------------------- | 222 | -------------------- |
187 | 223 | ||
@@ -12,6 +12,12 @@ if [[ ! -w ${TLBINDIR} ]]; then | |||
12 | exit 1 | 12 | exit 1 |
13 | fi | 13 | fi |
14 | 14 | ||
15 | which svn 2>&- > /dev/null | ||
16 | if [[ $? -ne 0 ]];then | ||
17 | echo "Please install the subversion package." | ||
18 | exit 1 | ||
19 | fi | ||
20 | |||
15 | svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \ | 21 | svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \ |
16 | ${LSTFILE} || exit 1 | 22 | ${LSTFILE} || exit 1 |
17 | 23 | ||