1 / 9

Software Management

Software Management. Linux Software Package File Extensions. Extension File. .rpm. Software package created with the Red Hat Software Package Manager, used on Red Hat, Caldera, Mandrake, and SuSE distributions. .src.rpm.

fergusonc
Télécharger la présentation

Software Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software Management Linux Software Package File Extensions Extension File .rpm Software package created with the Red Hat Software Package Manager, used on Red Hat, Caldera, Mandrake, and SuSE distributions. .src.rpm Software packages that are source code versions of applications, created with the Red Hat Software Package Manager. gzip compressed file (use gunzip to decompress). .gz

  2. Extension File .bz2 bzip2 compressed file (use bunzip2 to decompress, also use the j option with tar, as in xvjf). .tar A tar archive file, use tar with xvf to extract. gzip compressed tar archive file. Use gunzip to decompress and tar to extract. Use the z option with tar, as in xvzf to both decompress and extract in one step. .tar.gz .tar.bz2 bzip2 compressed tar archive file. Extract with tar -xvzf. .tz tar archive file compressed with the compress command. File compressed with the compress command (use the decompress command to decompress). .Z Debian Linux package. .deb

  3. makes rpm print a progress bar RPM packages [alaei@node65 ~]$ rpm -Uvh emacs-21.2-18.i386.rpm verbose upgrade,whether the package is already installed or not [alaei@node65 ~]$ rpm -qa | grep vim vim-common-6.3.030-3 vim-X11-6.3.030-3 vim-minimal-6.3.030-3 vim-enhanced-6.3.030-3 [root@node65 ~]$ rpm -e totem

  4. Compiling Software [alaei@node65 ~]$ ./configure [alaei@node65 ~]$ make [alaei@node65 ~]$ make install

  5. Compilers in linux GNU project C and C++ compiler gcc g77 GNU project Fortran 77 compiler f77 gfortran GNU Fortran 95 compiler the Intel(R) Fortran Compiler ifort g95 http://www.g95.org/

  6. library: a collection of generally useful pre-compiled procedures, stored in a file, and arranged so that a linker can extract the ones needed by any particular program. linker = link editor; a program which takes compiled program fragments and combines them into a complete program, ready for loading. object file: a file produced by compiling a program or module, containing compressed assembly language ready for linking and loading.

  7. Practical details Source code, object code, compiling, and linking #f77 circle.f #./a.out #f77 circle.f -o circle.x #f77 circle1.f circle2.f #f77 -c circle1.f circle2.f #f77 circle1.o circle2.o

  8. Using libraries under Unix the -l option to link it together with your main program #f77 main.f -lblas #f77 main.f mysub.f -llapack -lblas #f77 -c *.f #ar rcv libmy_lib.a *.o #ranlib libmy_lib.a #rm *.o #f77 main.f -L. -lmy_lib

More Related