apt-rs

Crates.ioapt-rs
lib.rsapt-rs
version0.2.1
sourcesrc
created_at2018-01-24 20:43:34.283348
updated_at2018-01-24 22:23:10.980571
descriptionA Rust client for batch installing Aptitude packages (a la Cargo.toml)
homepage
repositoryhttps://github.com/pattyjogal/apt.rs
max_upload_size
id48182
size5,838
Patrick J Gallagher (pattyjogal)

documentation

README

apt.rs

Introduction

Whenever I set up Linux on a new computer, I always have my configuration ready to go, since I keep my configuration files synced in a GitHub repo. However, while I can easily get vim and zsh settings up and running, I always find myself reinstalling a whole bunch of apt packages.

Because of this, I wanted to make a sort of Cargo.toml, or requirements.txt that works in conjucntion with apt. This can be used personally, or in projects that may require certain programs to be installed.

In its current phase, the project is limited, though very simple. I hope to extend it to include more apt setup commands, and also at some point branch out to other packaged managers, like pacman, yaourt, etc.

Usage Instructions

The basic flow for using apt.rs is creating a Packages.toml file with entries for all of your required dependencies. Apt.rs will look for different sections (note in a toml file, a section looks like this: [section_name]):

  • [dependencies]: These are the actual package names/versions to install. Each entry is the package name, followed by either a version code or "*" for the newest available version.
  • [ppas]: Some packages may come from external PPAs. Apt.rs will add these first, and then run the dependency install phase afterwards.
Commit count: 15

cargo fmt