Home Download Buy Blog Forum Support

Installing Sublime Text 2 on Ubuntu

Installing Sublime Text 2 on Ubuntu

Postby MarkRedeman on Mon Nov 07, 2011 12:34 pm

I am trying to install Sublime Text 2 on Ubuntu, but I can't get it to start installing.

I've downloaded the Linux 64 bit download which gave me a .tar.bzw file with the following content:
Code: Select all
- Sublime Text 2
  - lib
    - python26.zip
  - Pristine Packages
    - lots of .sublime-package files
  - PackageSetup.py
  - sublime_plugin.py
  - sublime_text


Runnign sublime_text from the terminal gives the message:
sublime_text: command not found


Running:
Code: Select all
python PackageSetup.py
or
Code: Select all
python sublime_plugin.py
Returns nothing.

Could someone tell me what I'm doing wrong?

Thanks
MarkRedeman
 
Posts: 2
Joined: Mon Nov 07, 2011 12:11 pm

Re: Installing Sublime Text 2 on Ubuntu

Postby ics on Mon Nov 07, 2011 2:54 pm

cd to the directory where you extracted it and write
Code: Select all
./sublime_text
ics
 
Posts: 1
Joined: Fri Nov 04, 2011 5:10 am

Re: Installing Sublime Text 2 on Ubuntu

Postby spadgos on Mon Nov 07, 2011 3:03 pm

assuming that you extracted that file to "/home/me/Sublime Text 2", you can add a launcher shortcut to "/home/me/Sublime Text 2/sublime_text"

Also, you could create a symlink somewhere in one of your PATH folders to it. eg:

Code: Select all
cd /usr/local/bin
sudo ln -s /home/me/Sublime\ Text\ 2/sublime_text


After that, you can launch it by running "sublime_text" from anywhere.
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am

Re: Installing Sublime Text 2 on Ubuntu

Postby MarkRedeman on Mon Nov 07, 2011 4:03 pm

ics wrote:cd to the directory where you extracted it and write
Code: Select all
./sublime_text


When I do that, it gives me an error message:
Can't execute binary file


...
After some searching I tried to download the 32 bit Sublime Text file, which worked. (I thought I had installed the 64bit version of Ubuntu.. (I feel stupid now..))
But it did gave me 4 warnings:
(sublime_text:6605): Gtk-WARNING **: Kan themamodule niet vinden in modulepad: ‘pixmap’,

(sublime_text:6605): Gtk-WARNING **: Kan themamodule niet vinden in modulepad: ‘pixmap’,

(sublime_text:6605): Gtk-WARNING **: Kan themamodule niet vinden in modulepad: ‘pixmap’,

(sublime_text:6605): Gtk-WARNING **: Kan themamodule niet vinden in modulepad: ‘pixmap’,


Which means "Can't find theme-module in module-path: 'pixmap'".

spadgos wrote:assuming that you extracted that file to "/home/me/Sublime Text 2", you can add a launcher shortcut to "/home/me/Sublime Text 2/sublime_text"

Also, you could create a symlink somewhere in one of your PATH folders to it. eg:

Code: Select all
cd /usr/local/bin
sudo ln -s /home/me/Sublime\ Text\ 2/sublime_text


After that, you can launch it by running "sublime_text" from anywhere.

Thanks, this works! :D
MarkRedeman
 
Posts: 2
Joined: Mon Nov 07, 2011 12:11 pm

Re: Installing Sublime Text 2 on Ubuntu

Postby cannotbstopped on Tue Nov 08, 2011 7:18 am

If you want it actually installed so you can easily add it to your launcher and open files through the right click menu use this guys PPA. the .deb doesnt include the files, it just downloads them and installs them from here so its legit and he isnt illegally redistributing as it downloads the files from here.

http://www.webupd8.org/2011/03/sublime- ... u-ppa.html
cannotbstopped
 
Posts: 1
Joined: Tue Nov 08, 2011 7:15 am

Re: Installing Sublime Text 2 on Ubuntu

Postby spadgos on Tue Nov 08, 2011 9:34 am

@MarkRedeman, to fix that error, run this:

Code: Select all
sudo apt-get install gtk2-engines-pixbuf
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], karstenfk and 34 guests