What is PPA( Personal Package Archive)?

Using a Personal Package Archive (PPA), you can distribute software and updates directly to Ubuntu users. Create your source package, upload it and Launchpad will build binaries and then host them in your own apt repository.
That means Ubuntu users can install your packages in just the same way they install standard Ubuntu packages and they'll automatically receive updates as and when you make them. 


**If you're using the most recent version of Ubuntu (or any version from Ubuntu 9.10 onwards), you can add a PPA to your system with a single line in your terminal. 


Step 1: On the PPA's overview page, look for the heading that reads Adding this PPA to your system. Make a note of the PPA's location, which looks like:


ppa:atareao/lenses

Step 2: Open a terminal and enter:

sudo add-apt-repository ppa:atareao/lenses

Your system will now fetch the PPA's key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. 


Step 3: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update

STep 4 Now you're ready to start installing software from the PPA!

sudo apt-get install scope-youtube


This is going to be an interesting post.. but why? because I am going to talk about Games.. The easiest way to play awesome games on the Ubuntu is : Steam

So, first step is to install Steam in Ubuntu...

Let's do it...

Go to Ubuntu Software Center and search for 'Steam'.

Don't freak out if you see buy in place of install. It is free.

Click on the buy button and it will redirect you to Ubuntu One account page for authentication.

Just put your credentials there and installation will start...


Once this is done , you have to click some next buttons.


Updating Steam.. this is going to take some time based on your internet connection.


Still Updating.........




Once this step is done.You have to register for a Steam account if you don't have any.


There will be two additional step.. one is related to email confirmation and second is related to security question.

HEY !!, Steam just got installed successfully.

Now, just login...


And play games...





You probably have a question like the title of this post, crawling in your mind.
In window, we generally use task manager to see how many processes are still running and to end unresponsive processes ( I just use to end the processes !!!).

I normally use two methods in Ubuntu to kill unresponsive and refractory processes..


1. System Monitor:

It is much like the window's task manager. Same kind of interface to play with.
Just go to dash and write System Monitor.


Go to the Processes -> Select the application -> Click End Process.

 There is one more way to kill an application using Terminal...

2.Through Terminal:

Open your terminal and type xkill command.


Hit enter. You will be able to see a cross like sign. Just put this mark on the application ,you want to close.

Click or tap on that application.

You should feel contrite because you just murdered one living application !!!

Why do we need to delete apps from heroku?

Because of application limit....

Application limit
Unverified accounts can create a maximum of 5 apps. Add a credit card to verify your account. No more than 100 applications can be created on a single account.

And also, as mentioned here:

If the unpaid balance is for the current (or recently ended) month, you may have to wait for the billing cycle to complete and automatically charge your card. If you haven’t already, be sure to delete your apps so that your balance does not continue to rise or create new invoices in the meantime.

So, let's see how to delete apps from heroku....

I hope you already have heroku installed in your system...

Open terminal.
First see, how many apps are there in your heroku account using this command.
$heroku apps

 Now, just choose which app you want to delete...
$ heroku apps:destroy -a app-name --confirm app-name


That's it !!












Today's post is about customizing your terminal. We can still do a lot in terminal , it is not just bounded to run some commands. We can also customize terminal to show some messages...
Customization:

Show your name and current date time whenever you open terminal..

 Steps:

 Open terminal.
 Put this command:
 $gedit ~/.bashrc



Just put below mentioned line at the end of the file:

echo "Hello $USER, today's date is $(date +"%A, %d-%m-%y")"

Save this file and close your terminal.

Open terminal again and you will see something like this time:

 





You can easily install python in your windows OS with the help of ActiveState binaries. In one of my previous posts, I have already explained installation process of Ruby language. We are going to follow the same steps but this time for a new language.

So, first of all go to this site: ActiveStatePython


As you can see in the above screenshot, there are two setups available based on your OS, grab which is more suitable.

Suppose, you are not specifically the windows user and want to install in some other operating system then also there are different versions available as mentioned in below screenshot:


It is advisable to pick the latest one, so download version 3.3.2.0.The setup would be around 39 mb.

Once the setup is completely downloaded, You just have to follow next-next process to install python in your system.






You can browse all the python related files in the installable directory.(C:\Python33\ here..)




I have been trying to install Ruby on Rails by reading some online documents and it was not at all good experience.You really need to install hack of the things to make it work on windows. And even after proper installation , you will be puzzled about its working.So, I looked for other options and was pleased to know that there was actually a less cumbersome way.

So, how to do it...

Visit this site and be there for 5 minutes, just look around.


There are different versions available. It is recommended to grab the latest one. So, click on the Windows Ruby 1.9 green button. This setup will be around 60 mb.

You don't have to do anything extra, just install it in your system with normal next-next process.

Click on the Windows Start button-> All Programs ->RailsInstaller Folder

Click on the RailsInstaller-> Command Prompt with Ruby and Rails. A command prompt will pop up.

Let us check our server whether it is running or not...

Create a Project (tickets in this case...) with below mentioned command:

rails new tickets


Once, this command is completed. Go to your project directory (with cd command..)
and type command : rails server


Now, check whether the server is running properly or not by opening your browser and typing this address: http://localhost:3000/

You should see something like this:


© 2015 Techie's House. Designed by Bloggertheme9