How do I install sublime text 2 text editor?

Questions about applications and software
Forum rules
Before you post please read this

How do I install sublime text 2 text editor?

Postby Pottsy2 on 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?
Pottsy2
Level 1
Level 1
 
Posts: 4
Joined: Wed Dec 19, 2012 9:36 am

Linux Mint is funded by ads and donations.
 

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

Postby xenopeek on 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".
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14660
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Postby Pottsy2 on 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 on 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
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 xenopeek on 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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14660
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Postby Pottsy2 on 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
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 xenopeek on Fri Jan 11, 2013 12:24 pm

Excellent :D
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14660
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Postby 3xOSC on 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)
3xOSC
Level 1
Level 1
 
Posts: 29
Joined: Sun Sep 30, 2012 2:52 pm

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

Postby leviticus8908 on 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.
leviticus8908
Level 1
Level 1
 
Posts: 26
Joined: Fri Nov 09, 2012 8:17 pm

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

Postby xenopeek on 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?
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14660
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot] and 27 guests