SoftwarePackagingFormats

Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2006-01-17 14:30:41
Size: 3724
Editor: static61
Comment:
Revision 10 as of 2006-03-30 01:53:01
Size: 4047
Editor: S0106000fb085cc63
Comment: better name, camel case
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Linuxsoftwareformat
Line 2: Line 3:
In this document i have tried to cover some linux formats,as there is very less material avaialble on internet regarding linux software formats.Windows users will remember them easy if they comapre it with thier known windows format. In this document I have tried to cover some linux formats, as there is very less material avaialble on internet regarding linux software formats. Windows users will remember them easy if they comapre it with thier known windows format.
Line 8: Line 9:
In windows,software may have (.ZIP) or (.RAR) or regular (.EXE) format.For linux you have options like In windows,software may have (.ZIP) or (.RAR) or regular (.EXE) format. For linux you have options like
Line 10: Line 11:
1.Source files
2.Binary files
3.Tarballs
4.Redhat packages (.RPM)
5.Debian Packages (.deb)
Source files are nothing but raw code which requires compilation to work.While binary files are like .exe files which are ready to install.
 * Source files

 *
Binary files

 *
Tarballs

 *
Redhat packages (.RPM)

 *
Debian Packages (.deb)

Source files are nothing but raw code which requires compilation to work. While binary files are like .exe files which are ready to install.
Line 18: Line 24:
Tarballs are nothing but the gzipped files with extentions like (.tar.gz or TGZ).Most of time tsrball contains source files of binary files.In open source community it is used to distribute source code.If you find any software compressed under ta.gz,uncompressed it by double clicking on it before installing it.You can also use the tar command like this: tar xzf name_of_file for the same purpose.
Tarballs are nothing but the gzipped files with extentions like (.tar.gz or TGZ). Most of time a tarball contains source files of binary files.In open source community it is used to distribute source code.If you find any software compressed under ta.gz,uncompressed it by double clicking on it before installing it. You can also use the tar command like this: tar xzf name_of_file for the same purpose.
Line 21: Line 28:
The most common method of file compression used in linux is Gzip program.Gzip have two jobs like compressing an individual file or compressing a tar archieve.
The most common method of file compression used in linux is Gzip program. Gzip have two jobs like compressing an individual file or compressing a tar archieve.
Line 25: Line 33:
To uncompress an individual file: gunzip filename.gz
To create a gzipped tar file: tar cvzf achievename.tar filename
To extract files from gzipped tar file:tar xvzf archievename.tar filenames
                                     To uncompress an individual file:
{{{
gunzip filename.gz
}}}
To create a gzipped tar file:
{{{
tar cvzf achievename.tar filename
}}}
To extract files from gzipped tar file :
{{{
tar xvzf archievename.tar filenames
}}}
== RPM's ==
Line 29: Line 48:
== RPM's ==
The red hat package manager or
.RPM is format specially designed for easy installation and management of software packages.RPM allows you to install,upgrade and remove software packages.It tracks dependencies and will not install software if it depends on another package which is not installed.
The red hat package manager or .RPM is format specially designed for easy installation and management of software packages.RPM allows you to install,upgrade and remove software packages. It tracks dependencies and will not install software if it depends on another package which is not installed.
Line 32: Line 50:
To convert RPM packages to debian package format use command ALIEN.New users: don't use alien method,If there are DEBs available you should use them or you might severely screw up your system. To convert RPM packages to debian package format use command ALIEN. New users: don't use alien method, If there are DEBs available you should use them or you might severely screw up your system.
Line 35: Line 53:
Debian and it's derivative distributions uses packages in file format called DEB.These are installed using a program called "dpkg",or from other software installation programs like synaptic,adept etc.Deb packages are known for better management of installed files.
Line 37: Line 54:
As ubuntu is based on debian it uses "apt" software technology to keep the system up to date.You will find these commands helpful for deb files: Debian and it's derivative distributions uses packages in file format called DEB. These are installed using a program called "dpkg",or from other software installation programs like synaptic,adept etc. Deb packages are known for better management of installed files.
Line 39: Line 56:
To install a package : dpkg -i filename
To list installed package : dpkg -i name
To remove or uninstall package : dpkg -r packagename
As ubuntu is based on debian it uses "apt" software technology to keep the system up to date. You will find these commands helpful for deb files:
Line 43: Line 58:
If you are not command line user,you can navigate to synaptic package manager in ubuntu and mark the package for removal or for installation. To install a package :
{{{
dpkg -i filename
}}}
To list installed package :
{{{
apt-cache show packagename
}}}
To remove or uninstall package :
{{{
dpkg -r packagename
}}}
If you are not command line user, you can navigate to synaptic package manager in ubuntu and mark the package for removal or for installation.
Line 45: Line 72:
=== Programs,packages,help resources ===
Software installation programs available for ubuntu/kubuntu are synaptic package manager,adept etc.You can even use Add-Remove applications link from applications menu to add or remove softwares.Besides your repository you can obtain software from various sources.Some of the sources are mentioned below.
=== Programs, packages, help resources ===
Line 48: Line 74:
http://www.linuxapps.com
http://www.icewalkers.com
http://packages.debian.org/
http://www.apt-get.org/
Software installation programs available for ubuntu/kubuntu are synaptic package manager,adept etc. You can even use Add-Remove applications link from applications menu to add or remove softwares. Besides your repository you can obtain software from various sources. Some of the sources/links are mentioned below.
Line 53: Line 76:
It is easy to get help for your printer,modem and laptop.Try searching over these sites.
http://www.linuxprinting.org/
http://www.linmodems.org/
http://tuxmobil.org/mylaptops.html
http://www.linuxquestions.org
 * http://www.linuxapps.com
 * http://www.icewalkers.com
 * http://packages.debian.org/
 * http://www.apt-get.org/

