SoftwarePackagingFormats
|
Size: 3829
Comment:
|
Size: 4001
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| 1.Source files | * Source files |
| Line 12: | Line 12: |
| 2.Binary files | * Binary files |
| Line 14: | Line 14: |
| 3.Tarballs | * Tarballs |
| Line 16: | Line 16: |
| 4.Redhat packages (.RPM) | * Redhat packages (.RPM) |
| Line 18: | Line 18: |
| 5.Debian Packages (.deb) | * Debian Packages (.deb) |
| Line 23: | Line 23: |
| Line 26: | Line 27: |
| Line 30: | Line 32: |
| 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 31: | Line 47: |
| 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 43: | Line 52: |
| Line 47: | Line 57: |
| To install a package : dpkg -i filename To list installed package : apt-cache show packagename To remove or uninstall package : dpkg -r packagename |
To install a package : {{{ dpkg -i filename }}} To list installed package : {{{ apt-cache show packagename }}} To remove or uninstall package : {{{ dpkg -r packagename }}} |
| Line 56: | Line 72: |
| Line 58: | Line 75: |
| http://www.linuxapps.com http://www.icewalkers.com http://packages.debian.org/ http://www.apt-get.org/ |
* http://www.linuxapps.com * http://www.icewalkers.com * http://packages.debian.org/ * http://www.apt-get.org/ |
| Line 64: | Line 81: |
| http://www.linuxprinting.org/ http://www.linmodems.org/ http://tuxmobil.org/mylaptops.html http://www.linuxquestions.org |
* http://www.linuxprinting.org/ * http://www.linmodems.org/ * http://tuxmobil.org/mylaptops.html * http://www.linuxquestions.org |
| Line 70: | Line 88: |
| http://www.linuxrsp.ru/win-lin-soft/ | * http://www.linuxrsp.ru/win-lin-soft/ |
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:
SoftwarePackagingFormats (last edited 2008-08-06 16:37:09 by localhost)