Difference between revisions of "Fedora Linux Distribution Reference"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m (3rd Party Software)
 
(11 intermediate revisions by one user not shown)
Line 23: Line 23:
 
 
 
 
  
== 3rd Party Software ==
+
== Software Package Management  ==
  
=== TightVNC ===
+
=== Fedora Package Collection List ===
  
An easy way to remotely run the xwindows desktop from a ms-windows system.  Download and install the package:
+
* https://admin.fedoraproject.org/pkgdb/collections/
wget http://downloads.sourceforge.net/vnc-tight/tightvnc-server-1.3.9-1.i386.rpm
+
rpm -ih tightvnc-server-1.3.9-1.i386.rpm
+
  
The only documentation included with the RPM worth reading is at:
+
=== yum ===
/usr/share/doc/tightvnc-server-1.3.9/README
+
  
The binary executables:
+
The yum utility is used to manage software packages on the Fedora Linux system.
/usr/bin/vncviewer
+
*To install new software from package repositories
/usr/bin/vncserver
+
*To install new software from an individual package file
/usr/bin/vncpasswd
+
*To update existing software on your system
/usr/bin/vncconnect
+
*To remove unwanted software from your system
/usr/bin/Xvnc
+
  
To configure the package as a serviceThe RPM places the InitV startup scripts in the correct Redhat places.
+
Usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >
  /etc/rc.d/init.d/vncserver
+
  /etc/rc.d/rc0.d/K35vncserver
+
Options:
  /etc/rc.d/rc1.d/K35vncserver
+
  -h, --help            show this help message and exit
  /etc/rc.d/rc2.d/K35vncserver
+
  -t, --tolerant        be tolerant of errors
  /etc/rc.d/rc3.d/K35vncserver
+
  -C                    run entirely from cache, don't update cache
  /etc/rc.d/rc4.d/K35vncserver
+
  -c  [config file]    config file location
  /etc/rc.d/rc5.d/K35vncserver
+
  -R  [minutes]        maximum command wait time
  /etc/rc.d/rc6.d/K35vncserver
+
  -d  [debug level]    debugging output level
 +
  -e  [error level]    error output level
 +
  -q, --quiet          quiet operation
 +
  -v, --verbose        verbose operation
 +
  -y                    answer yes for all questions
 +
  --version            show Yum version and exit
 +
  --installroot=[path]  set install root
 +
  --enablerepo=[repo]  enable one or more repositories (wildcards allowed)
 +
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
 +
  -x [package], --exclude=[package]
 +
                        exclude package(s) by name or glob
 +
  --disableexcludes=[repo]
 +
                        disable exclude from main, for a repo or for
 +
                        everything
 +
  --obsoletes          enable obsoletes processing during updates
 +
  --noplugins          disable Yum plugins
 +
  --nogpgcheck          disable gpg signature checking
 +
  --disableplugin=[plugin]
 +
                        disable plugins by name
 +
 
 +
Get yum ready by configuring it: (as root)
 +
  yum -y install yum-priorities
 +
Edit the yum config file
 +
  vi /etc/yum/pluginconf.d/priorities.conf
 +
Add the following line:
 +
check_obsoletes = 1
 +
 
 +
Important Commands:
 +
* To see a list of available software:
 +
  yum list available > /tmp/packages.txt
 +
  vi /tmp/packages.txt
 +
* To install some software, you type:
 +
yum install packagename
 +
* To update some software, you type: (''If you leave out "packagename" yum will update all your software.'')
 +
  yum update packagename
 +
* To see what updates are available, you can do:
 +
yum check-update
 +
* To search for a package, you can do:
 +
yum search word
 +
 
 +
=== yum package installation example: vncserver ===
 +
 
 +
For this example we will install vncserver. Here's what it looks like:
 +
 
 +
yum install vnc-server.i386
 +
  Loading "priorities" plugin
 +
Setting up Install Process
 +
Parsing package install arguments
 +
Resolving Dependencies
 +
--> Running transaction check
 +
---> Package vnc-server.i386 0:4.1.2-24.fc8 set to be updated
 +
--> Finished Dependency Resolution
 +
 +
Dependencies Resolved
 +
 +
=============================================================================
 +
  Package                Arch      Version          Repository        Size
 +
=============================================================================
 +
Installing:
 +
  vnc-server              i386      4.1.2-24.fc8    updates          1.8 M
 +
 +
Transaction Summary
 +
=============================================================================
 +
Install      1 Package(s)       
 +
Update      0 Package(s)       
 +
Remove      0 Package(s)       
 +
 +
Total download size: 1.8 M
 +
Is this ok [y/N]: y
 +
  Downloading Packages:
 +
(1/1): vnc-server-4.1.2-2 100% |=========================| 1.8 MB    00:12   
 +
Running rpm_check_debug
 +
Running Transaction Test
 +
Finished Transaction Test
 +
Transaction Test Succeeded
 +
Running Transaction
 +
  Installing: vnc-server                  ######################### [1/1]
 +
   
 +
Installed: vnc-server.i386 0:4.1.2-24.fc8
 +
Complete!
 +
 
 +
The VNC Server now must be configured, see [[VNC Server Setup In Redhat Linux]] for more details.
 +
 
 +
&nbsp;
 +
 
 +
== Livna: Get Important Packages Missing From Fedora ==
 +
 
 +
