Skip to content

Commit d3b3867

Browse files
committed
Reword docs about linux packages and add info about Nix
1 parent 04d7c7a commit d3b3867

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
@@ -113,24 +113,29 @@ self-contained (i.e. it does not refer to any external files that would have to
113113
Linux Packages
114114
==============
115115

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

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

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

130132
.. note::
131133

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

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

0 commit comments

Comments
 (0)