What are binary and source packages?

While learning to use a Linux or BSD dedicated server, you are likely to encounter the terms binary and source software packages. Depending on your actual operating system, it may use one, the other or both as default methods of software installation.
A source package is a file archive that contains the full source code of […]

How to Force Installation of Ubuntu Packages Kept Back

Ever so often, you might try to update your Ubuntu Server packages and find that certain ones are “kept back” during the upgrade process. These will often be kernel or other mission critical packages that do not get updated.
The reason some packages might get kept back is that some dependencies have been changed for them, […]

How to Manually Install Packages on a Debian Server

On Debian and Debian-based servers (such as Ubuntu Server), the primary method of package installation is APT. Using the apt-get command, you can download and install software from the distribution and third-party repositories with relative ease. There may come a time, however, when you need to install a deb package that is not from your […]

How to Remove Old Downloaded Packages from APT

One of the routine end-of-year tasks you might want to perform is the removal of old packages that your system downloaded but may no longer need. You may have installed applications and later uninstalled them, but your package manager sometimes keeps those downloaded packages in case you need them later. Fortunately, with APT, it is […]

How to Create a Virtual Machine in Cloudmin

There are many ways to create virtual machines and many virtualization tools you can use. KVM is one tool that is built into most Linux distributions. Cloudmin, an optional add-on for Virtualmin and Webmin, can provide a graphical interface for creating and managing virtual machines.
To create a virtual machine in Cloudmin, do the following:
1. Click […]

How to Install and Remove Packages in FreeBSD

If you have used Linux servers, you are probably very familiar with the package management systems, such as YUM or APT. Unless you used Gentoo, however, you may find the package management system in FreeBSD to be noticeably different. What follows is a quick start guide to FreeBSD’s package management system called Ports Collection and […]

How to Checkout Source Code from SVN

On most days, installing software will be easy. You need only login to your server and use its package manager to install the latest applications. On other days, it may be a bit more difficult, particularly if you need to use experimental software that is not yet in your operating system’s package repositories. One common […]

How to Read Server Documentation in Webmin

When you are logged in via SSH, the easiest way to read documentation of commands on a Linux server is to use the “man” command. When you are managing your server from a control panel, however, why should you be restricted from seeing critical documentation? Webmin has a built-in tool that allows you to read […]

How to Update Packages with Webmin

In the previous post, you learned how to install and remove software packages using Webmin’s graphical interface. Today, you will learn how to update individual packages and do a system-wide upgrade, all from within Webmin’s control panel.
Just like installing and removing packages, Webmin will rely on your package manager (APT, Yum, etc.) to update […]

Are There Benefits to Manually Installing Software?

Linux servers have a distinct advantage over most proprietary operating systems because of their extensive package management systems. Whether a server uses YUM or APT, it is much easier and faster to install and update software than using traditional manual installation methods. This raises the question: is it ever a good idea to install software […]

How to Fix APT Dependency Problems

APT is a package management system for Debian and other Linux distributions based on it, such as Ubuntu. For the most part, APT is easy to use for installing, removing, and updating packages.
With a normal APT install, using the apt-get command, a package will install without any problems. Installing a package in an APT repository […]

What to Do When Package XYZ is Not Available

Dedicated Servers do not need a lot of software to run. You have your operating system, basic system services, the web server, mail server, database server, and a firewall. Depending on your setup, you may have other applications, but you usually do not need to install any exotic software. Web applications cover most frontend functions. […]

YUM Tutorial: Undo Package Updates with Rollback

In almost all situations, keeping your server up-to-date with the latest packages is the smart thing to do. In some cases, however, updates (especially more involved upgrades) may cause certain web applications to stop functioning properly or may introduce a new bug that the developers missed.
To make sure you do not get one of these […]

YUM Tutorial: Disable and Remove Repositories

YUM is a package management system for Red Hat Enterprise Linux, Fedora, and Red Hat-based distributions such as CentOS and Scientific Linux. With yum you can keep your operating system and applications up to date without much hassle. The following tutorial will explain how to use yum to remove packages, purge old package headers, and […]

How to Install Local RPM or DEB Files

One of the common problems you may encounter with a Linux server is that locally-installed packages require dependencies in order to work. When you install software directly from your distribution’s package repository: yum or apt-get, for example, these programs will install any necessary dependencies automatically. Sometimes, however, you need to download a single .deb or […]

How to Get Troubled Server Applications Fixed

Picture this.  You wake up one morning to several text messages, emails, and even voice mail messages all saying essentially the same thing.  Something is wrong with your dedicated server.  It could be something small, like a single web-based tool that is not functioning properly, or something huge like an […]

How to Add an APT Repository

APT is a free and open source package management system used by many popular Linux distributions, such as Debian and Ubuntu.  APT provides an easy way to install, update, and remove packages for your server.  By default, APT includes repositories for your installation CD and the default online distribution repositories.  If you want access to […]

How to Install Software on a Linux Server

Installing software on a Linux dedicated server depends on several factors.  Namely:

The Linux distribution you are using
The package availability of the software you want to install
The source of the software.

Linux distributions use package management systems to make installation of software easy.  In most cases, these distributions have online repositories that allow you to quickly and […]

Working with APT on a Debian Server

Debian GNU/Linux and other OSes based on the free and open source operating system, such as Ubuntu, use a package management system called APT to install, update, and remove software.  APT is very powerful and easy to use.  You can access it from the command line via SSH, giving you full control over the software […]

How to Reconfigure Installed Debian Packages

If you have a dedicated server that runs Debian GNU/Linux or a derivative distribution, such as Ubuntu Server Edition, you should be familiar with apt-get. This is the command you normally use to install, uninstall, and update software packages. A simple installation string looks like this:
# apt-get install packagename
When a package is installed, […]

YUM Auto Update Alert

On a dedicated server running CentOS, there are two common options for running system updates: manual or automatic. There are, however, less common options, such as scheduling your own auto updates with a cron job or having your system alert you whenever new updates are available.
There are a couple of reasons why you might […]

Fixing Problems with APT

APT (Advanced Packaging Tool) is the package management system for Debian GNU/Linux and Debian-based operating systems such as Ubuntu. Some Red Hat, CentOS and SUSE Linux users may also prefer to use APT, although it is not the default. As we have previously discussed, the main command for APT is “apt-get” followed by […]

How to Force YUM to Exclude Certain Packages

YUM is the package management system for several Linux distributions, including three major server operating systems: Red Hat Enterprise Linux (RHEL), Fedora, and CentOS. Generally speaking, you can always safely perform updates to the latest software packages offered in the distribution repositories.
There are, however, instances when certain updates are acceptable but others may not […]