| Crates.io | aoit |
| lib.rs | aoit |
| version | 0.1.9 |
| created_at | 2024-09-14 15:42:35.325132+00 |
| updated_at | 2024-09-19 11:24:33.156704+00 |
| description | Apt offline installation tool (support `Debian` family distribution only). |
| homepage | https://github.com/rikonaka/aoit-rs |
| repository | https://github.com/rikonaka/aoit-rs |
| max_upload_size | |
| id | 1374883 |
| size | 71,082 |
Apt offline installation tool (support Debian family distribution only).
architecture and the same distribution as the B server, and with a good network.cargo installInstall rust first from here, then
cargo install aoit
or just download from release page.
If you need software for other arch, try cargo install below or cargo build by yourself.
We use vim package as example.
Create a work folder.
root@debian:~# mkdir test
root@debian:~# cp aoit test/
root@debian:~# cd test
Start packing.
root@debian:~/test# ./aoit --pack vim
These three files will appear in the directory.
root@debian:~/test# ls
aoit vim.aoit vim.aoit.sha256
Do not change any files, including naming and content, and make sure all three files are copied to a USB or CD.
Check for the presence of these three files.
root@debian:~/test# ls
aoit vim.aoit vim.aoit.sha256
Start offline installation.
root@debian:~/test# ./aoit --install vim.aoit
Fixing apt dependencies
apt install -f
If this process does not have any error messages, the installation is successful and you can now use the offline installed vim.