Category Archives: Linux

Install apps in openSUSE Linux with zypper


openSUSE is one of the customizable and developer friendly Linux distribution. You can install SUSE along with Windows or can be install using VirtualBox, which is the easiest way of trying this Linux on Windows/Mac.

Zypper

zypper is a command line utility like apt, which fetch application from SUSE’s repository.

Search for an app

You can search for an app/package in the repository using zypper option

sudo zypper search sublim

In this case I search for sublimText package.

Install the app

You can install the app using the package name as

sudo zypper install sublimText

How to INSTALL DJANGO ON WINDOWS 7?


‘Django’ was one of the popular Python framework, which can be used to create beautiful dynamic website from scratch. Write less and do more that is the frameworks mean to. You don’t need to start from the beginning, Django will take care of that.

How to get my copy of Django?

Well, it is a free framework free of cost, you can download and use Django 1.6.5 or later along with Python 3.3 or prior version on Windows/Linux/Mac or on almost any Computer OS.

Installing Django on Windows 7 and later

Make sure that you have latest Python version installed on your computer. You can download it from Python.org. Extract the Django .Zip/.tar file, using Winzip or 7zip (preferably C:/, root directory).
Setting Python paths on windows will let you run it from any drive, learn how to.
Let’s install the Django, issue the following command using Power Shell or command prompt (Run->PowerShell).

C:/> CD django1.6.5
C:/>django1.6.5> Python setup.py install

And it will run the python script for installation. All file required will be automatically copied to the Python Lib\site-package folder securely. After the process you can safely delete the extracted folder from the C:\ drive.

Installing Django on Linux

On Linux you have prebuilt Python on it, so no need to install it separately. Just extract Django .tar file and run the setup script.
Verifying the Django installation

Run the following on Python prompt

>>> import django
>>> print (django.get_version())

Will result in displaying the current version as (if everything went right)
1.6.5

That’s all

Create app launcher in Fedora


Fedora Linux is not meant for everyone, it is for developers and those who love to learn developing. You can add application using neat GUI or use dnf[treminal] to search and install packages you needed.

Some ventors supplies tar file which require manually run from terminal. For convenience you can create launchers for them, so that you can run them as regular applications.

Desktop Entries

Desktop entries are responsible for showing application menus under differrnt categories. My Fedora uses GNOME desktop which has Activities menu, shows favourietes and menus

Where should I place applications files

I recomment you should place application files on usr/share, you need to extract the tar/zip files on home folder then move to the share folder using following way In this example we have Typora Markdown Editor, extract the file and open terminal and issue following command

sudo mv Typora-linux-x64 /usr/share

This will place the typora file to the share folder, you can’t directly place or copy without sudo command in /share or application files

Desktop Entry format

[Desktop Entry]
	Name=FooCorp Painter Pro
	Exec=foocorp-painter-pro
	Icon=foocorp-painter-pro
	Type=Application
	Categories=GTK;GNOME;Utility;   

For more options and guides for desktop entry visit GNOME Guide

Create Desktop Entry and move it to applications folder

create a Text file with named typora.desktopentry with following content

 [Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Typora
Comment=A sample Markdown Editor
Exec=/usr/share/Typora-linux-x64/Typora %f 
Icon=/usr/share/Typora-linux-x64/typora_icon.jpg
Terminal=true

Let’s move it to the /usr/share/applications/

sudo mv Ttypora.desktopentry /usr/share/applications

Now check the menu for the entry, I additionally added a image file for use as icon

How to Install Pinegrow on Fedora/Linux


Pinegrow Web Editor

alter text

Pinegrow is a easy to use web editor which help designers quickly develop and deploy web desines. It is tool for developers and designers as well. The software come with 30 days trial and after that you can buy a copy.

Using Pinegrow on Linux

Pine grow can be installed on Windows/Mac/Linux. In Linux you no need to install instead you use binary file to execute.

Follow these steps to install Pine grow on Linux.

  • Download Pinegrow for Linux Zip file
  • Extract the files
  • Make sure the PinegrowLibrary File is executable
chmmod +x PinegrowLibrary

Execute the file by using

./PinegrowLibrary

and it will launch the Pinegrow

Infact you can extent the trial period unlimted by moving the system date backaward.