How do I install sublime text 2 text editor?

Questions about applications and software
Forum rules
Before you post please read how to get help
Pottsy2
Level 1
Level 1
Posts: 4
Joined: Wed Dec 19, 2012 9:36 am

How do I install sublime text 2 text editor?

Postby Pottsy2 » Mon Jan 07, 2013 11:53 am

hi I've downloaded the sublime text 2 text editor unfortunately within the tarball there is no read me or install file what do I do?

User avatar
xenopeek
Level 23
Level 23
Posts: 19712
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How do I install sublime text 2 text editor?

Postby xenopeek » Mon Jan 07, 2013 12:40 pm

Post split from viewtopic.php?f=90&t=97158 and moved here. New problems deserve new topics :wink:

I think you can just run the program from the extracted tarball. A member on our Community site has put together an extensive manual on how to install this program to your system in such a way that it is also added to your menu and such. See here: http://community.linuxmint.com/tutorial/view/907. If you are on Linux Mint MATE, note that you should replace the "gksu gedit" part of commands with "gksu pluma". If you are on Linux Mint KDE, that would instead be "kdesu kate".
Image

Pottsy2
Level 1
Level 1
Posts: 4
Joined: Wed Dec 19, 2012 9:36 am

Re: How do I install sublime text 2 text editor?

Postby Pottsy2 » Mon Jan 07, 2013 1:15 pm

Thank you very much Xeno :)

I apologise for wasting your time

Pottsy2
Level 1
Level 1
Posts: 4
Joined: Wed Dec 19, 2012 9:36 am

Re: How do I install sublime text 2 text editor?

Postby Pottsy2 » Tue Jan 08, 2013 5:28 am

I'm working my way through the tutorial, I'm struggling with this part

Code: Select all

 sudo mv Sublime\ Text\ 2 sublime

sudo mv sublime /opt/


This is where I run into problems, it appears the tutorial is attempting to move a file here (as super user) but I cannot see a destination folder for where we wish move the file

User avatar
xenopeek
Level 23
Level 23
Posts: 19712
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How do I install sublime text 2 text editor?

Postby xenopeek » Tue Jan 08, 2013 6:20 am

Well, I think it is renaming first the directory "Sublime Text 2" to sublime. Then that directory sublime is moved to /opt. /opt is in the root of your filesystem.
Image

Pottsy2
Level 1
Level 1
Posts: 4
Joined: Wed Dec 19, 2012 9:36 am

Re: How do I install sublime text 2 text editor?

Postby Pottsy2 » Fri Jan 11, 2013 12:05 pm

brilliant - got it working :)

I had to spend a day or two getting off the ground with Terminal, thank you XEno for your help & good humour

User avatar
xenopeek
Level 23
Level 23
Posts: 19712
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How do I install sublime text 2 text editor?

Postby xenopeek » Fri Jan 11, 2013 12:24 pm

Excellent :D
Image

3xOSC
Level 1
Level 1
Posts: 27
Joined: Sun Sep 30, 2012 2:52 pm

Re: How do I install sublime text 2 text editor?

Postby 3xOSC » Fri Jan 11, 2013 12:54 pm

Oh and a shameless self-plug:

here's the settings you might want to look at if you want to set a default-syntax so you don't have to pick a new one everytime you open it.

: )


(I don't gain anything from advertising my write up, just thought it may be helpful)

leviticus8908
Level 1
Level 1
Posts: 25
Joined: Fri Nov 09, 2012 8:17 pm

Re: How do I install sublime text 2 text editor?

Postby leviticus8908 » Mon Feb 11, 2013 6:12 pm

I am also trying to install Sublime Text 2 and I get the following error after the 'sudo mv sublime /opt/' command:

Code: Select all

levi@levi-Inspiron-1525 ~/Downloads $ sudo mv sublime /opt/
mv: cannot move `sublime' to `/opt/sublime': Directory not empty


I'm not sure what this means or how to deal with it. Any suggestions would be appreciated. I am running Maya MATE 64-bit.

User avatar
xenopeek
Level 23
Level 23
Posts: 19712
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How do I install sublime text 2 text editor?

Postby xenopeek » Mon Feb 11, 2013 6:30 pm

It means there is already something in /opt/sublime, so moving sublime to /opt would overwrite that. Check what files are already in /opt/sublime?
Image


Return to “Software & Applications”

Who is online

Users browsing this forum: danebe01 and 2 guests