Posted: . At: 11:18 PM. This was 7 years ago. Post ID: 4833
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

How to install updates on various Linux and UNIX distributions.

The MS DOS operating system has quite a lot of command-line arguments that may be used to ease the task of file management. Sure, it is no match for the Linux shell, but the DOS operating system in its time. But then along came the easy to use Linux distributions such as Mandrake Linux and the SUSE branded distribution that popularized easy to use and fun Linux distributions that had nice wallpapers and lots of software available for installation from the four CDROM disks the distributions would ship on. I remember purchasing a Linux magazine that had a dual-layer DVD disk of SUSE 9:2. That was awesome, the amount of software it came with was incredible. I wish that Linux distributions such as the aforementioned SUSE would still make a disk image like that available for download, that would be nice; but with just about everyone having 10 Megabits per second Internet and up so just downloading the CDROM ISO image and installing the extra packages with the sudo zypper emacs command for example makes a lot of sense. The below commands will update the packages list and install pending updates on the OpenSUSE distribution.

sudo zypper ref
 
sudo zypper up

That is how easy it is to install updates using the OpenSUSE distribution; on Ubuntu you of course use the commands below.

sudo apt-get update
 
sudo apt-get upgrade

Here are the commands used to update the Arch Linux distribution. This is a rolling release distribution that is very fast and a very good Linux distribution that can be built up from a minimal installation like Debian.

pacman -Sy
rm -rf /var/run /var/lock && pacman -Sf filesystem
pacman -S tzdata
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-i686.pkg.tar.xz
rm /etc/profile.d/locale.sh
pacman -Su --ignore glibc
pacman -Su

I have tried the Arch Linux distribution before and it impressed me with the speed and reliability of the packages that it installs. I have said bad things about this distribution in the past, but I take them back. If you want a fast and reliable Linux desktop; this is the one to choose for customization of the installation and freedom to setup the distribution however you want. I just wish that the Trinity desktop; which is the fork of the KDE 3.5 code would be made available as a standard installation option in the Ubuntu and Linux Mint distributions. That desktop looks very promising, if I could install that desktop in Ubuntu 12.10 that be incredible; KDE 4.9 is all good, but the Trinity desktop is one that I want to try out for myself to compare the performance to the newest KDE desktop. But the latest Unity desktop does have good performance; some people do not like it due to the layout; but it has the dash that can search for installed applications very easily and also for media files that you want to play. The Fedora Core distribution uses the YUM package manager. You may install Fedora updates this way.

yum update

To install security updates to the FreeBSD ports tree; the portsnap command is used.

# cd /usr/ports/ports-mgmt/portmanager
# make install clean

Then run the portsnap command to fetch and install updates.

# portsnap fetch extract

Now you run the portmanager command to install pending updates.

# portmanager -u

To run this whole process again; type these commands.

# portsnap fetch
# portsnap update
# portmanager -u -l

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.