Code Monkey home page Code Monkey logo

pkgutils's Introduction

About the fork
==============

This is a fork of CRUX Linux pkgutils
<https://crux.nu/gitweb/?p=tools/pkgutils.git>.

I created this fork to allow the local package installation (e.g. in a
user's home subdirectory like $HOME/local, which is the default now)
and the operation as a non-root user (though using fakeroot for extra
cleanliness won't hurt).  The documentation was not updated yet and
there may exist some unhandled corner cases.

Installation
------------

Currently it should suffice to run "./install.sh"
or "env PREFIX=$HOME/something ./install.sh" which more
or less does the things specified below:

1. Run "make PREFIX=$HOME/local install" to install pkgutils without
packaging it (as we don't have pkgutils installed yet to package it
with).
2. Run "./pre-install" to initilize the package database.
3. Add the upstream repository to your Git clone as we need the tags from it:
       git remote add upstream git://crux.nu/tools/pkgutils.git
   ...and then fetch from it:
       git fetch upstream
4. Run "fakeroot pkgmk -d && pkgadd -f pkgutils#SOME_VERSION.pkg.tar.gz"
to install pkgutils as a package, overwriting the version installed
manually in step 1.

Note regarding point 2: Yes, it is confusing whether it is a pre- or
post-install script.  I consider it pre-install because the initial
installation wasn't done with pkgutils.

Updating pkgutils consists on just running "fakeroot pkgmk -d -u", there
is no need to perform the steps above more than once.

Note that the -d option of the pkgutils package works in an unusual
way as it doesn't download the archive but creates it on the fly.
This causes the need to update/ignore the MD5 sums quite frequently
after any introduced changes.  Expect to run "pkgmk -um" often for
this package and don't freak out, it is the expected behavior.


Original README
===============


              pkgutils - Package Management Utilities

               http://www.fukt.bth.se/~per/pkgutils/


Description
-----------
pkgutils is a set of utilities (pkgadd, pkgrm, pkginfo, pkgmk and rejmerge),
which are used for managing software packages in Linux. It is developed for
and used by the CRUX distribution (http://crux.nu).


Building and installing
-----------------------
$ make
$ make install
or
$ make DESTDIR=/some/other/path install


Copyright
---------
pkgutils is Copyright (c) 2000-2005 Per Liden and
Copyright (c) 2006-2017 CRUX team (http://crux.nu).

pkgutils is licensed through the GNU General Public License.
Read the COPYING file for the complete license.

pkgutils's People

Contributors

abrouwers avatar mhoush avatar nipul avatar predivan avatar thomaspenteker avatar tilman2 avatar vifon avatar winkj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pkgutils's Issues

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.