A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tricks:application-icon [2015/08/25 01:03] admin [Download/Extract the Application] |
tricks:application-icon [2015/08/25 01:20] admin [Download/Extract the Application] |
||
---|---|---|---|
Line 12: | Line 12: | ||
Then right click on the downloaded .tar.bz2 archive and and select "extract here"... | Then right click on the downloaded .tar.bz2 archive and and select "extract here"... | ||
- | ===== | + | === Move to /opt and change access rights === |
+ | It is of use, in the Linux environment, to put "extra" software in the /opt directory. To do this, you'll need to have admin rights: | ||
+ | <code> | ||
+ | > cd ~/Downloads | ||
+ | > mv "Sublime Text 2" sublime | ||
+ | > sudo mv sublime /opt | ||
+ | > cd /opt | ||
+ | > sudo chown -R root:root sublime | ||
+ | > sudo chmod -R +r sublime | ||
+ | </code> | ||
+ | |||
+ | ===== Create Executable in /usr Path ===== | ||
+ | |||
+ | <code> | ||
+ | > sudo nano /usr/bin/sublime_text | ||
+ | |||
+ | Paste: | ||
+ | #!/bin/sh | ||
+ | export SUBLIME_HOME="/opt/sublime" | ||
+ | $SUBLIME_HOME/sublime_text "$*" | ||
+ | </code> | ||
+ | |||
+ | Save the file (Ctrl+x - y) |