[http://rpm.livna.org/rlowiki/ Livna, rpm.livna.org,] is a  repository of add-on packages for Fedora.  It provides many useful packages that can not be distributed in Fedora (previously known as Fedora Core and Extras).  Typically, they cannot be distributed with Fedora due to licensing issues.  Livna solves this problem by making the missing packages available to Fedora users.
 +
 
 +
To use with yum you need to install the rpm repository list. For Fedora 8, as an example, do the following:
 +
wget http://rpm.livna.org/livna-release-8.rpm
 +
rpm -ih livna-release-8.rpm
 +
 
 +
The ffmpeg package is missing from Fedora 8.  After adding livna packages to the database a simple execution of:
 +
yum install ffmpeg
 +
downloads and installs ffmpeg along with dependencies on your Fedora system.
  
To EDIT the TightVNC configuration file:
 
vi /etc/sysconfig/vncservers
 
  
 
&nbsp;
 
&nbsp;
Line 60: Line 149:
 
[[Category:Computer_Technology]]
 
[[Category:Computer_Technology]]
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
[[Category:Linux Distributions]]

Latest revision as of 13:39, 26 February 2014

Fedora Core is Red Hat's free hobbyist version of Linux, designed to mature technologies quickly for use in the premium Red Hat Enterprise Linux product and to sate developers' appetite for new features. The Fedora foundation was announced by Redhat in in June of 2005.

In April of 2006 Redhat announced cancellation of the Fedora Foundation. This doesn't mean the distribution has been cancelled, but rather the body that maintains it will change. They moved the governing of Fedora Core from the foundation to the Fedora Project Board. The board includes five Red Hat employees and four outsiders. This move was a means for Redhat to keep the Fedora developers focused on initiatives more in line with Redhat's overall agenda.

The Fedora distribution lives on. Fedora 9 will be (or has been depending on when you are reading this) released by the Fedora Project in May, 2008. Fedora is always free for anyone to use, modify, and distribute. It is built by people across the globe who work together as a community: the Fedora Project. The Fedora Project is open and anyone is welcome to join.

 

Administrative Tasks

Note: the System menu is not in the traditional place, it is a seperate menu, from the left the 4th over on the task bar.

Screensaver and Screensaver Password

Change your screen saver by going to System, Preferences, Look and Feel, Screensaver.

Changing the display resolution and color depth

From the System menu choose System, Administration, Display. On the resulting Screen Resolution Preferences window, use the Resolution drop-down box to choose the resolution that you desire.

If you can't see all of the resolutions supported by your monitor it is probably due to an install time issue. You can change this configuration by going to System, Administration, Display to change the system system-wide display settings. When you open up certain applets from the System menu, Fedora prompts you for the root password, since these tools require administrative access to the machine. Once you provide the root password, the "Display settings" dialog window opens. From this menu, select the resolution that you would like to use.

 

Software Package Management

Fedora Package Collection List

yum

The yum utility is used to manage software packages on the Fedora Linux system.

  • To install new software from package repositories
  • To install new software from an individual package file
  • To update existing software on your system
  • To remove unwanted software from your system
Usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >

Options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C                    run entirely from cache, don't update cache
  -c  [config file]     config file location
  -R  [minutes]         maximum command wait time
  -d  [debug level]     debugging output level
  -e  [error level]     error output level
  -q, --quiet           quiet operation
  -v, --verbose         verbose operation
  -y                    answer yes for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], --exclude=[package]
                        exclude package(s) by name or glob
  --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                       disable plugins by name

Get yum ready by configuring it: (as root)

yum -y install yum-priorities

Edit the yum config file

vi /etc/yum/pluginconf.d/priorities.conf

Add the following line:

check_obsoletes = 1

Important Commands:

  • To see a list of available software:
yum list available > /tmp/packages.txt
vi /tmp/packages.txt
  • To install some software, you type:
yum install packagename
  • To update some software, you type: (If you leave out "packagename" yum will update all your software.)
yum update packagename
  • To see what updates are available, you can do:
yum check-update
  • To search for a package, you can do:
yum search word

yum package installation example: vncserver

For this example we will install vncserver. Here's what it looks like:

yum install vnc-server.i386
Loading "priorities" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package vnc-server.i386 0:4.1.2-24.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 vnc-server              i386       4.1.2-24.fc8     updates           1.8 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): vnc-server-4.1.2-2 100% |=========================| 1.8 MB    00:12     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: vnc-server                   ######################### [1/1] 

Installed: vnc-server.i386 0:4.1.2-24.fc8
Complete!

The VNC Server now must be configured, see VNC Server Setup In Redhat Linux for more details.

 

Livna: Get Important Packages Missing From Fedora

Livna, rpm.livna.org, is a repository of add-on packages for Fedora. It provides many useful packages that can not be distributed in Fedora (previously known as Fedora Core and Extras). Typically, they cannot be distributed with Fedora due to licensing issues. Livna solves this problem by making the missing packages available to Fedora users.

To use with yum you need to install the rpm repository list. For Fedora 8, as an example, do the following:

wget http://rpm.livna.org/livna-release-8.rpm
rpm -ih livna-release-8.rpm

The ffmpeg package is missing from Fedora 8. After adding livna packages to the database a simple execution of:

yum install ffmpeg

downloads and installs ffmpeg along with dependencies on your Fedora system.