Adding Software to PCLinuxOS
The title of this page sound like something simple to accomplish. It can be a simple task, or it can be as complicated as you want it to be. One philosophy behind Linux is the ability to be able to add software from any source you wish. However, each distribution has its own set of repositories where software can be installed to that distribution. This is necessary to keep the distribution stable and trouble free. PCLinuxOS is no exception.
PCLinuxOS has only one repository for all installable software, and it is generally kept up to date. There are also numerous mirrors that replicate the repository.
The official policy regarding software installation and updating is simple: All software is to be installed and updated using only the Synaptic Package Manager. If there is a package you want to see that is not in the repository, simply request that package in the PCLinuxOS Forums.
While you can add third party software such as required proprietary drivers to get some devices working, Texstar and others do not recommend you do so. This is because of potential and possible conflicts with the software provided in the official repository.
This does not mean you cannot add third party software to PCLinuxOS, or compile a source package for that matter.
For software packages such as Eclipse, which come in a tarball and are Java applications, I recommend installing these in an empty directory within your home directory. For example: ~/eclipse.
Traditionally, the /usr/local and /opt directories are ideal for third party software installation. This is true for PCLinuxOS with a few exceptions (notably the Acrobat Reader, OpenOffice.org, and LibreOffice, which always uses the /opt directory for installation, especially when they are installed from RPM packages).
The best place to install third party binaries is ~/bin. (Yes, you must create this directory from within your home directory, as ~/bin is not present after installing PCLinuxOS to your hard drive.)
By using /usr/local and ~/bin, you ensure that third party software will not interfere with your PCLinuxOS installation. If you choose to use /opt, check the contents of that directory to be sure there is not already a software package with the same name in the /opt directory so that your third party package installation does not conflict with anything in your PCLinuxOS installation.
Keeping PCLinuxOS Up To Date
There is only one official method to keeping PCLinuxOS up to date. You must be connected to the Internet when you do this as the procedure can involve large transfers of data from the Internet.
- Launch Synaptic Package Manager. You will need to supply the superuser (or administrator) password.
- Click on the Reload button. This refreshes the package lists Synaptic uses.
- Click on Select All Upgrades.
- Click on Apply to complete the process.
If you click on the Status button, you will see a listing in the sidebar within Synaptic. If New in Repository appears in the list, this means that new packages have been added to the PCLinuxOS repository. You may want to select this to see if you want to add the new packages to your installation.
PCLinuxOS Tip: If you really want the latest software from the PCLinuxOS repositories, you should donate at least $25.00 USD per year towards PCLinuxOS development. PCLinuxOS relies on donations to fund development, and donating financially will give you access to the Premium Access Software Server, where the latest versions of software packages for PCLinuxOS are stored. New packages and updates are available here first, before they are stored in the mirrors. This alone should be an incentive for anyone using PCLinuxOS to donate towards the distribution's development.
Why is this tip here? While PCLinuxOS may be free to download, install and maintain, it costs money to develop the distribution. Among costs are the hardware needed to develop the distribution, internet access, costs to access the servers to store the repositories, cost of electricity to operate the development facility, and of course costs normally associated with living. (We need to eat and sleep after all.)
Installing and Maintaining LibreOffice and Other Applications
LibreOffice is installed and maintained on PCLinuxOS by the LibreOffice manager, a script that automates the process of downloading the tarball containing RPM packages that make up the LibreOffice distribution. When LibreOffice is updated, you will be able to download an update of the LibreOffice manager (called lomanager in Synaptic).
LibreOffice Manager will check to see if the system has been updated properly before attempting to install and/or update LibreOffice. If there are uninstalled updates, you will be asked to update PCLinuxOS before you can install LibreOffice.
I strongly suggest that you install at least a Java Runtime Environment on your PCLinuxOS installation before you proceed here. LibreOffice require some version of Java be installed. The easiest way to do this is to launch Synaptic and install task-java, which can be found in the Tasks section of Synaptic. Click on Apply to install all the required files.
Since the original writing of this article, Oracle Virtualbox is maintained the same way, with separate utilities.
Important Note: Each time you update Virtualbox, you must reboot your system as kernel modules for Virtualbox are rebuilt on your system.