Giter VIP home page Giter VIP logo

auto-apt's Introduction

$Id: README,v 1.9 2000/11/21 15:45:03 ukai Exp $

auto-apt -- on demand package installation tool

Copyright (c) 2000 Fumitoshi UKAI <[email protected]>
This is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

* Setup
 In case that a file is not installed and found in db, auto-apt will 
 automatically run
   "sudo apt-get install <package>".
 So you need to setup sudo in order to get root privs without password
 (visudo(1), adduser <user> sudo)

 For example, in /etc/sudoers:
   <user>  ALL=(root) NOPASSWD: /usr/bin/apt-get -y install [!-]*


 Create your pkgcontents.db (available file info) and
 pkgfiles.db (installed file info)

	# auto-apt update
		-- create pkgcontents.db (from /etc/apt/sources.list info)

	# auto-apt update-local
		-- create pkgfiles.db

   Note that these operation is not so fast.

* Usage

  % auto-apt run
  
	-- enter auto-apt environment

  % auto-apt status

	-- show "auto-apt mode" or "normal mode"

  # auto-apt update

	-- recreate /var/cache/auto-apt/pkgcontents.db

  % auto-apt check /bin/ls
  fileutils

	-- Check which package provides the file.

  % auto-apt search keyword

	-- Search by keyword

* detect file access
  % auto-apt run -L $HOME/detect.lists -s

	-- enter auto-apt environments, and save file access
	   information to $HOME/detect.lists (by -L option)
	   No automatic apt-get install (by -s option)

  You can exit auto-apt mode by simply exiting from the shell.
  detect.lists is plain text.

Another example,

  # auto-apt update-local

	-- generate installed file information

  % auto-apt debuild

	-- debuild with checking build-depends

auto-apt's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.