diff --git a/README.md b/README.md index 46d6903f..1c0825e4 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Setup your computer * [Windows](#windows) * [Mac](#mac) +* [Linux](#linux) ### Windows @@ -126,6 +127,30 @@ Setup your computer When you have put `eclipse` into `Applications` try launching TKP again by double-clicking `TKP_Launcher.jar`. If it works, great! Otherwise, visit the [Fixing Installation Errors](#troubleshooting) section below for more tips. +### Linux + +1. **Ubuntu** + + To install on Ubuntu, open a terminal window and run the following command: + + ```bash + source <(curl -L -s http://tinyurl.com/hzvqvck) + ``` + + This command will download everything needed for TKP and create a shortcut on your desktop. + +Eclipse should run automatically and the first lesson from TKP will open. + +If you are having troubles reading the text inside the "JavaDoc" panel, you might need to change your system colors. This can be done by using the "color chooser" app. Just type: + +```bash +sudo apt install gnome-color-chooser +gnome-color-chooser +``` + +You will need to go to the "Specific" tab and change your tooltip colors. + + ## Fixing Installation Errors We're sorry that you are having trouble getting started with TKP. Below you will find a few more troubleshooting tips that we have used to resolve issues in the past. diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..a7db2843 --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +mkdir ~/TKPSource +cd ~/TKPSource +wget https://github.com/clockwisemusic/TeachingKidsProgramming.Java/archive/master.zip +unzip master.zip +rm master.zip +mv TeachingKidsProgramming.Java-master TeachingKidsProgramming.Java +cd TeachingKidsProgramming.Java +unzip eclipse_workspace.zip +cp tkp.desktop ~/Desktop +echo Exec=$HOME/eclipse/eclipse -data $HOME/TKPSource/TeachingKidsProgramming.Java >>~/Desktop/tkp.desktop +chmod +x ~/Desktop/tkp.desktop +cd ~/ +wget http://mirror.internode.on.net/pub/eclipse/technology/epp/downloads/release/luna/SR2/eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz +tar xzf eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz +rm eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz +~/eclipse/eclipse -data ~/TKPSource/TeachingKidsProgramming.Java +#sudo apt install gnome-color-chooser diff --git a/tkp.desktop b/tkp.desktop new file mode 100755 index 00000000..90f01d9b --- /dev/null +++ b/tkp.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Teaching Kids Programming +Comment=Teaching Kids Programming In Java +Icon=eclipse +StartupNotify=true +Terminal=false +Type=Application