Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brainblasted/saw

A dead-simple apt wrapper
https://github.com/brainblasted/saw

apt debian linux rust wrapper

Last synced: 29 days ago
JSON representation

A dead-simple apt wrapper

Awesome Lists containing this project

README

        

# Simple Apt Wrapper (saw)

A seriously simple wrapper around apt for Debian based systems.

## Features?

You never have to worry about this:

```shell
$ apt install foo
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

$ sudo apt install foo
```

Saw automatically handles calling `sudo`.
Saw doesn't only work with install, though. It can be used in place of apt for every command, since it just
passes all arguments straight to apt.

## Is That It?

Yup.

## Couldn't you have just-

Probably. I was tired when I decided that making this would have been better than
making an `apt` and alias to `sudo apt`.

```
Copyright (C) 2017 Christopher Davis

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see .
```