Light Table 在經過一年以上的開發,已經推出了新的穩定發行版本。現在它只為 Linux 提供64位的二進制包。
Light Table 0.8.0的改動:
LightTable 0.8.0
下面的步驟會指導你怎麼樣在 Ubuntu 下安裝官方的二進制包,在目前的 Ubuntu 發行版本中都適用(僅僅針對64位)。
在開始之前,如果你安裝了之前的版本請做好備份。
1. 從以下鏈接下載 LightTable Linux 下的二進制文件:
2. 從 dash 或是應用啟動器,或者是 Ctrl+Alt+T 快捷鍵打開終端,並且在輸入以下命令後敲擊回車鍵:
gksudo file-roller ~/Downloads/lighttable-0.8.0-linux.tar.gz
open-via-fileroller
如果命令不工作的話從 Ubuntu 軟件中心安裝gksu
。
3. 之前的命令使用了 root 用戶權限通過檔案管理器打開了下載好的存檔。
打開它後,請做以下步驟:
extract-lighttable
最終你應該安裝好了 LightTable,可以在 /opt/ 目錄下查看:
lighttable-in-opt
4. 創建一個啟動器使你可以從 dash 工具或是應用啟動器打開 LightTable。
打開終端,運行以下命令來創建與編輯一個 LightTable 的啟動文件:
gksudo gedit /usr/share/applications/lighttable.desktop
通過 Gedit 文本編輯器打開文件後,粘貼下面的內容並保存:
[DesktopEntry]
Version=1.0
Type=Application
Name=LightTable
GenericName=TextEditor
Comment=Open source IDE that modify,from running programs to embed websites and games
Exec=/opt/LightTable/LightTable%F
Terminal=false
MimeType=text/plain;
Icon=/opt/LightTable/resources/app/core/img/lticon.png
Categories=TextEditor;Development;Utility;
StartupNotify=true
Actions=Window;Document;
Name[en_US]=LightTable
[DesktopActionWindow]
Name=NewWindow
Exec=/opt/LightTable/LightTable-n
OnlyShowIn=Unity;
[DesktopActionDocument]
Name=NewFile
Exec=/opt/LightTable/LightTable--command new_file
OnlyShowIn=Unity;
因此它看起來像:
lighttable-launcher
最後,從 dash 工具或者是應用啟動器打開 IDE,好好享受它吧!
更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2
via: http://ubuntuhandbook.org/index.php/2015/12/install-light-table-0-8-ubuntu-14-04/
作者:Ji m 譯者:zky001 校對:wxy
本文由 LCTT 原創編譯,Linux中國 榮譽推出