Cannot install Package Control in Sublime Text 2 - sublimetext2

I have followed the instructions at this location:
https://packagecontrol.io/installation#st2
It doesn't matter if I copy and paste the code into the console, or manually place the download file into the Installed Packages/ directory, upon restarting Sublime Text 2, the file is deleted from the directory.
The exact same question is asked here, Sublime Text 2 Package Control installed but is deleted upon Restart
but there is not a solution for that question.
Sublime Text 2 version 2.0.2, Build 2221
Mac OS 10.6.8

Related

Sublime Text 2's phpfmt plugin is not available anymore?

I was used to the phpfmt plugin for Sublime Text, and I'm not able to install it on a fresh installation : the package controller does not seem to find it anymore.
While waiting for a fix, I tried to copy/paste phpfmt folder from Sublime Text's packages folder to my new laptop, but it doesn't seem to work : on the first launch, the plugin is recognized but its directory is deleted.
How can I manually install this plugin ?
As you can see on the Package Control page you linked, the package only supports Sublime Text 3. There's a post on Y Combinator explaining the original author has deleted his version of the package. There is a guide on how to downgrade the package, but I'm not sure that includes Sublime Text 2.

Sublime Text 2 Package Control installed but is deleted upon Restart

I have copied Package Control.sublime-package in the directory ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/
as per instructions in
https://packagecontrol.io/installation#st2
However, after restarting Sublime, the file gets deleted!
None of the answers in Sublime Text 2 - Package Control installed but the list not shown helps to solve this problem.
Any idea what is going on here?

Sublime Text 2/3 - tag multiplier not working on tab

I have just found something on my new Ubuntu installation that has not happened before. I will explain
Normally if i do this code:
div*3 and press tab
I get:
<div></div><div></div><div></div>
But now when I do the same thing, I get nothing. It just "tabs" over the line. This never happened before so if someone knows the answer I would be very thankful.
All this is happening with Emmet already installed
Sublime Text 3: 3059
Ubuntu 12.04 64 Bits
Same is also happening on Sublime Text2.
Sublime Text does not come with the Emmet package by default. You will need to install Package Control first - remember that there are different versions for ST2 and ST3. After it has been installed and you've restarted Sublime Text, open the Command Palette with CtrlShiftP, search for Package Control: Install Package, type in emmet, hit Enter, and it will be installed for you.

Reinstall all sublime text 2 plugins

I'm running Sublime Text 2 with package control installed, as well as a few syntax plugins. But
for no reason at all, whenever I open a rspec file, sublime text gives me this error:
Error loading syntax file "Packages/RSpec/RSpec.tmLanguage": Error parsing plist xml: Failed to open file In file "Packages/RSpec/RSpec.tmLanguage"
Worked fine yesterday. Googling the error didn't offer much help, so my question is, is there a quick way to reinstall all sublime text plugins using the package control?
Go to Preferences -> Browse Packages... and it will open up the Packages folder in your filesystem navigator (Explorer, Finder, Nautilus, etc.). Quite Sublime, then delete the RSpec folder. When you restart Sublime, Package Control should notice that the package is not present and will automatically reinstall it for you.
Alternatively, you can uninstall and then reinstall the package through Package Control. Open the Command Palette and type pcr to bring up Package Control: Remove Package. Hit Enter, type rspec, then hit enter again to remove it. Restart Sublime, bring up the Command Palette, type pci for Package Control: Install Package, find RSpec again, and you should be good to go.

How to install Sublime Text 2 packages via PackageControl from shell

I'm writing a post-install script for my Ubuntu 12.04. The thing I need is to install PackageControl and all the other importent packages to Sublime Text 2 via just installed PackageControl from the shell. How can I do it? Give me some examples, please.
Thank you for your time!
You could try to write your own Code based on PackageControl to support Shell-Access, but that would overly complicate the Plugin-Installation-Process, since
Package-Installation in Sublime Text 2 is nothing more than putting files in its Packages-Directory.
I assume that you want to do this because you want to install Sublime Text on multiple PCs without the hassle of doing manual downloads from every PC.
Just create a fresh Sublime Text 2 Installation, install the Packages you need, and copy the Configuration-directory to each PC. The Configuration is in
~/.config/sublime-text-2
Copying this folder to every PC will copy the Plugins, too.