SoftwarePackagingFormats

Differences between revisions 10 and 11
Revision 10 as of 2006-03-30 01:53:01
Size: 4047
Editor: S0106000fb085cc63
Comment: better name, camel case
Revision 11 as of 2006-05-22 02:34:41
Size: 4046
Editor: 66-191-67
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: 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 available on internet regarding Linux software formats. Windows users will remember them easy if they comapre it with thier known Windows format.
Line 6: Line 6:
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. 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.
Line 9: 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 54: Line 54:
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. Debian and its 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.

Introduction

In this document I have tried to cover some Linux formats, as there is very less material available 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 its 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)