From Fedora Project Wiki

Introduction

This page will serve to make a more sane way of seeing the information located at the Fedora Jargon glossary page. It will also include some common commands that Fedora uses and then show their counterparts for other popular distributions such as Ubuntu.

Once completed this page should prove a valuable resource for those wanting to make the switch from Ubuntu to Fedora or even from another distribution


The primary focus of this page is to bring a better understanding of Fedora's commands and terms to the public and to those that may not have used Fedora or some other Red Hat version of Linux. While I am not going to personally transcribe everything from the Fedora Jargon page I will do my best to get the most commonly used terms from there and bring them here.


This Page is not completed but is instead a work in progress. If you would like to add to it feel free as is the nature of a wiki.

Backgrounds

Rather then ramble on about each distros individual backgrounds I am going to briefly summarize each distros purpose here then link to where you can find the full article. Note only distributions currently being used in this guide are displayed in this section, as more get added they will appear here.

Chances are good if your reading this page you know what Fedora is but since this page can and hopefully will be used to help people make the switch from other distributions i added what Fedora was for that purpose.

Fedora

Fedora is a Linux-based operating system that showcases the latest in free and open source software. 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. The Fedora Project is out front for you, leading the advancement of free, open software and content.

Read more here

Ubuntu

Ubuntu is a community developed and supported project. Since its launch in October 2004, Ubuntu has become one of the most highly regarded Linux distributions with millions of users around the world.

Read the Full story

Commands

The commands listed here are not full lists instead the most common commands are listed for easy reference. Please refer to the sites in the sources section for complete command lists. Commands are listed in a table showing the Fedora command first followed by the other distros command.

Yum/Apt

Below are a list of commands in a table. Yum commands are on the left and represent Fedora commands and their Debian (Ubuntu style) counterparts are on the right

With Debian based distros like Ubuntu sudo should proceed any of these commands. For Red Hat based distros like Fedora you would enter su – and enter your root password once before running the commands.


Yum vs. Apt Description
yum makecache apt-get update Updates the Meta data for the repositories
yum update apt-get upgrade Updates Packages
yum clean all apt-get clean Clean cache and packages
yum install [packagename] apt-get install [packagename] Install a package from the repositories
yum remove [packagename] apt-get remove [packagename] Removes a package from the system
yum search [packagename] apt-cache search [packagename] Searches db data for a package
yum list dpkg -l Lists all install packages

*List not complete still compiling. The last command has no apt equivalent so i listed the dpkg command

Rpm/Deb

As with the yum and apt commands these need to be run as root for commands that alter the system like the install or remove commands. Commands that simply list packages do not need root permision


Rpm vs Deb Description
rpm -qa dpkg -l Lists installed packages
rpm -qa | grep [packagename] dpkg -l | grep [packagename] Search and list all packages matching the package name
rpm -qi [packagename] dpkg -s [packagename] Show detailed information about a package
rpm -ivh [package.rpm] dpkg -i [package.deb] Install a package
rpm -e [packagename] dpkg -r [packagename] Remove a package
rpm -qc [packagename] dpkg -L [packagename] Lists the configuration files provided by that package
rpm -q [packagename] –whatrequires dpkg –contents [package.deb] Shows dependencies of that package

*List is not complete feel free to add to this list as you see fit.

Jargon

Fedora

*coming soon

Ubuntu

*coming soon

Sources

A majority of the Ubuntu and Fedora commands listed here have been gathered from


LinuxCMD


Other sites information was used from