Skip to content

Commit bed835c

Browse files
committed
Reword docs about linux packages and add info about Nix
1 parent f778ab1 commit bed835c

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

docs/installing-solidity.rst

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,24 +114,29 @@ self-contained (i.e. it does not refer to any external files that would have to
114114
Linux Packages
115115
==============
116116

117-
Binary packages of Solidity are available at
118-
`solidity/releases <https://github.com/argotorg/solidity/releases>`_.
117+
We provide :ref:`standalone binaries <static-binaries>` of the compiler that should run on most
118+
distributions without any additional installation steps.
119+
120+
Some Linux distributions provide their own packages.
121+
These packages are not directly maintained by us but usually kept up-to-date by the respective
122+
package maintainers.
119123

120124
Ubuntu packages for versions up to 0.8.30 are available in the
121125
`ethereum/ethereum PPA <https://launchpad.net/~ethereum/+archive/ubuntu/ethereum>`_.
122126
However, we have discontinued this distribution method and future versions will not be added there.
123127

124-
125-
Furthermore, some Linux distributions provide their own packages. These packages are not directly
126-
maintained by us but usually kept up-to-date by the respective package maintainers.
127-
128-
For example, Arch Linux has packages for the latest development version as AUR packages: `solidity <https://aur.archlinux.org/packages/solidity>`_
129-
and `solidity-bin <https://aur.archlinux.org/packages/solidity-bin>`_.
128+
Arch Linux provides a script for building and installing the latest release version in its AUR
129+
repository: `solidity <https://aur.archlinux.org/packages/solidity>`_.
130+
Alternatively, one can also install official binaries using the
131+
`solidity-bin <https://aur.archlinux.org/packages/solidity-bin>`_ script.
130132

131133
.. note::
132134

133135
Please be aware that `AUR <https://wiki.archlinux.org/title/Arch_User_Repository>`_ packages
134-
are user-produced content and unofficial packages. Exercise caution when using them.
136+
are produced and maintained by users and not vetted in any way by the distro maintainers.
137+
Exercise caution when using them.
138+
139+
On Nix, unofficial builds are available via `solc.nix <https://github.com/hellwolf/solc.nix>`_.
135140

136141
There is also a `snap package <https://snapcraft.io/solc>`_, however, it is **currently unmaintained**.
137142
It is installable in all the `supported Linux distros <https://snapcraft.io/docs/core/install>`_. To
@@ -194,6 +199,8 @@ Install it using ``brew``:
194199
# eg. Install 0.4.8
195200
brew install solidity.rb
196201
202+
.. _static-binaries:
203+
197204
Static Binaries
198205
===============
199206

0 commit comments

Comments
 (0)