The Simplest YUM Guide

Published on:
Tags:

Hi! This post will make you familiar with the YUM utility provided with Fedora. You can easily download, install or remove any package/module after going through this easy YUM guide. Taking you directly to the commands, If you want to search for a module:

yum search <module name>

To get information about a module:

yum info <module name>

To install a module:

sudo yum install <module name>

To remove a module:

sudo yum remove <module name>

To check for updates:

yum check update

To install updates;

sudo yum update

To update a single module:

yum update <module name>

excluding a module from being updated:

yum --exclude=package <module name> updated

To find out the dependencies of a module

yum deplist <module name>

To uninstall a module:

yum remove <module name>
or
yum erase <module name>

To search for a module which can be directly installed using YUM

yum list | grep <module name>

To find whether a module has been installed or not:

yum list installed | grep <module name>

If in the output you see the package listed then it is installed else there will be no output.



To install a yum group. Say I want to install the group of editors

yum groupinstall editors

To remove the editors yum group

yum groupremove editors

To update a yum group:

yum groupupdate <group name>

To list packages in a YUM group:

yum groupinfo <group-name>

To list YUM groups:

yum grouplist | less 


To know the kernel-images currently installed:

rpm -q kernel

To remove old kernels:

sudo yum remove kernel

Fedora retains the three latest kernels to ensure that there is always a working kernel installed, in case the latest kernel breaks something. The limit can be changed by changing the value of ‘installonly_limit’ in the ‘/etc/yum.conf’ file.

To remove a specific kernel:

sudo yum remove <kernel package>

Creating a WiFi Hostspot in Windows

Published on:
Tags:

Hi! This post will tell you how to create a WiFI hotspot from your Windows 7 Laptop/PC.


It is very easy to set up your PC/Laptop as a Virtual Router. First of all you need to check whether your network card support this feature or not. To check run cmd.exe with administrator privileges and type in following command:

netsh wlan show drivers

If in the output there is a line saying

Hosted network supported : yes

then you are lucky and all set to go.


Now in the command prompt run the following command to configure the Virtual Router

netsh wlan set hostednetwork mode=allow ssid=<network ssid> key=<password> keyUsage=persistent

The parameter keyusage which is set to persistent is required so that your system remembers the password set for the network created even after you reboot your system.


Now to start the network just type in the following command in the command prompt:

netsh wlan start hostednetwork

and you are done. You have just converted your PC into a Virtual Router. But before you can actually use your Hotspot network to access the internet you have to do one more step which is to allow your original Wi-Fi network be accessed by other devices for which you need to go to wireless properties and under the sharing tab enable the option saying “Allow other devices to connect to this network”


To see the information of the Hostednetwork run the following command:

netsh wlan show hostednetwork

and to stop the hostednetwork:

netsh wlan stop hostednetwork

You can also change the password of your network by just typing a simple command:

netsh wlan refresh hostednetwork <newpassword>