background preloader

Linuxtips

Facebook Twitter

How to install Sublime Text 2 on Ubuntu 12.04 (Unity) | Technoreply. Sublime Text is an awesome text editor. If you’ve never heard of it, you should check it out right now. I’ve made this tutorial because there’s no installer for the Linux versions of Sublime Text. While that’s not a real problem, I feel there is a cleaner way to go around this. Also, this post will show you how to integrate Sublime Text to Unity (which, I’m glad to report, has now matured into a fully functional user interface). So let’s get on with this. [This tutorial has been updated following feedback from AskUbuntu.

Step 1 Download the tarfile that suits you best and extract it. Tar xf Sublime\ Text\ 2.0.1\ x64.tar.bz2 You’ll notice that I got the 64-bit version. Step 2 You’ll get a “Sublime Text 2” folder after extraction. Sudo mv Sublime\ Text\ 2 /opt/ Step 3 At some point you’d want to be able to call Sublime Text from the Terminal by just typing “sublime”. Sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime Step 4 sudo sublime /usr/share/applications/sublime.desktop Step 5. Installing Sublime Text 2 on Ubuntu | Ed Moore. Well it’s been quite some time since my last blog post.

I’ve been really busy with a lot of stuff as well as going on holiday Anyway this week I thought I would install Ubuntu and try and get some apps setup that I just can’t live without. One of the programs that I have been using a lot recently and really really love is Sublime Text 2 . If you haven’t tried it yet, you should. Although this tutorial is specifically for Ubuntu users, almost all of it can be used on both Mac and Windows too. Step 1 : Download it (DUH!) Since I like to keep my programs on the cutting edge, I suggest downloading the latest dev build of Sublime Text 2 .

Step 2 : Extract it Once it has downloaded you can either extract it using the terminal or just use the Archive Manager that is built into Ubuntu. . Create a symlink Now this is one part that I was having some troubles doing. Sudo ln -s ~/Applications/Sublime\ Text\ 2/sublime_text /usr/local/bin/subl subl This will open sublime text. Subl . And there you have it! Install Package Control in Sublime Text 2 | GregPike.net. 5 Practical Examples To Delete / Remove Directory in Linux. Question: How can I delete empty directory, directory with files and sub directories in Linux / Unix ?

Also, how can I use an alias effectively for rm and rmdir command? Answer: You can delete empty directory using rmdir command, or directory with content using rm command. Deletion can be done interactively, recursively, forcefully, or through alias. In this article, let us review 5 practical examples that shows how to delete the directories in Linux like systems. 1. How to Delete Empty Directories in Unix? Rmdir command will delete the empty directories. i.e directory without any sub-directories or files. rmdir DIRNAME To ensure that you are deleting an empty directory you should use rmdir command.

. $ rmdir test rmdir: failed to remove `test': Directory not empty 2. Use option -p, to delete nested directories as shown below. $ rmdir -p dir1/dir2/dir3 Note: Don’t get panic that how a directory can be nested and also empty. The rmdir -p dir1/dir2/dir3 is equivalent to 3. . $ rm -rf DIRNAME 4. 5. How to install Sublime Text 2 on Ubuntu 12.04 (Unity) | Technoreply.