09/02/18 19:31:52

Total Page:16

File Type:pdf, Size:1020Kb

09/02/18 19:31:52 Debian Reference Osamu Aoki <osamu\#at\#debian.org> ‘Authors’ on page 247 CVS, Thu Jan 18 11:52:15 UTC 2007 Abstract This Debian Reference (http://qref.sourceforge.net/) is intended to provide a broad overview of the Debian system as a post-installation user’s guide. It covers many aspects of system administration through shell-command examples. Basic tutorials, tips, and other information are provided for topics including fundamental concepts of the Debian system, system installation hints, Debian package management, the Linux kernel under Debian, system tuning, building a gateway, text editors, CVS, programming, and GnuPG for non-developers. Copyright Notice Copyright © 2001–2005 by Osamu Aoki <osamu#at#debian.org>. Copyright (Chapter 2) © 1996–2001 by Software in the Public Interest. This document may be used under the terms of the GNU General Public License version 2 or higher. (http://www.gnu.org/copyleft/gpl.html) Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this document into another lan- guage, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English. i Contents 1 Preface 1 1.1 Official document ..................................... 1 1.2 Document conventions .................................. 2 1.3 Example scripts ...................................... 2 1.4 Basic setup ......................................... 2 1.5 Basics of the Debian distributions ............................ 3 2 Debian fundamentals 5 2.1 The Debian archives ................................... 5 2.1.1 Directory structures ............................... 5 2.1.2 Debian distributions ............................... 6 2.1.3 The stable distribution ............................ 6 2.1.4 The testing distribution ............................ 7 2.1.5 The unstable distribution ........................... 7 2.1.6 The frozen distribution ............................ 7 2.1.7 Debian distribution codenames ......................... 8 2.1.8 Codenames used in the past ........................... 8 2.1.9 The source for codenames ............................ 8 2.1.10 The pool directory ................................ 8 2.1.11 Historical notes about Sid ............................ 9 2.1.12 Uploaded packages in incoming/ ...................... 9 2.1.13 Retrieving an older package ........................... 10 2.1.14 Architecture sections ............................... 10 2.1.15 The source code .................................. 10 CONTENTS ii 2.2 The Debian package management system ....................... 11 2.2.1 Overview of Debian packages ......................... 11 2.2.2 Debian package format ............................. 12 2.2.3 Naming conventions for Debian package filenames ............. 12 2.2.4 Preservation of local configuration ....................... 12 2.2.5 Debian maintenance scripts ........................... 13 2.2.6 Package priorities ................................. 14 2.2.7 Virtual packages ................................. 14 2.2.8 Package dependencies .............................. 15 2.2.9 The meaning of “Pre-Depends” ......................... 16 2.2.10 Package status ................................... 16 2.2.11 Holding back packages from an upgrade ................... 16 2.2.12 Source packages ................................. 17 2.2.13 Building binary packages from a source package ............... 17 2.2.14 Creating new Debian packages ......................... 18 2.3 Upgrading a Debian system ............................... 18 2.3.1 dpkg ........................................ 18 2.3.2 APT ......................................... 19 2.3.3 dselect ...................................... 19 2.3.4 Upgrading a running system .......................... 19 2.3.5 Downloaded and cached .deb archive files .................. 19 2.3.6 Record-keeping for upgrades .......................... 20 2.4 The Debian boot process ................................. 20 2.4.1 The init program ................................ 20 2.4.2 Runlevels ..................................... 20 2.4.3 Customizing runlevels .............................. 21 2.5 Supporting diversity ................................... 21 2.6 Internationalization .................................... 22 2.7 Debian and the kernel .................................. 22 2.7.1 Compiling a kernel from non-Debian source ................. 22 2.7.2 Tools to build custom kernels .......................... 23 2.7.3 Special provisions for dealing with modules ................. 23 2.7.4 De-installing an old kernel package ...................... 23 CONTENTS iii 3 Debian System installation hints 25 3.1 General Linux system installation hints ........................ 25 3.1.1 Hardware compatibility basics ......................... 25 3.1.2 Determining a PC’s hardware and chip set .................. 26 3.1.3 Determining a PC’s hardware via Debian ................... 26 3.1.4 Determining a PC’s hardware via other OSs ................. 27 3.1.5 A Lilo myth .................................... 27 3.1.6 GRUB ....................................... 28 3.1.7 Choice of boot floppies .............................. 28 3.1.8 Installation ..................................... 29 3.1.9 Hosts and IP to use for LAN .......................... 29 3.1.10 User accounts ................................... 30 3.1.11 Creating filesystems ............................... 30 3.1.12 DRAM memory guidelines ........................... 33 3.1.13 Swap space .................................... 33 3.2 Bash configuration .................................... 34 3.3 Mouse configuration ................................... 34 3.3.1 PS/2 mice ..................................... 34 3.3.2 USB mice ..................................... 36 3.3.3 Touchpad ..................................... 37 3.4 NFS configuration ..................................... 38 3.5 Samba configuration ................................... 38 3.6 Printer configuration ................................... 39 3.6.1 lpr/lpd ...................................... 39 3.6.2 CUPS™ ...................................... 39 3.7 CRON for desktop PCs .................................. 40 3.8 Other host installation hints ............................... 40 3.8.1 Install a few more packages after initial install ................ 40 3.8.2 Modules ...................................... 41 3.8.3 CD-RW basic setup ................................ 41 3.8.4 Large memory and auto power-off ....................... 41 CONTENTS iv 3.8.5 Strange access problems with some websites ................. 42 3.8.6 Dialup PPP configuration ............................ 43 3.8.7 Other configuration files to tweak in /etc/ ................. 43 4 Debian tutorials 45 4.1 Getting started ....................................... 45 4.1.1 Login to a shell prompt as root ......................... 45 4.1.2 Set up minimal newbie environment ...................... 46 4.1.3 Add a user account ................................ 47 4.1.4 Switch between virtual console ......................... 47 4.1.5 How to shut down ................................ 47 4.1.6 Play time ...................................... 48 4.2 Midnight Commander (MC) ............................... 48 4.2.1 Enhance MC .................................... 49 4.2.2 Start MC ...................................... 49 4.2.3 File manager in MC ............................... 49 4.2.4 Command-line tricks in MC ........................... 49 4.2.5 Editor in MC ................................... 50 4.2.6 Viewer in MC ................................... 50 4.2.7 Auto-start features of MC ............................ 51 4.2.8 FTP virtual filesystem of MC .......................... 51 4.3 Unix-like work environment ............................... 51 4.3.1 Special key strokes ................................ 51 4.3.2 Basic Unix commands .............................. 52 4.3.3 The command execution ............................. 56 4.3.4 Simple command ................................. 56 4.3.5 Command execution and environment variable ............... 56 4.3.6 Command search path .............................. 57 4.3.7 Command line options .............................. 57 4.3.8 Shell wildcards .................................. 57 4.3.9 Return value of the command .......................... 58 CONTENTS v 4.3.10 Typical command sequences .......................... 58 4.3.11 Command alias .................................. 60 4.4 Unix-like text processing ................................. 60 4.4.1 Regular expressions ............................... 61 4.4.2 Replacement expressions ............................ 62 4.5 Unix-like filesystem .................................... 63 4.5.1 Unix file basics .................................. 63 4.5.2 The filesystem concept in Debian ........................ 64 4.5.3 File and directory access permissions ..................... 65 4.5.4 Timestamps .................................... 67 4.5.5 Links ........................................ 68 4.5.6 Named pipes (FIFOs) .............................
Recommended publications
  • Debian Developer's Reference Version 12.0, Released on 2021-09-01
    Debian Developer’s Reference Release 12.0 Developer’s Reference Team 2021-09-01 CONTENTS 1 Scope of This Document 3 2 Applying to Become a Member5 2.1 Getting started..............................................5 2.2 Debian mentors and sponsors......................................6 2.3 Registering as a Debian member.....................................6 3 Debian Developer's Duties 9 3.1 Package Maintainer's Duties.......................................9 3.1.1 Work towards the next stable release............................9 3.1.2 Maintain packages in stable .................................9 3.1.3 Manage release-critical bugs.................................. 10 3.1.4 Coordination with upstream developers............................ 10 3.2 Administrative Duties.......................................... 10 3.2.1 Maintaining your Debian information............................. 11 3.2.2 Maintaining your public key.................................. 11 3.2.3 Voting.............................................. 11 3.2.4 Going on vacation gracefully.................................. 12 3.2.5 Retiring............................................. 12 3.2.6 Returning after retirement................................... 13 4 Resources for Debian Members 15 4.1 Mailing lists............................................... 15 4.1.1 Basic rules for use....................................... 15 4.1.2 Core development mailing lists................................. 15 4.1.3 Special lists........................................... 16 4.1.4 Requesting new
    [Show full text]
  • Arxiv:Cs/0107036V2 [Cs.SC] 31 Jul 2001
    TEXmacs interfaces to Maxima, MuPAD and REDUCE A. G. Grozin Budker Institute of Nuclear Physics, Novosibirsk 630090, Russia [email protected] Abstract GNU TEXmacs is a free wysiwyg word processor providing an excellent typesetting quality of texts and formulae. It can also be used as an interface to Computer Algebra Systems (CASs). In the present work, interfaces to three general-purpose CASs have been implemented. 1 TEXmacs GNU TEXmacs [1] is a free (GPL) word processor which typesets texts and mathematical formulae with very high quality (like LAT X), • E emphasizes the logical structure of a document rather than its appearance (like • LATEX), is easy to use and intuitive (like typical wysiwyg word processors), • arXiv:cs/0107036v2 [cs.SC] 31 Jul 2001 can be extended by a powerful programming language (like Emacs), • can include PostScript figures (as well as other figures which can be converted • to PostScript), can export LAT X, and import LAT X and html, • E E supports a number of languages based on Latin and Cyrillic alphabets. • It uses TEX fonts both on screen and when printing documents. Therefore, it is truly wysiwyg, with equally good quality of on-screen and printed documents (in contrast to LyX which uses X fonts on screen and calls LATEX for printing). There is a similar commercial program called Scientific Workplace (for Windows). TEXmacs can also be used as an interface to any CAS which can generate LATEX output. It renders LATEX formulae on the fly, producing CAS output with highest 1 typesetting quality (better than, e.g., Mathematica, which uses fixed-width fonts for formula output).
    [Show full text]
  • Creating Rpms Guide
    CREATING RPMS (Student version) v1.0 Featuring 36 pages of lecture and a 48 page lab exercise This docu m e n t serves two purpose s: 1. Representative sample to allow evaluation of our courseware manuals 2. Make available high quality RPM documentation to Linux administrators A bout this m aterial : The blue background you see simulates the custom paper that all Guru Labs course w are is printed on. This student version does not contain the instructor notes and teaching tips present in the instructor version. For more information on all the features of our unique layout, see: http://ww w . g urulabs.co m /courseware/course w are_layout.php For more freely available Guru Labs content (and the latest version of this file), see: http://www.gurulabs.co m/goodies/ This sample validated on: Red Hat Enterprise Linux 4 & Fedora Core v3 SUSE Linux Enterprise Server 9 & SUSE Linux Professional 9.2 About Guru Labs: Guru Labs is a Linux training company started in 199 9 by Linux experts to produce the best Linux training and course w are available. For a complete list, visit our website at: http://www.gurulabs.co m/ This work is copyrighted Guru Labs, L.C. 2005 and is licensed under the Creative Common s Attribution- NonCom mer cial- NoDerivs License. To view a copy of this license, visit http://creativecom m o n s.org/licenses/by- nc- nd/2.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 943 0 5, USA. Guru Labs 801 N 500 W Ste 202 Bountiful, UT 84010 Ph: 801-298-5227 WWW.GURULABS.COM Objectives: • Understand
    [Show full text]
  • El Manual De GNU TEXMACS
    El manual de GNU TEXMACS Índice 1. Iniciar . 9 1.1. Convenciones para este manual . 9 1.2. Congurar TEXMACS . 9 1.3. Crear, guardar y cargar documentos . 10 1.4. Imprimir documentos . 10 2. Escribir documentos sencillos . 11 2.1. Generalidades para teclear de texto . 11 2.2. Tecleando texto estructurado . 11 2.3. Etiquetas basadas en contenido . 12 2.4. Listas . 12 2.5. Entornos . 13 2.6. Aspectos de presentación . 14 2.7. El sistema de selección de fuentes . 14 2.8. Dominando el teclado . 15 2.8.1. Reglas generales de prejos . 15 2.8.2. Algunos atajos de teclado fundamentales . 15 2.8.3. Atajos de teclado para el modo texto . 16 2.8.4. Comandos híbridos y simulación LATEX . 16 2.8.5. Objetos dinámicos . 16 2.8.6. Personalización del teclado . 17 3. Fórmulas matemáticas . 19 3.1. Principales constructos matemáticos . 19 3.2. Tecleando símbolos matemáticos . 20 3.3. Tecleando operadores grandes . 20 3.4. Teclear delimitadores grandes . 21 3.5. Acentos matemáticos anchos . 22 4. Material tabular . 23 4.1. Creando tablas . 23 4.2. El modo para dar formato . 23 4.3. Especicando el alineamiento de la celda y la tabla . 24 4.4. Especicando el tamaño de la celda y la tabla . 24 4.5. Bordes, acolchado y color de fondo . 25 4.6. Características avanzadas de la tabla . 25 5. Links and automatically generated content . 27 5.1. Creating labels, links and references . 27 5.2. Inserting images . 27 5.3. Generating a table of contents . 28 5.4.
    [Show full text]
  • Software Livre Para Engenharia
    SSOOFFTTWWAARREE LLIIVVRREE PPAARRAA EENNGENHGENHAARRIAIA AdAdiillssoonn JJ.. ddee AsAsssiiss [email protected] I Semana Acadêmica da UFU 28 de maio de 2004 Universidade Federal de Uberlândia Faculdade de Engenharia Química Núcleo de Modelagem, Controle e Otimização de Processos TERMINTERMINOOLLOOGGIAIA Software em Domínio Público Software em domínio público é software sem copyright. Alguns tipos de cópia, ou versões modificadas, podem não ser livres porque o autor permite que restrições adicionais sejam impostas na redistribuição do original ou de trabalhos derivados. Software Semi-livre Software semi-livre é software que não é livre, mas é concedida a permissão para que indivíduos o usem, copiem, distribuam e modifiquem, incluindo a distribuição de versões modificadas, desde que o façam sem o propósito de auferir lucros. Exemplos de software semi-livre são as primeiras versões do Internet Explorer da Microsoft, algumas versões dos browsers da Netscape, e o StarOffice. Softw are liv re p ara engenha ria I Sem ana Acadêm ica da UFU TERMINTERMINOOLLOOGGIAIA Freeware O termo freeware não possui uma definição amplamente aceita mas é usado com programas que permitem a redistribuição mas não a modificação, e seu código fonte não é disponibilizado. Estes programas não são software livre. Shareware Shareware é o software disponibilizado com a permissão para que seja redistribuído, mas a sua utilização implica no pagamento pela sua licença. Geralmente, o código fonte não é disponibilizado e portanto modificações são impossíveis. Softw are liv re p ara engenha ria I Sem ana Acadêm ica da UFU TERMINTERMINOOLLOOGGIAIA Software Proprietário Software proprietário é aquele cuja cópia, redistribuição ou modificação são em alguma medida proibidos pelo seu proprietário.
    [Show full text]
  • The Digital Nexus: Identity, Agency, and Political Engagement Edited by Raphael Foshay Thethe Digitaldigital Nexusnexus
    The Digital Nexus Cultural Dialectics Series editor: Raphael Foshay The difference between subject and object slices through subject as well as through object. —Theodor W. Adorno Cultural Dialectics provides an open arena in which to debate questions of culture and dialectic—their practices, their theoretical forms, and their relations to one another and to other spheres and modes of inquiry. Approaches that draw on any of the following are especially encouraged: continental philosophy, psychoanalysis, the Frankfurt and Birmingham schools of cultural theory, deconstruction, gender theory, postcoloniality, and interdisciplinarity. Series Titles Northern Love: An Exploration of Canadian Masculinity Paul Nonnekes Making Game: An Essay on Hunting, Familiar Things, and the Strangeness of Being Who One Is Peter L. Atkinson Valences of Interdisciplinarity: Theory, Practice, Pedagogy Edited by Raphael Foshay Imperfection Patrick Grant The Undiscovered Country: Essays in Canadian Intellectual Culture Ian Angus The Letters of Vincent van Gogh: A Critical Study Patrick Grant “My Own Portrait in Writing”: Self-Fashioning in the Letters of Vincent van Gogh Patrick Grant Speaking Power to Truth: Digital Discourse and the Public Intellectual Edited by Michael Keren and Richard Hawkins The Digital Nexus: Identity, Agency, and Political Engagement Edited by Raphael Foshay TheThe DigitalDigital NexusNexus Identity, Agency, and Political Engagement edited by RAFAEL FOSHAY Copyright © 2016 Raphael Foshay Published by AU Press, Athabasca University 1200, 10011 – 109 Street, Edmonton, AB T5J 3S8 ISBN 978-1-77199-129-2 (print) 978-1-77199-130-8 (pdf) 978-1-77199-131-5 (epub) doi: 10.15215/aupress/9781771991292.01 A volume in Cultural Dialectics series: ISSN 1915-836X (print) 1915-8378 (digital) Cover design by Marvin Harder Interior design by Sergiy Kozakov Printed and bound in Canada by Friesens The appendix, “Do Machines Have Rights? Ethics in the Age of Artificial Intelligence,” is a reprint of Paul Kellogg’s interview of David J.
    [Show full text]
  • A High Performance Ldm Data Cluster
    55 A HIGH PERFORMANCE LDM DATA CLUSTER Robert C. Lipschutz, David Hagerty*, Paul Hamer, Peter Lannigan*, and Chris MacDermaid Cooperative Institute for Research in the Atmosphere (CIRA) Colorado State University, Fort Collins, Colorado USA, and NOAA Earth System Research Laboratory (ESRL), Boulder, Colorado USA *NOAA Earth System Research Laboratory (ESRL), Boulder, Colorado USA Contract with Riverside Technology, Inc., Fort Collins, Colorado USA 1. INTRODUCTION Data Manager (LDM) have enabled us to construct a high performance real-time data Within the NOAA Earth System Research processing environment that serves the GSD Laboratory (ESRL), the Global Systems Division community. Given the central role of LDM in the (GSD) develops weather information systems, architecture, we particularly focus on the how weather forecast models, and other applications LDM provides cluster services for data transport, in support of the National Weather Service, the and on the use of event notifications in LDM. Federal Aviation Administration, and other agencies. Well-known GSD products include the 2. LIMITATIONS OF THE HA ARCHITECTURE Rapid Update Cycle (RUC) model, the Local Analysis and Prediction System (LAPS), the While GSD's HA pairs have operated Meteorological Assimilation Data Ingest System successfully for a number of years (MADIS), and Science On a Sphere® (SOS). A (Lipschutz and MacDermaid, 2005), and provided common feature of these and other projects is robust availability through their automated fail- that they require observational and model data over mechanism, a major drawback has been the provided by acquisition systems running within need for two machines, one of which is mostly GSD’s Central Facility. These systems handle idle, to support a single processing configuration.
    [Show full text]
  • Debian Installer Bullseye Alpha 3 Released and More Debian News
    Published on Tux Machines (http://www.tuxmachines.org) Home > content > Debian Installer Bullseye Alpha 3 Released and More Debian News Debian Installer Bullseye Alpha 3 Released and More Debian News By Roy Schestowitz Created 06/12/2020 - 9:51pm Submitted by Roy Schestowitz on Sunday 6th of December 2020 09:51:32 PM Filed under Debian [1] Debian Installer Bullseye Alpha 3 release [2] The Debian Installer team[1] is pleased to announce the third alpha release of the installer for Debian 11 "Bullseye". Improvements in this release ============================ * apt-setup: - Remove mention of volatile repo from generated sources.list file (#954460). * base-installer: - Improve test architecture, adding support for Linux 5.x versions. * brltty: - Improve hardware detection and driver support. * cdebconf: - Make text interface report progress more accurately: from the very beginning, and also as soon as an answer to a question has been given. * choose-mirror: - Update Mirrors.masterlist. * console-setup: - Improve support for box-drawing characters (#965029). - Sync Terminus font with the xfonts-terminus package. - Fix Lithuanian layout (#951387). * debian-cd: - Only include Linux udebs for the latest ABI, making small installation images more useful. * debian-installer: - Bump Linux kernel ABI to 5.9.0-4 - Drop fontconfig tweaks introduced in the Debian Installer Buster Alpha 1 release (See: #873462). - Install kmod-udeb instead of libkmod2-udeb. - Mimick libgcc1 handling, for libgcc-s1. - Clean up the list of fake packages. - Replace the mklibs library reduction pass with a hack, copying libgcc_s.so.[124] from the host filesystem for the time being. - Add explicit build-depends on fdisk on arm64, amd64 and i386 now that util-linux doesn't depend on it anymore.
    [Show full text]
  • Proceedings of the FREENIX Track: 2004 USENIX Annual Technical Conference
    USENIX Association Proceedings of the FREENIX Track: 2004 USENIX Annual Technical Conference Boston, MA, USA June 27–July 2, 2004 © 2004 by The USENIX Association All Rights Reserved For more information about the USENIX Association: Phone: 1 510 528 8649 FAX: 1 510 548 5738 Email: [email protected] WWW: http://www.usenix.org Rights to individual papers remain with the author or the author's employer. Permission is granted for noncommercial reproduction of the work for educational or research purposes. This copyright notice must be included in the reproduced paper. USENIX acknowledges all trademarks herein. Managing Volunteer Activity in Free Software Projects Martin Michlmayr Department of Computer Science and Software Engineering University of Melbourne Victoria, 3010, Australia Centre for Technology Management University of Cambridge Mill Lane Cambridge, CB2 1RX, UK [email protected] Abstract high amount of parallelization in the debugging process. Due to the open nature of the source code in free soft- During the last few years, thousands of volunteers ware projects, anyone can review the code, find defects have created a large body of free software. Even though and contribute bug fixes. Raymond suggested that this this accomplishment shows that the free software devel- ‘bazaar’ model, in which a large number of volunteers opment model works, there are some drawbacks asso- review the code and contribute feedback and patches, ciated with this model. Due to the volunteer nature of is the reason for the success and high quality of many most free software projects, it is impossible to fully rely free software projects. This suggestion meshes well with on participants.
    [Show full text]
  • A Zahlensysteme
    A Zahlensysteme Außer dem Dezimalsystem sind das Dual-,dasOktal- und das Hexadezimalsystem gebräuchlich. Ferner spielt das Binär codierte Dezimalsystem (BCD) bei manchen Anwendungen eine Rolle. Bei diesem sind die einzelnen Dezimalstellen für sich dual dargestellt. Die folgende Tabelle enthält die Werte von 0 bis dezimal 255. Be- quemlichkeitshalber sind auch die zugeordneten ASCII-Zeichen aufgeführt. dezimal dual oktal hex BCD ASCII 0 0 0 0 0 nul 11111soh 2102210stx 3113311etx 4 100 4 4 100 eot 5 101 5 5 101 enq 6 110 6 6 110 ack 7 111 7 7 111 bel 8 1000 10 8 1000 bs 9 1001 11 9 1001 ht 10 1010 12 a 1.0 lf 11 101 13 b 1.1 vt 12 1100 14 c 1.10 ff 13 1101 15 d 1.11 cr 14 1110 16 e 1.100 so 15 1111 17 f 1.101 si 16 10000 20 10 1.110 dle 17 10001 21 11 1.111 dc1 18 10010 22 12 1.1000 dc2 19 10011 23 13 1.1001 dc3 20 10100 24 14 10.0 dc4 21 10101 25 15 10.1 nak 22 10110 26 16 10.10 syn 430 A Zahlensysteme 23 10111 27 17 10.11 etb 24 11000 30 18 10.100 can 25 11001 31 19 10.101 em 26 11010 32 1a 10.110 sub 27 11011 33 1b 10.111 esc 28 11100 34 1c 10.1000 fs 29 11101 35 1d 10.1001 gs 30 11110 36 1e 11.0 rs 31 11111 37 1f 11.1 us 32 100000 40 20 11.10 space 33 100001 41 21 11.11 ! 34 100010 42 22 11.100 ” 35 100011 43 23 11.101 # 36 100100 44 24 11.110 $ 37 100101 45 25 11.111 % 38 100110 46 26 11.1000 & 39 100111 47 27 11.1001 ’ 40 101000 50 28 100.0 ( 41 101001 51 29 100.1 ) 42 101010 52 2a 100.10 * 43 101011 53 2b 100.11 + 44 101100 54 2c 100.100 , 45 101101 55 2d 100.101 - 46 101110 56 2e 100.110 .
    [Show full text]
  • Coleman-Coding-Freedom.Pdf
    Coding Freedom !" Coding Freedom THE ETHICS AND AESTHETICS OF HACKING !" E. GABRIELLA COLEMAN PRINCETON UNIVERSITY PRESS PRINCETON AND OXFORD Copyright © 2013 by Princeton University Press Creative Commons Attribution- NonCommercial- NoDerivs CC BY- NC- ND Requests for permission to modify material from this work should be sent to Permissions, Princeton University Press Published by Princeton University Press, 41 William Street, Princeton, New Jersey 08540 In the United Kingdom: Princeton University Press, 6 Oxford Street, Woodstock, Oxfordshire OX20 1TW press.princeton.edu All Rights Reserved At the time of writing of this book, the references to Internet Web sites (URLs) were accurate. Neither the author nor Princeton University Press is responsible for URLs that may have expired or changed since the manuscript was prepared. Library of Congress Cataloging-in-Publication Data Coleman, E. Gabriella, 1973– Coding freedom : the ethics and aesthetics of hacking / E. Gabriella Coleman. p. cm. Includes bibliographical references and index. ISBN 978-0-691-14460-3 (hbk. : alk. paper)—ISBN 978-0-691-14461-0 (pbk. : alk. paper) 1. Computer hackers. 2. Computer programmers. 3. Computer programming—Moral and ethical aspects. 4. Computer programming—Social aspects. 5. Intellectual freedom. I. Title. HD8039.D37C65 2012 174’.90051--dc23 2012031422 British Library Cataloging- in- Publication Data is available This book has been composed in Sabon Printed on acid- free paper. ∞ Printed in the United States of America 1 3 5 7 9 10 8 6 4 2 This book is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE !" We must be free not because we claim freedom, but because we practice it.
    [Show full text]
  • Redesigning Src2pkg, a Linux Package Creation Toolkit
    Redesigning src2pkg, a Linux package creation toolkit Timothy Goya December 4, 2009 Senior Project COMPUTER SCIENCE DEPARTMENT California Polytechnic State University San Luis Obispo 2009 1 Contents 1 Introduction 3 2 Background 4 2.1 GNU Coding Standards . 4 2.2 CheckInstall . 4 2.3 src2pkg 1.x . 4 3 Description 5 3.1 Flexibility and coupling . 5 3.2 A simple example script . 5 3.3 Other interesting functions . 6 3.4 Modules . 6 3.4.1 Build systems . 6 3.4.2 Sandboxing methods . 7 3.4.3 Package formats . 7 4 Evaluation 7 5 Really Cool Bash Features 8 5.1 /dev/tcp . 8 5.2 Manipulating Binary . 9 5.3 Localization . 9 6 Conclusions 9 2 Acknowledgments Many thanks to Dr. Phillip Nico for his saintly patience and understanding during his time as my senior project advisor. Special thanks to Gilbert Ashley, the author of src2pkg, for his approval and support throughout this redesign. Thanks to Piete Sartain for adminstrating the src2pkg wiki and Drew Ames for the writing much of the great documentation on the src2pkg wiki. I would also like to thank Dr. Alexander Dekhtyar for acting as my advisor for my rst senior project idea. Abstract Package managers ease installation and removal of applications. How- ever, as the name indicates, in order for a package manager to be useful, they need packages created from upstream sources to manage. This is the purpose of src2pkg, a toolkit written in Bash shell script which automates many package creation tasks. src2pkg, however, suers from major de- sign aws that cripple its ability to package some exotic upstream sources.
    [Show full text]