Wednesday, June 29, 2011



Linux Software Administration

Installing software in Fedora? (Using yum or RPM)

Fedora has thousands of pieces of software that can be downloaded and automatically installed from the Internet.

Configuring Package Installation

Many of the packages are only available from rpmfusion.

Installing rpmfusion

1. Open a Terminal

2. Become root:

su -

3. Run the following command:

yum --nogpgcheck install http://rpm.livna.org/livna-release.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Using the GUI to Install/Update Software

You can use the graphical tools to install software by using Add/Remove Software. Fedora will automatically let you know when updates are available for your software.

Installing Software from the Command Line

Use a program called "yum". First become root, and then you can use the following commands:

o To see a list of available software:

yum list available

o To install some software:

yum install packagename

o To update some software:

yum update packagename

Note:- If leave out "packagename" yum will update all your software.

o To see what updates are available:

yum check-update

o To search for a package:

yum search word

Installing Local RPMs

To install an RPM file that you downloaded outside of yum, open up a terminal, and as root do:

rpm -Uvh filename.rpm

If you have Internet access, you can also install local files by doing:

yum --nogpgcheck install filename.rpm

It will automatically download and install any dependencies that that RPM has.

apt for Linux

APT is a program for Debian and Ubuntu Linux that installs not only the software you specify, but also all of that software's dependencies. It makes installing software much easier.

Note:- There is a piece of software like this for Fedora, that comes in the standard Fedora installation. It's called yum. It can automatically download and install a program and all of its dependencies, with just one command.

Installing Flash in Firefox

Open a Terminal.

Become root:

su -

Installing the Adobe repository for yum:

yum --nogpgcheck install http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

Type:

yum install --exclude=AdobeReader* flash-plugin nspluginwrapper.{i686,x86_64} pulseaudio-libs.i686 alsa-plugins-pulseaudio.i686 libcurl.i686

Configure Firefox to see the plugin, by typing:

mozilla-plugin-config -i -g –v

Seeing PDF files inside my browser

Just install mozplugger and xpdf:

Open a Terminal.

Become root:

su -

Install mozplugger:

yum install mozplugger xpdf

This also enables Firefox to open lots of other types of files, like movies, audio, Word documents, etc.

Watching movies in my web browser

Just install the Totem Plugin:

Open a Terminal.

Become root:

su -

Install the plug-in:

yum install totem-mozplugin gstreamer-plugins-ugly gstreamer-plugins-bad

Now, you can see movies on web sites!

Drivers for Fedora

Make sure that you're using my yum configuration.

Become root:

su -

Run the following command:

yum list akmod-\* \*-drv\* kmod-\* dkms-\*

Or (Use search engine)

Fedora NameOfHardware

Or (Use search engine)

Linux NameOfHardware

Read NTFS drive in Fedora

Installing the ntfs-3g program.

Open a Terminal.

Become root:

su -

Type:

yum install ntfs-3g

Now you can read and write to your NTFS drives.

Installing Wine

Wine is a way of running some Windows programs on Linux. It's available using yum:

Open a Terminal.

Become root:

su -

Install wine:

yum install wine

Playing DVDs in Fedora

You just have to install some additional packages for Totem, the Movie Player:

Open a Terminal.

Become root:

su -

Install the software that Totem needs in order to play DVDs correctly:

yum install libdvdread libdvdcss libdvdnav gstreamer-plugins-ugly gstreamer-plugins-bad

Playing MP3s in Fedora

Rhythmbox is the standard..

Installing the correct MP3 plugin:

Open a Terminal.

Become root:

su -

Now, install the correct plugin depending on which MP3 player you want to use:

§ For Rhythmbox or Totem:

yum install gstreamer-plugins-ugly

§ For Audacious (which is like XMMS or Winamp):

yum install audacious-plugins-freeworld-mp3

3D support for nVidia graphics card in Fedora

Open a Terminal.

Become root:

su -

Install the driver:

yum install kmod-nvidia

Reboot your machine:

reboot

Windows file sharing called "The Common Internet File System" (CIFS)

mount -t cifs //1.2.3.4/share /mnt/somedirectory


No comments:

Post a Comment