Skip to content

A Rust client for batch installing Aptitude packages (a la Cargo.toml)

Notifications You must be signed in to change notification settings

pattyjogal/apt.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rust client for batch installing Aptitude packages (a la Cargo.toml)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages