<commit_before># GCI Client Installation


##on Linux

The GCI libraries must be in the same directory as the image file you are using:

```Shell
cp $GEMSTONE/lib32/*.so <path_to_Pharo_image_file>
```

or in the same directory as the vm executable (along with the other
plugins):

```Shell
cp $GEMSTONE/lib32/*.so <path_to_vm_executable>
```

## on Mac

The GCI libraries must be in the Cog vm's `MacOS/Plugins` directory: 

```Shell
cp $GEMSTONE/lib3/2*.dylib <path_to_Cog_vm>/Contents/MacOS/Plugins
```

## Pharo Image Tode Installation

```Smalltalk
Metacello new
    baseline: 'Tode';
    repository: 'github://dalehenrich/tode:master/repository';
    load: 'GemStone Dev'.
``` 

## Tode setup

Define a session description:

```Smalltalk
| sessionDescription |
sessionDescription := OGCustomSessionDescription new
    name: 'tode';
    gemstoneVersion: '3.1.0.4';
    gciLibraryName: 'libgcirpc-3.1.0.4-32.dylib'; "or libgcirpc-3.1.0.4-32.so for Linux"
    adornmentColor: Color lightGreen;
    stoneHost: 'localhost';
    stoneName: 'seaside';
    gemHost: 'localhost';
    netLDI: '50377';
    gemTask: 'gemnetobject';
    userId: 'DataCurator';
    password: '<PASSWORD>';
    osUserId: '';<commit_msg>fix the gci install instructions on the mac to point to the right GS directory<commit_after># GCI Client Installation


##on Linux

The GCI libraries must be in the same directory as the image file you are using:

```Shell
cp $GEMSTONE/lib32/*.so <path_to_Pharo_image_file>
```

or in the same directory as the vm executable (along with the other
plugins):

```Shell
cp $GEMSTONE/lib32/*.so <path_to_vm_executable>
```

## on Mac

The GCI libraries must be in the Cog vm's `MacOS/Plugins` directory: 

```Shell
cp $GEMSTONE/lib32/*.dylib <path_to_Cog_vm>/Contents/MacOS/Plugins
```

## Pharo Image Tode Installation

```Smalltalk
Metacello new
    baseline: 'Tode';
    repository: 'github://dalehenrich/tode:master/repository';
    load: 'GemStone Dev'.
``` 

## Tode setup

Define a session description:

```Smalltalk
| sessionDescription |
sessionDescription := OGCustomSessionDescription new
    name: 'tode';
    gemstoneVersion: '3.1.0.4';
    gciLibraryName: 'libgcirpc-3.1.0.4-32.dylib'; "or libgcirpc-3.1.0.4-32.so for Linux"
    adornmentColor: Color lightGreen;
    stoneHost: 'localhost';
    stoneName: 'seaside';
    gemHost: 'localhost';
    netLDI: '50377';
    gemTask: 'gemnetobject';
    userId: 'DataCurator';
    password: '<PASSWORD>';
    osUserId: '';
{'fraction_non_alphanumeric': 0.12877263581488935, 'fraction_numerical': 0.021730382293762576, 'mean_word_length': 4.168399168399168, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4712827', 'n_tokens_mistral': 919, 'n_tokens_neox': 870, 'n_words': 242}