4

I am very new to Ubuntu and I plan on learning python for which I need to install light table. I couldn't find any specific instructions anywhere on the net. please provide me the steps in detail. Also I couldn't find any opt folder in my home directory and most of the websites tell me that's the place I have to copy the extracted light table folder.

1 Answers1

7

Download the correct version for your system from lighttable.com.

Change directory to wherever the file is located. By default your browser will place it to your Downloads folder:

cd ~/Downloads

Unzip the archive. This will give you a folder called LightTable.
The wildcard '*' in the filename makes this command work for either the 32-bit or 64-bit downloads.

tar xzf LightTableLinux*.tar.gz
rm LightTableLinux*.tar.gz

Move the unzipped folder to '/opt'.

sudo mv LightTable/ /opt

Create a launcher file called 'light-table.desktop'

sudo nano /usr/share/applications/light-table.desktop

and put the following on it:

[Desktop Entry]
Version=1.0
Name=Light Table
GenericName=Text Editor
Exec=/opt/LightTable/LightTable
Terminal=false
Icon=/opt/LightTable/core/img/lticon.png
Type=Application
Categories=GTK;Utility;TextEditor;Application;IDE;Development;

Finally, create a symlink to enable calling Light Table from a terminal:

sudo ln -s /opt/LightTable/LightTable /usr/local/bin/light-table

Source: brandonrubin.me

waldyrious
  • 2,207
Parto
  • 15,647