Skip to content

Commit

Permalink
Issue #58: monospaced font installation (linux) additional prereqs in…
Browse files Browse the repository at this point in the history
…cluding pstack (Issue #67) [ci skip]
  • Loading branch information
dalehenrich committed Mar 24, 2015
1 parent d63061e commit 34251c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
3 changes: 3 additions & 0 deletions bin/osPrereqs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ installUbuntuPackages(){
sudo apt-get -y install libssl1.0.0:i386
sudo apt-get -y install gcc-multilib libstdc++6:i386
sudo apt-get -y install gdb
sudo apt-get -y install libfreetype6:i386
sudo apt-get -y install pstack
sudo /bin/su -c "echo 'kernel.yama.ptrace_scope = 0' >>/etc/sysctl.d/10-ptrace.conf"
if [ "${X11client}x" = "1x" ] ; then
sudo apt-get -y install libgl1-mesa-dev:i386
sudo apt-get -y install libxcb-dri2-0:i386
Expand Down
26 changes: 4 additions & 22 deletions docs/osPrereqs/ubuntu12.04.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ sudo apt-get -y install libssl1.0.0:i386
sudo ln -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0
sudo apt-get -y install -qq gcc-multilib libstdc++6:i386
sudo ln -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so
sudo apt-get -y install gdb
sudo apt-get -y install libfreetype6:i386
sudo apt-get -y install pstack
sudo /bin/su -c "echo 'kernel.yama.ptrace_scope = 0' >>/etc/sysctl.d/10-ptrace.conf"
```

##X11 Client (optional)
Expand All @@ -56,31 +60,9 @@ If you want run the Pharo client using [X11 forwarding][1] with `ssh`, then you
sudo apt-get -y install libgl1-mesa-dev:i386
sudo apt-get -y install libxcb-dri2-0:i386
```

##Install Source Code Pro Monospaced Font
1. [Check for the latest release of the Source Code Pro font][5]
2. Copy the `Source code (zip)` link url and use it as an arg to `wget` as follows (in this case you'd download [version 1.017R][6])

```
wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
```
3. Unzip and install the True Type fonts on your machine:

```
unzip 1.017R.zip
sudo mkdir /usr/local/share/fonts
sudo mkdir /usr/local/share/fonts/truetypes
sudo mkdir /usr/local/share/fonts/truetypes/SourceCodePro
sudo cp source-code-pro-1.017R/TTF/SourceCodePro-Regular.ttf /usr/local/share/fonts/truetypes/SourceCodePro
sudo apt-get install fontconfig
sudo fc-cache -f -v
```

[1]: http://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-from-ubuntu-machine
[2]: https://help.ubuntu.com/12.04/serverguide/openssh-server.html
[3]: ../../bin/osPrereqs
[4]: http://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html
[5]: https://github.com/adobe-fonts/source-code-pro/releases/latest
[6]: https://github.com/adobe-fonts/source-code-pro/releases/tag/1.017R


4 changes: 4 additions & 0 deletions docs/osPrereqs/ubuntu14.04.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ sudo apt-get -y install libssl1.0.0:386
sudo apt-get -y install libssl1.0.0:i386
sudo apt-get -y install -qq gcc-multilib libstdc++6:i386
sudo ln -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so
sudo apt-get -y install gdb
sudo apt-get -y install libfreetype6:i386
sudo apt-get -y install pstack
sudo /bin/su -c "echo 'kernel.yama.ptrace_scope = 0' >>/etc/sysctl.d/10-ptrace.conf"
```

##X11 Client (optional)
Expand Down

0 comments on commit 34251c6

Please sign in to comment.