|
1 | 1 | ## Installation |
2 | 2 |
|
3 | 3 | The simplest way to install [Pharo](http://pharo.org) is to use a [zero conf](http://pharo.org/download#//*[@id="main"]/div/h2[3]) download from a terminal command line. |
4 | | -<br/>_Note: If you are trying to upgrade an existing installation see the [upgrade instructions](https://github.com/exercism/pharo-smalltalk/blob/master/docs/UPGRADE.md). |
| 4 | +<br/>_Note: If you are trying to upgrade an existing installation see the [upgrade instructions](https://github.com/exercism/pharo-smalltalk/blob/master/docs/UPGRADE.md)._ |
5 | 5 |
|
6 | 6 | Windows users who do not have a UNIX style shell installed should skip to the [Windows Installation](#windows-installation-skip-for-osxlinux) instructions (below).<br/> |
7 | | -More advanced Linux users may also want to refer to the [Linux Hackers Installation](#linux-hackers-installation-for-advanced-linux-use-only) (below). |
| 7 | +More advanced Linux users may want to refer to the [Linux Hackers Installation](https://github.com/exercism/pharo-smalltalk/blob/master/docs/LINUX.md). |
8 | 8 |
|
9 | 9 | ### Linux/OSX Installation |
10 | 10 |
|
@@ -75,39 +75,8 @@ Then evaluate the pasted code by highlighting all of it, right clicking then sel |
75 | 75 |
|
76 | 76 | If everything is working properly, you should see loading progress bars flicker across the screen, and then a System Browser window will appear. |
77 | 77 |
|
78 | | -Now you can you can proceed below to **[Getting Started](#getting-started)**. |
79 | 78 |
|
80 | | -### Linux Hackers Installation (for advanced Linux use only) |
81 | | - |
82 | | -We are still working out the best instructions here, but we know (and appreciate) that many Linux developers are very discerning when it comes to what they install and where things should go. |
83 | | - |
84 | | -The following instructions are very WIP and based on ArchLinux but may apply to your distro (and if they don't help us figure out improvements, and possibly upstream Pharo requests too). _Note: its not yet clear if these instructions work reliably, so we would appreciate any help to improve them._ |
85 | | - |
86 | | -- Install a Pharo VM into your preferred location. You might be able to use one in AUR or equivalent if pharo 7 is listed in there, OR alternatively download one from: [https://files.pharo.org/vm/pharo-spur64/linux/] (and choose a stable-timer vm) |
87 | | -- You next need to extract a Pharo.image file to place in your exercism directory. You can obtain this from: [https://files.pharo.org/image/70/] and pick the latest 64 bit zip file. |
88 | | -- Now try a simple command line test to verify if the VM and Image are working: `pharo Pharo.image eval "100 factorial"`. If all is well, you should get an answer. |
89 | | -- Now try the "load script" described in the OSX section. You may find you get an error mentioning `libgit2`, if this is the case you should also install it and try again. We have also had reports that installing `libcurl-gnutls` can help (but this is not yet proven) |
90 | | -- We have also had reports that for some libgit2 failures there is an internal loadModule change that we may backport from the development pharo. In this case you need to replace the method `unixModuleName` in Class `LGitLibrary` as follows: |
91 | | - 1. Launch a headfull Pharo by typing `pharo-ui Pharo.image` |
92 | | - 1. Press Ctrl-Space and type `unixModuleName` |
93 | | - 1. Select the `LGitLibrary >> unixModuleName` entry and press enter |
94 | | - 1. In the resulting browser, replace the method source for `unixModuleName` with the following (copy and paste it), press save (ctrl-s), and finally save and exit pharo. |
95 | | -``` |
96 | | -LGitLibrary >> unixModuleName |
97 | | - | pluginDir | |
98 | | - pluginDir := Smalltalk vm binary parent. |
99 | | - #('libgit2.so' 'libgit2.so.0') |
100 | | - detect: [ :each | (pluginDir / each) exists ] |
101 | | - ifFound: [ :libName | ^ (pluginDir / libName) fullName ]. |
102 | | -
|
103 | | - self error: 'Module not found.' |
104 | | - ``` |
105 | | - |
106 | | -Now retry the aforementioned OSX exercism "load script". If everything is working properly, you should see loading progress bars flicker across the screen, and then a System Browser window will appear. If not, please visit the Pharo Discord (as outlined above). |
107 | | - |
108 | | -Now you can you can proceed below to **[Getting Started](#getting-started)**. |
109 | | - |
110 | | -## Getting Started |
| 79 | +## Getting Started (ALL) |
111 | 80 |
|
112 | 81 | When you launch Pharo, you will see a Welcome project, in a [System Browser](https://medium.com/@richardeng/pharo-quick-start-5bab70944ce2#3099) (_tip:_ if you ever lose this window you can open a new one from the Tools|System Browser menu). |
113 | 82 |
|
|
0 commit comments