Newbie Guide: How to Use PPA Purge

9:05 PM

Have you ever upgraded an application via PPA that makes trouble? For example, upgrading Firefox that causes add-ons incompatibility and you want to have your "old" version back? If so, you are in the right place. Today, I'd like to write a post intended for newbie in Linux on how to use PPA Purge. What is PPA Purge? It's an application which lets you to downgrade your installed application to its "original" version from Ubuntu repository. It is like a first-aid-kit when you are going mad encountering many problems after upgrading application from PPA Launchpad.



Installing on Ubuntu
PPA Purge is available in official Ubuntu repository, so you can install it by typing the following command:
  • sudo apt-get install ppa-purge
How To Use PPA Purge
For example, you've upgraded Mozilla Thunderbird from PPA with this command:
  • sudo add-apt-repository ppa:mozillateam/thunderbird-next
To downgrade Mozilla Thunderbird from the above PPA, you should run this command:
  • sudo ppa-purge ppa:mozillateam/thunderbird-next
PPA Purge will automatically remove Mozilla Thunderbird which is installed from PPA and then install the "original" version of Mozilla Thunderbird from Ubuntu repository.

"Unfortunately, I forget what PPA I've used to install the app?" Well, you should make use of "history" command on Terminal combined with "grep" function. Here's the example:
  • history | grep add-apt-repository
The output of the above command is shown below


Now you have a comprehensive list of  "add-apt-repository" commands you've typed on Terminal. They can help you to remember what PPA you've used to install certain application.

Regards :)

0 comments

» read more....

Newbie Guide: How to Change Default Boot for GRUB

7:19 AM

If you are new in Linux, especially for you who still use dual-boot with Microsoft Windows or other operating systems, I will share my knowledge on how to change default boot for GRUB. There are a lot of GUI applications to do such thing but knowing the basic concept is important if you want to know more about Linux. Before we get started, please take a closer look at the picture below:


OK! Let's make an assumption, we have five entries in GRUB numbered with 0 until 4 which number "0" (Ubuntu) is default boot for GRUB. It means that if you don't do anything when this screen appears, the "0" entry will be selected to boot. Now, we want to make the "4" (Windows XP) entry to be a default boot for GRUB. To do such thing, we have to edit "/boot/grub/grub.cfg" file, simply type the following command:
  • sudo gedit /boot/grub/grub.cfg
New Gedit window will be opened and shows the content of "/boot/grub/grub.cfg". Search for statement set default="0"!


Do you find it? All you need to do is changing the "0" number to "4". It makes the "4" entry (Windows XP) set to default boot for GRUB. Don't forget to save your work and reboot to see the changes.

Regards :)

0 comments

» read more....