Wednesday, March 26, 2014

How to Install Microsoft Fonts in Linux

Using Linux on a daily basis you'll often find yourself missing some of the standard things you'd find in a Windows OS. For many, this may not be a big deal especially when the missing things are just fonts. But for some of us, they are part of our daily routine.
Students for example are required to use certain standards. Hell, I've had professors who wouldn't accept a paper if not written in Times New Roman.

The good news is that these fonts are just a command line away. There are graphical ways to do this but they may not work in every case. This command line though will get you the fonts you need in most cases of Ubuntu based distros.


sudo apt-get install msttcorefonts

Now this process takes a while to complete. Just be patient while the terminal gets the files and installs them. In the end you will have fonts such as Times New Roman, Arial, Comic, etc.

Monday, March 24, 2014

Sublime Text: How to install in Ubuntu based distributions

Sublime Text is one of the best text editors out there. It is full of features that aim to make every developers life easier. It is available  for Windows, Mac and Linux. In this post I will show you different ways of getting the app for Linux(Ubuntu based distros)




Install via the Package Manager(apt-get):

I know this already answered but you can simply just add to your packages:

For Sublime-Text-2:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

For Sublime-Text-3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Install Manually via Terminal:

Download from the Sublime Site:
32-bit:
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2.tar.bz2
64-bit:
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2\ x64.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2
For Both::
sudo mv Sublime\ Text\ 2 /opt/
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

Enjoy Sublime Text!
Source: Ask Ubuntu