Sunday, 22 September 2013

Y PPA Manager: Easily Search, Add, Remove Or Purge PPAs

This is a extraction of the software makers...
Y PPA Manager is a project I've been working on for a couple of weeks for easily managing and finding Launchpad PPAs in Ubuntu. Y PPA Manager is a tool for easily managing Launchpad PPAs that uses YAD for a graphical user interface (a Zenity fork which comes with a lot of improvements) and comes as a .deb and with a Launchpad PPA for easy updates. Please note that this is a pre-alpha release as I'm the only one who's ever used Y PPA Manager so far.

Y PPA Manager features (in this first release):

  • Add PPA
  • Delete PPA - displays all the enabled PPAs (disabled PPAs will not be listed) and you can delete any PPA from that list
  • Purge PPA - uses the "ppa-purge" tool to downgrade the packages in the selected PPA to the version in the official Ubuntu repositories and disables that PPA
  • List packages in a PPA enabled on your computer - lists all the packages that are available for your Ubuntu version in the selected PPA (only PPAs that you have added to your system and are enabled will show up here)
  • Search in all Launchpad PPAs - will perform a search in all the Launchpad PPAs for the package you enter in the search form. The search uses the Launchpad PPA search so it may return empty PPAs if the PPAs have a description that matches your search, or a PPA with packages for a different Ubuntu version then your current Ubuntu version (or the Ubuntu version you've set Y PPA Manager to search for - see info regarding the settings below). You will be able to perform the following operations on a PPA: add it, list all the packages in that PPA for your Ubuntu version (or the Ubuntu version you've set Y PPA Manager to search for in the settings) - including the package versions, download selected packages from a PPA, copy PPA link (so you can then paste it in a web browser).
  • Settings - there is no GUI option for this yet. But you can modify a few settings by editing the /etc/y-ppa-manager.conf file (you'll find info on the possible settings inside that file). Options include: setting the Ubuntu version for the "Search all Launchpad PPAs" feature, setting the PPA-Purge behavior (automatic - the user will not be prompted; manual: a terminal window will open asking the user what to do from the available list of options in aptitude) and setting the PPA .deb download path.

Y PPA Manager Search
(Searching for "vlc" using Y PPA Manager")

While most of the features are wrappers for some command line tools (Add PPA uses "add-apt-repository", Purge PPA uses "ppa-purge"), there is one feature you won't find in any other Desktop tool: the search feature. There is a search tool for Launchpad PPAs but it did not display the packages in the PPA it finds - Y PPA Manager on the other hand can display all the packages in a PPA that come up in the search results, along with their versions. You will then be able to add that PPA, download some .deb files from it or copy its link.

Y PPA Manager
(Packages in a PPA)

It's nothing major but there wasn't a tool for performing all these operations in the same GUI, this being the reason why I'm launching Y PPA Manager.

Y PPA Manager is of course not perfect since there are a lot of limitations to both bash and YAD, but I don't know any "real" programing languages. I've wrote it for my own use and to learn a few things but as usual I wanted to share it.

Y PPA Manager only works with Launchpad PPAs (so it won't work for other 3rd party repositorties) and Ubuntu!

Install Y PPA Manager

Y PPA Manager should work on Ubuntu Karmic, Lucid, Maverick and Natty so there are packages available for all these Ubuntu versions. However, please note that I've only tested it on Ubuntu Lucid and Maverick (32 bit).

To add the Y PPA Manager PPA and install it, use the following commands:
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

Once installed, you can find Y PPA Manager under Applications > System Tools.


I  still prefer input the above command in terminal but this is a easy option to add a new PPA. You need lunch it and type the name of PPA , using the above PPA will be "ppa:webupd8team/y-ppa-manager"

No comments:

Post a Comment