https://github.com/brainblasted/saw
A dead-simple apt wrapper
https://github.com/brainblasted/saw
apt debian linux rust wrapper
Last synced: about 2 months ago
JSON representation
A dead-simple apt wrapper
- Host: GitHub
- URL: https://github.com/brainblasted/saw
- Owner: BrainBlasted
- License: gpl-3.0
- Created: 2017-12-27T08:27:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T18:41:53.000Z (over 8 years ago)
- Last Synced: 2025-01-13T00:14:57.311Z (over 1 year ago)
- Topics: apt, debian, linux, rust, wrapper
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 .
```