How to Get the Latest Version of a Program in Ubuntu

(0 votes, average 0 out of 5)

Ubuntu, the popular Linux distribution, is well-known for its stability. This stability is due in part to its 6-month release cycle. Main programs included with Ubuntu are only updated every 6 months. This ensures that the developers have adequate time to test the software for regressions, bugs, and instabilities. However, sometimes it is nice to install the latest version of a program. This tutorial will use the application launcher Kupfer (like Gnome Do or Launchy) but the same procedure applies for other programs.

The easiest way to get the latest version of a program is to install its PPA. A PPA is a Personal Package Archive, or a mini repository just for that particular program. This way, the developers can push new releases only to people who want them, while not affecting the stability of the main system. To find a PPA for the program, visit https://launchpad.net/ubuntu/+ppas and put in the name of the desired program:

ppa-kupfer

If no PPA for the program exists, see the troubleshooting section at the end of this article. If a PPA exists, you will see it listed in the search results (above). Simply click on it and it will open the PPA's main page. You will see instructions for adding a PPA to your system. The easiest way to do this is to highlight the bold text, right-click and say Copy (to copy it to your clipboard). 

ppa-add

Now, open your Terminal program (Gnome Terminal, Konsole, xterm, etc) and type the following command, pasting in the copied text:

1
$ sudo add-apt-repository ppa:kupfer-team/ppa

Once the PPA has been added, update your system and then upgrade the program to the new version:

1
2
$ sudo apt-get update
$ sudo apt-get upgrade

If everything works, the upgrade will finish successfully and you will have the new version of the program installed. Note - you will have to close and start the program again if it is currently open to see the changes.

 

Troubleshooting

Below are some common issues that may come up when using a PPA:

  • No PPA exists for the program: If no PPA exists, then it will be necessary to visit the developer's website. The developer may provide a precompiled .deb file which you can just download and install. However, you will not receive automatic updates for this program as you would with a PPA. The other option is to compile the program from source, which is not covered in this article.
  • The key for the PPA cannot be added: This could be a problem with the Ubuntu keyserver. Try again in a little while and it will hopefully work.
  • The apt-get update command fails: This can occur if the PPA cannot be found or if a version of the program does not exist for your version of Ubuntu or system architecture (commonly i386 or amd64). In this case, you will need to look elsewhere for an updated version of the program.
Partner Links:
Last Updated on Friday, 10 September 2010 08:07  
Related Articles

» Block Comments in Perl

Like many scripting languages, there is no real way to do block comments in Perl.  The proper way to do a block comment is simply to comment out each line with a # along the left side, and in fact many popular text editors such as vim and emacs facilitiate this behavior (we have a tutorial on how to do it in emacs ).There is an easier way to make the compiler ignore a block of code if you are interested in a less visibly-obvious solution.  This is great for short-term solutions but it...

» How to Move (or 'Cut and Paste') a File in Linux

Moving a file in linux is as easy as using the mv command:mv filename.txt foo/bar/newname.txtThe command above would move a file named filename.txt into the bar directory with a new name (newname.txt). If you only specify the directory, the name of the file will not change.

» How to Change File Association in Windows

This guide is valid for Windows XP, Windows Vista, and Windows 7.  Windows holds a default program that should be used to open each type of file on your computer.  Many times, installing a new program (such as iTunes)  that handles certain file types will automatically change what file types it will open by default and often this is configurable after installation as well.  However, you can manually change the program Windows uses with the following steps.Click on Start...