https://github.com/penguincabinet/apt-from-url
URLで指定したdebファイルをインストールできる、aptラッパー
https://github.com/penguincabinet/apt-from-url
apt bash debian linux shell-script ubuntu
Last synced: 3 months ago
JSON representation
URLで指定したdebファイルをインストールできる、aptラッパー
- Host: GitHub
- URL: https://github.com/penguincabinet/apt-from-url
- Owner: PenguinCabinet
- License: mit
- Created: 2024-05-02T08:36:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T01:42:10.000Z (about 2 years ago)
- Last Synced: 2025-01-30T21:32:20.392Z (over 1 year ago)
- Topics: apt, bash, debian, linux, shell-script, ubuntu
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apt-from-url
URLで指定したdebファイルをインストールできる、aptラッパー
## ⬇️ インストール
```bash
sudo curl -L "https://raw.githubusercontent.com/PenguinCabinet/apt-from-url/main/apt-from-url" | sudo tee /usr/local/bin/apt-from-url
```
```bash
sudo chmod +x /usr/local/bin/apt-from-url
```
### 依存関係
* curl
* apt
## 🔨 使い方
`/tmp`ディレクトリにdebファイルをダウンロードし、`apt install -f`でインストールします。
```bash
sudo apt-from-url install "https://example.com/package.deb"
```
第三コマンドライン引数以降は展開され、aptに渡されます。
```bash
sudo apt-from-url install "https://example.com/package.deb" -y
```
install以外のコマンドも使用できます
```bash
sudo apt-from-url reinstall "https://example.com/package.deb"
```
## 🎫 LICENSE
[MIT](./LICENSE)
## ✍ Author
[PenguinCabinet](https://github.com/PenguinCabinet)