Installing, Removing, Updating And Searching Packages Using Yum

If you want to quickly learn how to install, remove or update software packages on Fedora or CentOS, here is the short and sweet guide. To use yum you will require an Internet connection and the root password of your system.

Yum stands for Yellow dog Updater, Modified. Yum is currently maintained as part of Duke University's Linux@DUKE project. Using yum you can easily install, remove or update the software packages on your RPM based system. Fedora, CentOS and many other GNU/Linux distributions are based on RPM.

Yum is a command line utility. You will need to open the terminal and become root to use yum. On Fedora 8, click Applications on the gnone-panel, select System Tools and click on Terminal from the drop down menu. On the terminal, ie command line, type

su -
Type the root password

If you see the # symbol on the command line you are ready to go.

Updating all software packages

The first thing I do after installing Fedora is update the system. Free and open source software projects are updated rapidly. To keep your system current you have to update packages installed on your computer from time to time. Fedora maintains many software repositories and their mirrors. Whenever software packages are developed or updated, they would be stored on these repositories. When you update your system using yum, you download the latest packages from these repositories and install them on your computer. To perform a full update of your system type the below command in the terminal:

yum update

Yes, it's just a two word command. Isn't it easy to remember? After you type yum update and hit enter in the terminal, yum checks how many packages needs to be updated. Once it gathers the required information, it displays the name, architecture, version and size of the package. Yum also tells you the name of the repository in which the updates are available. It also gives you the transaction summary and the total download size. After promptly displaying all the above information, yum asks for your approval. If everything is ok, you type y and hit enter. Yum updates all the packages on your computer.

Taxonomy upgrade extras: 

Things To Do After Installing Fedora

Everybody has their own personal preferences in all walks of life. Desktop computer is no different. Every time I install Fedora, I immediately change few settings. The default settings in some applications may not appeal to every body. They certainly don't, for me at least. I will not discuss configuring network, Internet, printer, audio and video drivers in this post because they are more of necessity than personal preferences. Here goes the list.

Taxonomy upgrade extras: 

Creating and Extracting ZIP Archives With Zip and Unzip

In this article you will learn how to create ZIP archives, list, test and extract them. After reading this article you will know how to manipulate ZIP archives on GNU/Linux systems. We already know that zip works well with tar from the Using TAR Command post. Let us discuss how to work with zip and unzip.

Taxonomy upgrade extras: 

How To Create A Password Protected Zip Archive

In my previous post we discussed how to create and extract ZIP archives. This post will teach you how to password protect your ZIP archives. While creating a ZIP archive, optionally, you can encrypt its contents using a password. Take advantage of this option to secure your ZIP archives. This tutorial is short and easy to learn.

Taxonomy upgrade extras: 

How To Print MySQL Dates In mm/dd/yyyy And dd/mm/yyyy Formats

When choosing the MySQL field type to store dates, date is the preferred type. MySQL stores dates in the format yyyy-mm-dd which is seldom used to print dates on web pages. As a PHP developer you will eventually come across a need to convert the MySQL date format into dd-mm-yyyy or mm-dd-yyyy or another format. This post tells you how you can do that in your PHP programs.

Let us create a hypothetical situation to demonstrate the program.

Create the MySQL table.

CREATE TABLE dates (
name varchar(30),
birthday date
)

Taxonomy upgrade extras: 

Touchpad Tap Function Won't Work On Laptop PC

Issue: The laptop PC has the PS/2 Synaptics TouchPad. The tap function or the double click function does not work out of the box on a fresh Fedora 9 install.

Solution: Add psmouse.proto=imps to the grub configuration file

Step 1: Open the grub configuration from a text editor
vi /etc/grub.conf

Step 2: Append psmouse.proto=imps to the kernel line
I am pasting the information from my computer. It may vary slightly on your computer.

Before: kernel /boot/vmlinuz-2.6.25.10-86.fc9.i686 ro root=UUID=c1c4deb3-cc72-4ce6-b76f-4c4a8d61b61e rhgb quiet

Taxonomy upgrade extras: 

Network Manager Icon Is Not Appearing On The GNOME Panel

You want to connect to a wireless network and you can't figure out how to get the Network Manager icon to appear on the GNOME Panel. How frustrating.

Don't worry, here's how you can sort it out.

You have to make sure that

  1. Network Manager service is started and
  2. You have enabled the Network Manager Applet

Below are the steps you need to follow to get Network Manger icon to appear on the GNOME Panel

Step 1: Install Network Manager if not done already
yum install NetworkManager
 
Step 2: Start the Network Manager service
Taxonomy upgrade extras: 

Setting Up MySQL - Database, Users And Sample Table

We discussed how to install LAMP in one of our previous articles. Some of you may be wondering how to create databases, users and tables on your newly installed MySQL server. This blog post introduces the preliminary steps to work with your new LAMP server.

We are going to learn the following:

  • Changing MySQL user password
  • Creating databases
  • Deleting databases
  • Creating MySQL user accounts
  • Deleting MySQL user accounts
Taxonomy upgrade extras: 

How To Install LAMP

how to install LAMPLAMP is an acronym which stands for Linux, Apache, MySQL and PHP. The letter P also stands for Perl and Python programming languages. LAMP is a free software stack which powers, primarily, web servers. Most GNU/Linux distributions bundle these packages in the install media and repositories. Let us take a look at how to install LAMP using Fedora. I will restrict the P in LAMP to PHP only for this article. Perl and Python fans, bear with me.

While installing Fedora you can choose to install "Web Sever" which contains these packages. You can install them later also. Let me walk you through the actual steps to get LAMP working on your computer. I assume you are running Fedora 8 on your computer.

1. Launch the terminal by clicking

Applications>System Tools>Terminal
Taxonomy upgrade extras: 

Are You Looking For .pidgin Directory?

Do you want to copy your pidgin settings from one computer to another? Do you want to fiddle with your pidgin settings? You are likely to look for a directory called .pdigin.

Pidgin stores its files in ~/.purple

Copy that directory to copy your pidgin settings on the new computer.

Taxonomy upgrade extras: 

Pages