Saturday, January 31, 2015

Installing PlayOnLinux on Mint 17

I installed PlayOnLinux on Mint 17. It is a software (GUI for Wine) that allows to run Windows applications on Linux.

The reason is mainly that I wanted to read (on my Mint box) Kindle e-books that I have already purchased over the years. Generally I use my (non-kindle) tablet to read e-books, but some of books are about Ruby programming and I want to read them on my Mint box while doing some programming. From now on, I am going to avoid buying Kindle books unless it is absolutely necessary.

1. Resources

2. Installation

  1. Open Synaptic Package Manager.
  2. Search for and install "playonlinux".
It installed following packages, including Wine itself (1.6).

curl (7.35.0-1ubuntu2.3)
icoutils (0.31.0-2)
imagemagick (8:6.7.7.10-6ubuntu3)
imagemagick-common (8:6.7.7.10-6ubuntu3)
libencode-locale-perl (1.03-1)
libfile-listing-perl (6.04-1)
libhtml-parser-perl (3.71-1build1)
libhtml-tagset-perl (3.20-2)
libhtml-tree-perl (5.03-1)
libhttp-cookies-perl (6.00-2)
libhttp-date-perl (6.02-1)
libhttp-message-perl (6.06-1)
libhttp-negotiate-perl (6.00-2)
libio-html-perl (1.00-1)
liblcms2-2:i386 (2.5-0ubuntu4)
liblqr-1-0 (0.4.1-2ubuntu1)
liblwp-mediatypes-perl (6.02-1)
liblwp-protocol-https-perl (6.04-2ubuntu0.1)
libmagickcore5 (8:6.7.7.10-6ubuntu3)
libmagickwand5 (8:6.7.7.10-6ubuntu3)
libnet-http-perl (6.06-1)
libwww-perl (6.05-2)
libwww-robotrules-perl (6.01-1)
libwxbase2.8-0 (2.8.12.1+dfsg-2ubuntu2)
libwxgtk-media2.8-0 (2.8.12.1+dfsg-2ubuntu2)
libwxgtk2.8-0 (2.8.12.1+dfsg-2ubuntu2)
ocl-icd-libopencl1 (2.1.3-4)
ocl-icd-libopencl1:i386 (2.1.3-4)
p7zip-full (9.20.1~dfsg.1-4)
playonlinux (4.2.2-1)
python-wxgtk2.8 (2.8.12.1+dfsg-2ubuntu2)
python-wxversion (2.8.12.1+dfsg-2ubuntu2)
wine (1:1.6.2-0ubuntu4)
wine1.6 (1:1.6.2-0ubuntu4)
wine1.6-amd64 (1:1.6.2-0ubuntu4)
wine1.6-i386:i386 (1:1.6.2-0ubuntu4)

The installer created a new menu group "Wine". But it did not create menu item for PlayOnLinux. So I added a new menu item for "PlayOnLinux" and placed under "Wine" menu group.

3. Test

First, I opened "Notepad" from the Wine menu.

Before opening Note window, it found missing a couple packages and automatically installed them though it failed once during the installation. I just kept clicking "Install" button and it finally opened Notepad window.

Then, I clicked "Browse C: Drive" from the Wine menu. It showed the following window.

Finally, I clicked "PlayOnLinux" menu item I have created to open "PlayOnLinux".

It seems that Wine/PlayInLinux is playing fine.

4. Notes

Even though I read instructions in the PlayInLinux home page's download page, I did not follow. It warns: "Ubuntu Precise (and superior) users : You must install the package wine:i386 to get PlayOnLinux working".

I searched for an instruction for Mint 17 because of this warning but did not find any. So I decided to use Synaptic Package Manager to install because it automatically finds and shows all related packages that are required. Yes, it did install "wine1.6-i386:i386 (1:1.6.2-0ubuntu4)"

Friday, January 30, 2015

Installing git on Mint 17

1. References

2. Pre-installation

$ git --version
The program 'git' is currently not installed. You can install it by typing:
sudo apt-get install git

3. Installation

$ sudo apt-get install git
.
.
The following NEW packages will be installed
  git git-man liberror-perl
.
.
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.1) ...
Setting up git (1:1.9.1-1ubuntu0.1) ...
$ git --version
git version 1.9.1

4. Configuration

$ git config --global user.name "myname"
$ git config --global user.email "myname@myhost.com"
$ git config --global color.ui auto # colorize command line

Sunday, January 4, 2015

Installing Sublime Text 3 on Mint 17

I have installed Sublime Text 3 on Mint 17.

1. Resources

Sublime Home Page: http://www.sublimetext.com/

2. Installation

I installed it using Synaptic Package Manager since it had a latest version (build 3065). See Download site for to confirm latest version: http://www.sublimetext.com/3

a. Open Synaptic Package Manager.
b. Search and install "sublime-text".
c. After installation, the sublime-text appears in the Programming menu.

Installing Bitnami Ruby Stack on Mint 17

I have installed Bitnami Ruby Stack on my Mint 17. Bitnami Ruby Stack is a complete ruby development environment that includes Ruby, Rails, SQLite, MySQL, PostgreSql, Apache, Nginx (for Linux), Git, Subversion, RVM, PHP, Node.js, etc. This is one of the easiest single click installation methods for ruby development environment.

1. Sources

Bitnami Ruby Stack Isntaller download site: https://bitnami.com/stack/ruby/installer

2. Download

I downloaded "Ruby Stack 2.1.5-1 Dev (64-bit)" from https://bitnami.com/stack/ruby/installer

3. Installation

a. First make the downloaded file (bitnami-rubystack-2.1.5-1-dev-linux-x64-installer.run) executable.

(1) Right click on the downloaded file and open its Properties window.
(2) Goto Permission tab and turn on Executable check box.

b. Now execute the file to install.

(1) Double click to execute the installation file. (You have to wait for several seconds before seeing welcome screen.)
(2) I selected all features that include:

(3) I made a change to the destination: home/socrateos/rubystack/rubystack-2.1.5-1 (instead of suggested home/socrateos/rubystack-2.1.5-1) so that I may be able to install future version(s) in the same common directory "rubystack".

(4) Server manager shows initial servers that are running.

3. Create Short cuts

I have created desktop short cuts for the following files:

a. manager-linux-x64.run - to launch server manager (stop & start web and db servers)

b. rubyconsole - to launch terminal with all ruby path set up temporarily. Bitnami ruby does not interfere with normally installed ruby.

(1) Test ruby console. Double click to open the Ruby console
(2) Run a ruby command:

$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]