Downloading from a repository

Submitted by Matthew Smith on Sun, 2008-04-27 11:13

Installing with APT on Debian and Ubuntu

My personal package archive (PPA) on the Ubuntu Launchpad system includes packages for recent versions of Ubuntu (Precise, Trusty, Utopic and Vivid; note that packages for Dapper may disappear shortly as they reach the end of their support periods). To access it, you will need to tell your operating system about the archive, by editing your sources list file (/etc/apt/sources.list). The easy way to do this is to enter the following command:

sudo apt-add-repository ppa:indigojo/ppa

Then go here.

To add the repository the old-fashioned way, you can either use a text editor or a desktop package manager like Synaptic.

The line you need to add is this (if you are not using Saucy, replace saucy with precise or whatever):

deb saucy main

You can do this by opening up /etc/apt/sources.list in a text editor (I use JOE, which you can download by typing sudo aptitude install joe, as it is simpler to use than the usual editor, vim). You need to do this as root, by typing sudo at the beginning of the command you use to open your editor (e.g. sudo joe /etc/apt/sources.list). You can copy and paste that line by moving over it with the mouse, with the left button down, and then moving to the window where the editor is running, and clicking the middle mouse button or scroll wheel if you have one, or both mouse buttons together if you don't, to paste the line in. Make sure it's on its own line.

Then type the following two commands:

sudo aptitude update sudo aptitude install qtm

After you have done this, you should find QTM in your desktop menu and ready to load.

You may find it easier to use Synaptic, the desktop client for APT. Synaptic can be found by clicking System, then Administration. You will need to provide your password (and you must be an administrator).

Once Synaptic opens, choose the Settings menu from the menu bar and the Repositories option from that menu. Click the tab that says "Third Party Software", then click the button marked "Add". Copy the following text (by moving over it with the mouse, with the first button down), then paste the "deb http://" line shown above into the box marked "APT line" (by pressing the middle mouse button if you have one, or both of them together).

Then click the button marked "Close", followed by the one marked "Reload" in the main button bar. This will refresh your system's software database. You can then search for "qtm", or you may select the "Networking" section and hopefully find the package there.

QTM is also in the Debian Sid (unstable) and Squeeze (testing) repositories, and may have progressed into Testing by the time you read this. If you are using either, you just need to type the "aptitude" command above.

Installing from the OpenSUSE repository

The OpenSUSE Build Services provides repositories for the last three editions of OpenSUSE Linux plus Tumbleweed. As of Leap 42,1, the distro only supports 64-bit PCs, not 32-bit. You can use the command line to add these repositories to your system or you can use YaST, the graphical configuration tool.

To use YaST, open the YaST main menu (it should be under "System" in the K menu, or "Computer" if you use KDE 4), enter your root password, and then click "Software Repositories" in the YaST Control Centre window.

A window should open which says "Configured Software Repositories". Near the bottom of the window, there is a button which says "Add"; click it. Then select "Specify URL", click Next, and copy and paste one of these links (OpenSUSE 13.1, OpenSUSE 13.2, OpenSUSE Leap 42.1, OpenSUSE Leap 4.2., OpenSUSE Leap 42.3, OpenSUSE Tumbleweed) into the box marked "URL". (You can also give it a name if you like; otherwise, it will be called "OpenSUSE 10.x" which is not very helpful.) Then click Next.

YaST will then communicate with the OpenSUSE repositories so that it knows where to find packages. The "Configured Software Repositories" box should soon reappear, and you need to click "Finish".

After the window closes, open "Software Management" from the YaST main menu. It often takes a while to build its package database, particularly if you use lots of online repositories, but after a while it should display a window with a large empty box on the right and a box marked "Search" on the left. Type "qtm" into that box, and it should find it and display "qtm - A client for content management systems" in the box on the right. Click the square box to the left until a check-mark appears in it, then click the button marked "Accept" at the bottom right of the window. If you do not have Qt 4, it should tell you that it needs to install that; click Accept, and it should install Qt, if necessary, and QTM.

To use the command line, first copy the location of the repository to the Clipboard by right clicking on one of the links above, and selecting "Copy". Then open a terminal, such as Konsole, and type the following command:

sudo zypper ar [paste repo here] qtm sudo zypper ref

During this process, it will prompt you to accept the security key these packages are signed with. This key was generated by OpenSUSE. Then type:

sudo zypper in qtm

This will download the app. If you do not have KDE installed, it may also download the Qt library files.

OpenSUSE Leap 42.1 and later use KDE 5, and these packages use Qt 5, while packages for earlier SUSE versions use Qt 4.

The Fedora YUM repository

The YUM repositories for Fedora are also located at the OpenSUSE build service. YUM is a Python-based program which fetches packages and their dependencies from a server, much as APT does on Debian. You need to configure YUM so that it loads from that repository. Download one of these files (Fedora 24, Fedora 25, Fedora 26) and copy it (as root) to the directory /etc/yum.repos.d. Then, also as root, run yum update so that YUM knows where to find QTM. Once the update is done, you can install QTM by typing:

yum install qtm

The OpenSUSE repository for Mandriva

I have binaries of QTM built for Mandriva 2008 and 2009 in my OpenSUSE build service repository. Here are direct links to the repositories: 2008, 32-bit, 2008, 64-bit, 2009, 32-bit, 2009, 64-bit. You may be able to use URPMI to download these, by clicking one of those four links, finding the package beginning with "qtm" in the file listing that appears, right-clicking it and selecting "Copy", then (in a terminal) typing "urpmi", followed by a space, then selecting "Edit" from the menu bar and then clicking on Paste, then pressing Return. Alternatively, you may install YUM and then add this YUM repository to your collection (follow the Fedora instructions above).

The FreeBSD port of QTM

QTM is in the FreeBSD ports tree. They presently have version 1.1.1. Please refer to the FreeBSD documentation, such as The Complete FreeBSD or Absolute FreeBSD, for details on how to install a port or package on that operating system.