SoftwarePackagingFormats
Differences between revisions 12 and 13
|
Size: 4107
Comment: Started cleaning, but made my head hurt. May come back later.
|
Size: 68
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ## page was renamed from Linuxsoftwareformat ## Should we have a policy about people with poor English proficiency doing wiki pages? == Introduction == In this document I have tried to cover some Linux package formats, as there is very little material available on internet. Windows users may remember more easily if they comapare them to the Windows formats they are familiar with. == Objective == This document is made for users who are new to Linux and want to know about the Linux package formats. This guide will cover some known package formats, compressions, and methods of packaging. == Formats == In Windows, software may come in .zip, .rar, or .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. * 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 If you want windows equivalent software then search this table: * http://www.linuxrsp.ru/win-lin-soft/ CategoryDocumentation CategoryCleanup |
#REFRESH 0 http://help.ubuntu.com/community/SoftwarePackagingFormats |
SoftwarePackagingFormats (last edited 2008-08-06 16:37:09 by localhost)