Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/solidsnack/todeb
Specify Debian packages to install users, filesystem heirarchies and collections of packages.
https://github.com/solidsnack/todeb
Last synced: about 1 month ago
JSON representation
Specify Debian packages to install users, filesystem heirarchies and collections of packages.
- Host: GitHub
- URL: https://github.com/solidsnack/todeb
- Owner: solidsnack
- Created: 2010-07-29T20:28:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-11-16T00:24:59.000Z (about 13 years ago)
- Last Synced: 2023-04-09T12:18:40.661Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Installing/removing files.
----------------------------------------------------------------------------In the `examples' dir is a `todeb.yaml' that specifies installing all the
files under the `contents' directory.:; todeb < examples/simple-directory-example/todeb.yaml
:; sudo dpkg -i todeb-working-dir/todeb-example_0.0.0.deb
:; sudo dpkg -r todeb-exampleYou have installed and removed a simple collection of files.
Installing/removing a simple collection of dependencies.
----------------------------------------------------------------------------The file `tex_install.yaml' specifies a few TeX packages I regularly use.
:; todeb < examples/simple-dependencies-example/tex_install.yaml
:; sudo gdebi todeb-working-dir/my-tex-stuff_0.0.0.deb
:; sudo aptitude remove my-tex-stuffNote that you use `gdebi' on installation to ensure dependencies are
resolved.Depending on what TeX packages you already have installed, maybe nothing
happened. Any TeX packages installed as dependencies of `my-tex-stuff' are
removed when `my-tex-stuff' is removed; the other packages are left alone.Generating a bunch of packages and using them with Apt.
----------------------------------------------------------------------------Create a directory with debs in it, `/path/to/the/debs'. Scan the debs to
create an index file and then add a line to your apt system's collection
of repositories::; cd /path/to/the/debs
:; dpkg-scanpackages . /dev/null | gzip > Packages.gz
:; echo 'deb file:/path/to/the/debs /' > /etc/apt/sources.list.d/some.listNow you can install your packages. Find out more:
http://odzangba.wordpress.com/2006/10/13/how-to-build-local-apt-repositories/
http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-dpkg-scanpackages