Sublime Forum

Installing Sublime Text 2 on Ubuntu

#1

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:

- 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:

Running:

python PackageSetup.py or python sublime_plugin.py Returns nothing.

Could someone tell me what I’m doing wrong?

Thanks

0 Likes

Best way to launch on Linux systems?
#2

cd to the directory where you extracted it and write

./sublime_text
0 Likes

#3

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:

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.

0 Likes

#4

[quote=“ics”]cd to the directory where you extracted it and write

./sublime_text

When I do that, it gives me an error message:


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:

Which means “Can’t find theme-module in module-path: ‘pixmap’”.

[quote=“spadgos”]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:

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.[/quote]

Thanks, this works! :smiley:

0 Likes

#5

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.

webupd8.org/2011/03/sublime- … u-ppa.html

0 Likes

#6

@MarkRedeman, to fix that error, run this:

sudo apt-get install gtk2-engines-pixbuf
0 Likes