Skip to content

Commit 83bc7da

Browse files
author
Matthias Koeppe
committed
src/doc/en/installation/source.rst: Use sphinx-inline-tabs for system package commands
1 parent fb1d40b commit 83bc7da

File tree

1 file changed

+44
-64
lines changed

1 file changed

+44
-64
lines changed

src/doc/en/installation/source.rst

Lines changed: 44 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -90,121 +90,101 @@ approach.
9090

9191
.. _sec-installation-from-sources-linux-recommended-installation:
9292

93-
Debian/Ubuntu package installation
94-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93+
Linux system package installation
94+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9595

96-
On Debian ("buster" or newer) or Ubuntu ("bionic" or newer), we recommend that you
97-
install:
96+
We recommend that you install the following packages, depending on your distribution:
9897

99-
.. literalinclude:: debian.txt
98+
.. tab:: Debian/Ubuntu
10099

101-
If you wish to do Sage development, we recommend that you additionally
102-
install the following:
100+
.. literalinclude:: debian.txt
103101

104-
.. literalinclude:: debian-develop.txt
102+
.. tab:: Fedora/Redhat/CentOS
105103

106-
For all users, we recommend that you install the following system packages,
107-
which provide additional functionality and cannot be installed by Sage:
104+
.. literalinclude:: fedora.txt
108105

109-
.. literalinclude:: debian-recommended.txt
106+
.. tab:: Arch Linux
110107

111-
In addition to these, if you don't want Sage to build optional packages that might
112-
be available from your OS, cf. the growing list of such packages on :trac:`27330`,
113-
install:
108+
.. literalinclude:: arch.txt
114109

115-
.. literalinclude:: debian-optional.txt
110+
.. tab:: OpenSUSE
116111

117-
Fedora/Redhat/CentOS package installation
118-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112+
.. literalinclude:: opensuse.txt
119113

120-
On Fedora/Redhat/CentOS, we recommend that you install:
114+
.. tab:: Void Linux
121115

122-
.. literalinclude:: fedora.txt
116+
.. literalinclude:: void.txt
123117

124118
If you wish to do Sage development, we recommend that you additionally
125119
install the following:
126120

127-
.. literalinclude:: fedora-develop.txt
121+
.. tab:: Debian/Ubuntu
128122

129-
For all users, we recommend that you install the following system packages,
130-
which provide additional functionality and cannot be installed by Sage:
123+
.. literalinclude:: debian-develop.txt
131124

132-
.. literalinclude:: fedora-recommended.txt
125+
.. tab:: Fedora/Redhat/CentOS
133126

134-
In addition to these, if you don't want Sage to build optional packages that might
135-
be available from your OS, cf. the growing list of such packages on :trac:`27330`,
136-
install:
127+
.. literalinclude:: fedora-develop.txt
137128

138-
.. literalinclude:: fedora-optional.txt
129+
.. tab:: Arch Linux
139130

140-
Arch Linux package installation
141-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
131+
.. literalinclude:: arch-develop.txt
142132

143-
On ArchLinux, we recommend that you install:
133+
.. tab:: OpenSUSE
144134

145-
.. literalinclude:: arch.txt
135+
.. literalinclude:: opensuse-develop.txt
146136

147-
If you wish to do Sage development, we recommend that you additionally
148-
install the following:
137+
.. tab:: Void Linux
149138

150-
.. literalinclude:: arch-develop.txt
139+
.. literalinclude:: void-develop.txt
151140

152141
For all users, we recommend that you install the following system packages,
153142
which provide additional functionality and cannot be installed by Sage:
154143

155-
.. literalinclude:: arch-recommended.txt
144+
.. tab:: Debian/Ubuntu
156145

157-
In addition to these, if you don't want Sage to build optional packages that might
158-
be available from your OS, cf. the growing list of such packages on :trac:`27330`,
159-
install:
146+
.. literalinclude:: debian-recommended.txt
160147

161-
.. literalinclude:: arch-optional.txt
148+
.. tab:: Fedora/Redhat/CentOS
162149

163-
OpenSUSE package installation
164-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
150+
.. literalinclude:: fedora-recommended.txt
165151

166-
On OpenSUSE, we recommend that you install:
152+
.. tab:: Arch Linux
167153

168-
.. literalinclude:: opensuse.txt
154+
.. literalinclude:: arch-recommended.txt
169155

170-
If you wish to do Sage development, we recommend that you additionally
171-
install the following:
156+
.. tab:: OpenSUSE
172157

173-
.. literalinclude:: opensuse-develop.txt
158+
.. literalinclude:: opensuse-recommended.txt
174159

175-
For all users, we recommend that you install the following system packages,
176-
which provide additional functionality and cannot be installed by Sage:
160+
.. tab:: Void Linux
177161

178-
.. literalinclude:: opensuse-recommended.txt
162+
.. literalinclude:: void-recommended.txt
179163

180164
In addition to these, if you don't want Sage to build optional packages that might
181165
be available from your OS, cf. the growing list of such packages on :trac:`27330`,
182166
install:
183167

184-
.. literalinclude:: opensuse-optional.txt
168+
.. tab:: Debian/Ubuntu
185169

186-
Void Linux package installation
187-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
170+
.. literalinclude:: debian-optional.txt
188171

189-
On Void Linux, we recommend that you install:
172+
.. tab:: Fedora/Redhat/CentOS
190173

191-
.. literalinclude:: void.txt
174+
.. literalinclude:: fedora-optional.txt
192175

193-
If you wish to do Sage development, we recommend that you additionally
194-
install the following:
176+
.. tab:: Arch Linux
195177

196-
.. literalinclude:: void-develop.txt
178+
.. literalinclude:: arch-optional.txt
197179

198-
For all users, we recommend that you install the following system packages,
199-
which provide additional functionality and cannot be installed by Sage:
180+
.. tab:: OpenSUSE
200181

201-
.. literalinclude:: void-recommended.txt
182+
.. literalinclude:: opensuse-optional.txt
202183

203-
In addition to these, if you don't want Sage to build optional packages that might
204-
be available from your OS, cf. the growing list of such packages on :trac:`27330`,
205-
install:
184+
.. tab:: Void Linux
185+
186+
.. literalinclude:: void-optional.txt
206187

207-
.. literalinclude:: void-optional.txt
208188

209189
.. _section_macprereqs:
210190

0 commit comments

Comments
 (0)