There are two ways to install a package in Sublime Text 3: Manually download and install the package. Install the package using Package Control. We will go with Package Control as it is the easier option. What is Package Control? Package Control is the Sublime Text package manager. It includes a list of over 2,500 packages available for install. Sublime Text is the default text editor on all operating systems within the School of Computer Science & Informatics. Sublime Text is a sophisticated editor that can be used for text, markup and prose. This page will tell you how to install packages to extend the functionality of Sublime Text. Users are able to install packages for Sublime Text. Sublime Text also comes in two versions just like Python i.e., 2 and 3 so choose the desired version you want to work with and then go for the installation. Once the download finishes open the executable file and start the setup. The easiest way to install a new theme is via the Colorsublime plugin. A huge thanks to blopker for his awesome contribution! Just search for ‘Colorsublime’ in Package Control and install the plugin. How to install a Sublime Text theme (the hard way) Installing a Colorsublime theme on Sublime Text. Jul 21, 2020 In this article, we have seen how to install sublime text 3 in Linux. How to install packages and a few important packages and shortcuts. This article is not created in relation to configuring sublime text for any specific programming language. In the next article, we will see how to setup sublime text 3 for python development.

Package Control is a convenient package manager in Sublime Text that allows the user to find and install a package quite simply, as well as to remove it, upgrade it, switch it, and many other things. Below I will tell you how to quickly and easily install this add-on in Sublime Text.

Install sublime text mac

Manual Installation

To install Package Control you should go to the official upload website page and download the file Package Control.sublime-package there. Then you should copy this file into the Packages/Installed Packages directory in the folder of the program profile. And you’ve done it! Package Control is now installed.

Automatic Installation

You can install Package Control a lot faster by inputting the appropriate command into the Sublime consoles (triggered with the combination of the shortcuts Ctrl+~).

Installation of Package Control for Sublime Text 2

You should open the console in Sublime Text. Click View > Show Console.

Install Sublime Text 2

Place the line in the console:

import urllib2,os,hashlib;h='2915d1851351e5ee549c20394736b442'+'8bc59f460fa1548d1514676163dafc88';pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp)ifnotos.path.exists(ipp)elseNone;urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));by=urllib2.urlopen('http://packagecontrol.io/'+pf.replace(' ','%20')).read();dh=hashlib.sha256(by).hexdigest();open(os.path.join(ipp,pf),'wb').write(by)ifdhhelseNone;print('Error validating download (got %s instead of %s), please try manual install'%(dh,h)ifdh!=helse'Please restart Sublime Text to finish installation')

Press Enter.

After the installation restart the editor.

Installation of Package Control for Sublime Text 3

Open the console.

Paste the code:

import urllib.request,os,hashlib;h='2915d1851351e5ee549c20394736b442'+'8bc59f460fa1548d1514676163dafc88';pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));by=urllib.request.urlopen('http://packagecontrol.io/'+pf.replace(' ','%20')).read();dh=hashlib.sha256(by).hexdigest();print('Error validating download (got %s instead of %s), please try manual install'%(dh,h))ifdh!=helseopen(os.path.join(ipp,pf),'wb').write(by)

Restart the editor.

The installation of Package Control is one of a few cases that require the restart of the program to apply the changes.

After you have installed Package Control and restarted Sublime, you can go ahead and use this function. Package Control can be accessed from the menu, but a much faster method is the Command Palette which has already been familiar to you. It is opened by using the hotkey Ctrl+Shift+P.

Each of the features in the available list speaks for itself so the work with Package Control is quite intuitive and easy to understand. For instance, when you select the feature “Install Package”, you will find a list of the packages available to install.

When you select the feature “Disable Package”, you will see a list of the installed packages and will be able to select one to switch off. When you select the feature “Enable Package”, you will see the list of the switched off packages and will be able to switch any of them on.

If there isn’t a package you need in the list of the available packages, but you have found its repository (for example, hosted on GitHub), you can add this repository by picking the feature “Add Repository”. Via Package Control you can install not only plugins to improve the Sublime functionality, but also algorithms of the syntax highlighting for a language you need, collections of snippets, theme formatting of the program and so on.

As a developer, data scientist, machine learning engineer, etc. it is essential to code in a user-friendly code editor where there is syntax highlighting as well as easy execution of codes. This is where these third party code/text editors come into action. Numerous text editors are available on the net some of them are paid while some not. These editors help in making the life of every developer easy due to the built-in cool features present. Some cool features are even AI-based like auto code completion and suggestions.

Now, being a developer from the world of Python, it is imperative to choose the best text editor so that it can be used to build, train as well as deploy our work. Some of the best editors present out there are Pycharm, Spyder, VS Code, VS, Notepad++, Sublime Text, Atom, etc. Out of this, my personal favorite is Sublime Text and also loved by many people out there. This text editor not only provides code editing for Python but many programming as well as scripting languages like Perl, Java, Julia, Node, Ruby, C#, and many more.

There are specialized plugins that we need to download and then can start working on Sublime with the desired programming language. This text editor is considered faster than VS Code and even Pycharm and holds a good rank within the data science and machine learning world. So, let’s understand how to download this text editor for Windows Operating System and start working on the same:

Pre Requisites

  • A working Windows Computer version > XP that means Windows 10/8/7/are supported. Although Sublime is available for all the three operating systems that is, Mac, Windows, and Linux but here we will be discussing the downloading process for Windows.
  • Good internet connection.

Installation Steps

  • Open your web browser and type sublimetext.com. Go to the download section and click for the Windows 64 bit installation. A portable version is also available that allows users to use the Sublime Text editor without installing; thus we can carry it on portable USB drives as well.
  • The installation will start for you. The executable file will hardly be of 10.5 MB and will get downloaded instantly.
  • Sublime Text also comes in two versions just like Python i.e., 2 and 3 so choose the desired version you want to work with and then go for the installation.
  • Once the download finishes open the executable file and start the setup.
  • The first page that you will see in the setup will be of selecting the desired location where you want to save the files for Sublime. Select the desired location and then click on Next.
  • Also, one major thing to note is that at least 34.6 MB of free disk space is required for Sublime’s installation.
  • The next page you will see will be Select Additional Tasks. Here Sublime will ask you whether you want to add its icon to Windows Explorer or not. Check it if you want otherwise leave it as it is and click Next.
  • The last page that will open up is the main Installation Page so, just click on Install and wait for it to get properly installed in your system.
  • Once done you will get Sublime and can now start working on it.
  • Open Sublime and you will see a black colored UI with a Menu Bar. Here in the Menu Bar go to the Tools section and under this just fetch the Build System.
  • Click on Python under this Build System to start working on Python Programming language.
  • There are many other features that you can call with the help of Sublime and also you can download plugins for Python by looking at various tutorials on Youtube.

Conclusion

Install Sublime Text Linux

So, this is how Sublime Text can be downloaded for Windows. Also, one thing to note is that Sublime is a paid text editor that is if you want to avail the full benefits from this editor then you can go for the paid versions but the free version supports all the required functions that are needed for any developer. So start coding using Sublime.