It is easy to get help for your printer,modem and laptop. Try searching over these sites.

 *
http://www.linuxprinting.org/
 * http://www.linmodems.org/
 * http://tuxmobil.org/mylaptops.html
 * http://www.linuxquestions.org
Line 60: Line 89:
http://www.linuxrsp.ru/win-lin-soft/
 *
http://www.linuxrsp.ru/win-lin-soft/

CategoryDocumentation CategoryCleanup

Introduction

In this document I have tried to cover some linux formats, as there is very less material avaialble on internet regarding linux software formats. Windows users will remember them easy if they comapre it with thier known windows format.

Objective

This document is made for users new to linux and want to know about the linux software formats.This guide will cover some known file format information and also compression and ways of packaging in linux.

Formats

In windows,software may have (.ZIP) or (.RAR) or regular (.EXE) format. For linux you have options like

  • Source files
  • Binary files
  • Tarballs
  • Redhat packages (.RPM)
  • Debian Packages (.deb)

Source files are nothing but raw code which requires compilation to work. While binary files are like .exe files which are ready to install.

Tarballs

Tarballs are nothing but the gzipped files with extentions like (.tar.gz or TGZ). Most of time a tarball contains source files of binary files.In open source community it is used to distribute source code.If you find any software compressed under ta.gz,uncompressed it by double clicking on it before installing it. You can also use the tar command like this: tar xzf name_of_file for the same purpose.

gzip

The most common method of file compression used in linux is Gzip program. Gzip have two jobs like compressing an individual file or compressing a tar archieve.

You can use these command line options. To compress individual file: gzip filename

To uncompress an individual file:

gunzip filename.gz

To create a gzipped tar file:

tar cvzf achievename.tar filename

To extract files from gzipped tar file :

tar xvzf archievename.tar filenames

RPM's

The red hat package manager or .RPM is format specially designed for easy installation and management of software packages.RPM allows you to install,upgrade and remove software packages. It tracks dependencies and will not install software if it depends on another package which is not installed.

To convert RPM packages to debian package format use command ALIEN. New users: don't use alien method, If there are DEBs available you should use them or you might severely screw up your system.

Deb packages

Debian and it's derivative distributions uses packages in file format called DEB. These are installed using a program called "dpkg",or from other software installation programs like synaptic,adept etc. Deb packages are known for better management of installed files.

As ubuntu is based on debian it uses "apt" software technology to keep the system up to date. You will find these commands helpful for deb files:

To install a package :

dpkg -i filename

To list installed package :

apt-cache show packagename

To remove or uninstall package :

dpkg -r packagename

If you are not command line user, you can navigate to synaptic package manager in ubuntu and mark the package for removal or for installation.

Programs, packages, help resources

Software installation programs available for ubuntu/kubuntu are synaptic package manager,adept etc. You can even use Add-Remove applications link from applications menu to add or remove softwares. Besides your repository you can obtain software from various sources. Some of the sources/links are mentioned below.

It is easy to get help for your printer,modem and laptop. Try searching over these sites.

If you want windows equivalent software then search this table:

CategoryDocumentation CategoryCleanup

SoftwarePackagingFormats (last edited 2008-08-06 16:37:09 by localhost)