• Save
$ make install
Upcoming SlideShare
Loading in...5
×
 

$ make install

on

  • 696 views

Images of 1st, 2nd and 6th belong to DreamWorks Animation

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.

Statistics

Views

Total Views
696
Views on SlideShare
696
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

$ make install $ make install Presentation Transcript

  • $ make install http://fedoraproject.org/wiki/User:Misaakidis
  • sudoersINSTALL LINUX :)
  • Software Extensibility
  • ● 8.162 petaflops (Rmax)● Linux-based enhanced operating system
  • 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
  • Step 1: Get Source Code● Projects web page● FTP Servers● SVN websites: – SourceForge – FreeBSD – GCC...
  • 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
  • Step 3: Configure # sh ./configure● will examine your computer for its characteristics, presence of specific features including dependencies, enable/disable options etc.●● *[--help] :)
  • DEPENDENCIESRequirements that exist between packages $ apt-get build-dep <package>
  • Step 4: make● Compilation of source code
  • Step 4: make install $ make install● Alternative: $ make checkinstall – Create a .deb package monitoring the changes made, so uninstalling and updating is easier
  • $ python setup.py install $ install.sh $ uninstall.sh
  • Package Management in Linux Isaakidis Marios Escuela Universitaria de Informàtica Universidad Politècnica de Madrid
  • Installing Software in LINUX
  • Software PackagesFiles containing precompiled binaries of software
  • Software Packages libraries documentationexecutable files Metadata ● List of dependencies ● Name of software ● Version ● Checksum...
  • Package Management Systems (PMS)Software packages are administrated bypackage managers, a collection of softwaretools included by default on all LINUXdistributions
  • 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.
  • Package Management SystemsRed Hat Package Manager Debian GNU/LINUX RPM Package Manager
  • 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
  • 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.
  • 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.
  • 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.
  • 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.
  • $ 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
  • Package Managers with GUIPackageKit, a GUI package manager aiming to unify all the software graphical tools used in different distributions
  • Package Managers with GUISynaptic serves as a .deb package manager using APT
  • Package Managers with GUIUbuntu Software Center offering 35707 packages categorized in “Departments”
  • Android market for mobiles and tabletsProvides the option of SELLING applications and installing them with just one click
  • The future of PMS in LINUX