Installing Applications Chia-Hung Tsai. Computer Center, CS, NCTU 2 Overview  Two technologies Packages Ports  Packages contains pre-compiled copies.

Slides:



Advertisements
Similar presentations
LinuxChix Africa UNIX BASICS. To r00t or not to r00t ● Unix security is (in most cases) binary. Either you are root or you are not. – Effects on permissions.
Advertisements

 Two technologies › Packages › Ports  Packages › contains pre-compiled copies of all the commands for the application, as well as any configuration.
Exercise 1 – FreeBSD Installation Announced Date: 2006/9/20 Due Date: 2005/10/4.
Installing Applications in FreeBSD. Computer Center, CS, NCTU 2 Overview  Two technologies Packages Ports  Packages contains pre-compiled copies of.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Chapter 9 Extra Topics. The Kernel Core of the operating system Similar to UNIX kernel Originally developed and still controlled by Linus Torvalds uname.
Deploying and Managing Software by Using Group Policy.
Solaris Software Packaging and Installation Paul Foster 14/11/2000.
NSDI/NBII Clearinghouse Server Training Slide 1 NSDI/NBII Clearinghouse Server Training Yellowstone to Yukon Initiative 7. December University of.
Linux Operations and Administration
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Introducing, Installing, and Upgrading Windows 7 Lesson 7.
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
System Administration HW1 huanghs. Computer Center, CS, NCTU 2 Requirements  Basic Install FreeBSD and upgrade to up-to-date –RELEASE Recompile your.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Updating FireRMS Presented by Dan Cook Implementation Team Lead ZOLL.
Maintain Installed Applications. Computer Center, CS, NCTU 2 In Ports Tree  / Makefile  COMMENT pkg-descr  WWW pkg-message  Shown after installed.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
Installation and Upgrade Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Solaris 10 installation.
1Offline Weekly Meeting May May 2006 AliRoot Build Integration and (Testing) System Peter Hristov Vagner Morais.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
1 Session Number Presentation_ID © 2001, Cisco Systems, Inc. All rights reserved. Using the Cisco TAC Web Site for LAN Switching Issues Cisco TAC Web Seminar.
Chapter 3 Installing and Learning Software. 2Practical PC 5 th Edition Chapter 3 Getting Started In this Chapter, you will learn: − What is in an application.
Keeping Up-to-date AfNOG X Cairo, Egypt. Recap on FreeBSD design Distribution includes kernel, and some user-land binaries (bind, shells, network tools,
Module 6: Deploying and Managing Software by Using Group Policy.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
1 / 61 Using the Customer Support Web Site © 2006, Universal Tax Systems, Inc. All Rights Reserved. Customer Support Site Objectives –In this chapter you.
Computer Literacy for IC 3 Unit 1: Computing Fundamentals © 2010 Pearson Education, Inc. | Publishing as Prentice Hall.1 Chapter 4: Identifying Software.
CS Capstone OS Tools for OpenBSD Overview Presentation Team Fugu.
FreeBSD Software Management. WatITis | Collaboration in a Distributed Environment | December 2, 2003 | Automagic Software Management Overview FreeBSD.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Lesson 2 Installation and Upgrade Operating System Fundamentals.
LDAP (Lightweight Directory Access Protocol)
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Software in the Data Protector Architecture
SA-NA Junction. FreeBSD Branches/Tags Three parallel development branches: -RELEASE Latest Release version 7.0 January 2009, 6.3 November 2008
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
How to Fix Binkw32.dll Error
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Installing Applications in FreeBSD. Computer Center, CS, NCTU 2 Install software  Package Pre-built rpm, yum, dpkg, … FreeBSD: pkg_add, pkg_delete, pkg_info.
Package Administration 3/14/ Software package administration adds software to systems and removes software from systems Sun and its third-party.
Chapter 7: Delivery, Installation, and Documentation Ronald J. Leach Copyright Ronald J. Leach, 1997, 2009, 2014,
Learning Outcomes 1. Know software installation processes 2. Be able to prepare for software installation 3. Be able to install and configure software.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
SA-NA Junction FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version  Installing FreeBSD  Update source and make world  Rebuild kernel.
HOW TO FIX MSVCR100. DLL IS MISSING ERROR? missing-error.
Building programs LinuxChix-KE. What happens in your CPU? ● It executes a small set of instructions called "machine code" ● Each instruction is just a.
1 April 2, Software Packaging and Releasing Best Practices William Cohen NCSU CSC 591W April 2, 2008.
FreeBSD ports & packages. FreeBSD ports & packages - overview Different UNIX distributions use differents package systems for distributing software Debian.
Updating FreeBSD Unix System Administration. Objectives At the end of this session you should be able to: 1. Understand the differences between the CURRENT.
Optimizing your windows system. Windows updates Updates Security updates Feature updates Driver updates Service pack A group of features & Security updates.
Installing Applications in FreeBSD
Application Maintenance Toolset (AMT) Applying Patches (CTPs)
Chapter 3 Installing and Learning Software
Pkgng.
Overview – SOE PatchTT November 2015.
Installing Applications in FreeBSD
5.0 : Windows Operating System
Keeping Up-to-date AfNOG X Cairo, Egypt.
Ubuntu Working in Terminal
Unix Systems Administration
Mcafee updates Mcafee antivirus uses a database of known virus definitions to identify malware and other threats on your computer system. So it is important.
Installing Applications in FreeBSD
FreeBSD ports & packages
Application Maintenance Toolset (AMT) Applying Patches (CTPs)
Presentation transcript:

Installing Applications Chia-Hung Tsai

Computer Center, CS, NCTU 2 Overview  Two technologies Packages Ports  Packages contains pre-compiled copies of all the commands for the application, as well as any configuration files or documentation  Ports a collection of files designed to automate the process of compiling an application from source code  Both packages and ports understand dependencies

Computer Center, CS, NCTU 3 Overview  Package benefits tarball is typically smaller Packages do not require any additional compilation  Ports benefits you can tweak the compilation options to generate code that is specific to a different processor Some applications have compile time options relating to what they can and cannot do

Computer Center, CS, NCTU 4 Package System  pkg_add(1) pkg_add pkg_name # pkg_add lsof tgz pkg_add -r pkg_name  If you don’t have a source of local packages  If you are using FreeBSD-CURRENT or FreeBSD-STABLE, pkg_add will download the latest version of your application  If your are using FreeBSD-RELEASE, it will grab the version of the package that was built with your release  PACKAGESITE environment variable

Computer Center, CS, NCTU 5 Managing Packages  pkg_info(1)  pkg_version(1)  pkg_delete(1) # pkg_delete xchat-1.7.1

Computer Center, CS, NCTU 6 Ports system  Find your application cd /usr/ports make search name=program name make search key=string  change to the directory for the port you want to install  Type “make install clean” to install your application make make install make clean

Computer Center, CS, NCTU 7 Ports system  When your type “make”, the ports system uses fetch(1) to download the filesfetch(1) MASTER_SITES environment variable make MASTER_SITE_OVERRIDE= \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch /etc/make.conf  Using pkg_delete pkg_name to delete your application

Computer Center, CS, NCTU 8 Obtaining the Ports Collection  sysinstall  cvsup (or csup, … etc)  cd-rom  Using cvsup to update your ports collection

Computer Center, CS, NCTU 9 Upgrading Ports using portupgrade  pkg_version -v  portupgrade The utility is designed to easily upgrade installed ports cd /usr/ports/sysutils/portupgrade; make install clean portupgrade -a Portupgrade -R firefox

Computer Center, CS, NCTU 10 portaudit  portaudit check if installed ports are listed in a database of published security vulnerabilities portinstall portaudit portaudit -Fa

Computer Center, CS, NCTU 11 Installation failed  cvsup ports tree  /usr/ports/UPDATING  portsdb -Fu Generate the ports database named INDEX.db from INDEX  pkgdb -F An interactive tool for fixing the package registry database  portupgrade -aR  portinstall again