$ make install


Published on

Images of 1st, 2nd and 6th belong to DreamWorks Animation
Image of K Computer belongs to Fujitsu.
Presentation made not for commercial use, but educational.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

$ make install

  1. 1. $ make install http://fedoraproject.org/wiki/User:Misaakidis
  2. 2. sudoersINSTALL LINUX :)
  3. 3. Software Extensibility
  4. 4. ● 8.162 petaflops (Rmax)● Linux-based enhanced operating system
  5. 5. Installing from Source Code WHY?● No available binary packages● Incompatibility with libraries● Customizing the program: ● adding fixes ● removing unneeded features ● enabling compile-time options for better performance
  6. 6. Step 1: Get Source Code● Projects web page● FTP Servers● SVN websites: – SourceForge – FreeBSD – GCC...
  7. 7. Step 2: Extract files● Usually in GNU tarball format with the extension .tar.gz (or .tar.bz2 if bzip2 compression is used).● LICENSE (or COPYING)● README● INSTALL
  8. 8. Step 3: Configure # sh ./configure● will examine your computer for its characteristics, presence of specific features including dependencies, enable/disable options etc.●● *[--help] :)
  9. 9. DEPENDENCIESRequirements that exist between packages $ apt-get build-dep <package>
  10. 10. Step 4: make● Compilation of source code
  11. 11. Step 4: make install $ make install● Alternative: $ make checkinstall – Create a .deb package monitoring the changes made, so uninstalling and updating is easier
  12. 12. $ python setup.py install $ install.sh $ uninstall.sh
  13. 13. Package Management in Linux Isaakidis Marios Escuela Universitaria de Informàtica Universidad Politècnica de Madrid
  14. 14. Installing Software in LINUX
  15. 15. Software PackagesFiles containing precompiled binaries of software
  16. 16. Software Packages libraries documentationexecutable files Metadata ● List of dependencies ● Name of software ● Version ● Checksum...
  17. 17. Package Management Systems (PMS)Software packages are administrated bypackage managers, a collection of softwaretools included by default on all LINUXdistributions
  18. 18. Package Management Systems BenefitsProvide tools for installing, updating, removing and managing the software on your system.Allow you to install new or upgraded software directly across a network.Tell you what software package a particular file belongs to or what files a package contains.Maintain a database of packages on the system and their status, so that you can determine what packages or versions are installed on your system.Provide dependency checking, so that you dont mess up your system with incompatible software.Provide GPG, PGP, MD5, or other signature verification tools.Provide tools for building packages.
  19. 19. Package Management SystemsRed Hat Package Manager Debian GNU/LINUX RPM Package Manager
  20. 20. RPM PackagesAn RPM package has the form package-version-release.architecture.rpm audacity-1.2.3-11.x86_64.rpmis consisted of three main parts: the header contains all information about the package the signature used to validate the source of package the archive composed by the actual files needed for the installation
  21. 21. Building an RPM packageA spec file contains all the informationrequired to build a package, including adescription of the software, instructionstelling the rpmbuild command how to buildthe package, and a list of the files includedand where they get installed.
  22. 22. Managing RPM packagesyum is a meta-packager that gives you theability to easily install a package (that mightnot exist in your hard drive) and itsdependencies through the command: $ yum install [name of package]It also supports commands like update,remove and search for easier administrationof rpm packages.
  23. 23. Managing packages in Debian dpkgdpkg is the very core of the Debian PMS,like rpm command in Red Hats PMS.Through its calls you can install, removeand provide information about .debpackages.
  24. 24. Advanced Packaging Tool APTa front-end for dpkg providing http, ftp and file archive access methods.It is as powerful as its sources. The sources.list file contains entries in thefollowing format: deb [server-type] [address] [directories] [areas] deb-src [server-type] [address] [directories] [areas] Most archives are FTP or HTTP servers, but you can also insert rsh or SSH server or even a CD or a directory from your computer. Be sure to execute as root $ apt-get update after modifying the sources.
  25. 25. $ apt-get install [program] APT installs the latest version of the package in all the available sources. In every following situation, can add the version you prefer by Building an RPM package [package]=[version number / stable /unstable / testing]$ apt-get upgrade APT will actually upgrade to the newest stable versions all packages installed in your system A spec file contains allcauses apt-get to install/remove$ apt-get build-dep [program] build-dep the information required to build a package,source to satisfy the a packages in an attempt dependencies for a including build package.$ apt-get source [program] the APT will fetch source packages from the description of software, instructions telling the rpmbuild command how to followed by packages you requested. If build --compile it will create a .deb binay package the package, and a using dpkg-buildpackage that you can later list of the files included install and where they get installed.$ apt-get check check is a diagnostic tool; it updates the package cache and checks for broken dependencies.$ apt-get remove [program] APT removes the packages, though leaving its configuration files on system$ apt-get clean clean clears out the local repository of retrieved package files
  26. 26. Package Managers with GUIPackageKit, a GUI package manager aiming to unify all the software graphical tools used in different distributions
  27. 27. Package Managers with GUISynaptic serves as a .deb package manager using APT
  28. 28. Package Managers with GUIUbuntu Software Center offering 35707 packages categorized in “Departments”
  29. 29. Android market for mobiles and tabletsProvides the option of SELLING applications and installing them with just one click
  30. 30. The future of PMS in LINUX