Offline installation of .deb files and updates

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
User avatar
AntonioPt
Posts: 169
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 76 times
Been thanked: 33 times

Offline installation of .deb files and updates

Post by AntonioPt »

Hello everyone,

Gonna share my basic script to install deb files offline test it in Buster, Bionic and fossa
i call it multiple_install.sh and desktop_update.sh
1 install manualy pkg-1.9.22-noarch.pet no need in fossa
2 add this script in any folder where you have your debs
PS: If you run this in a live CD of Fossa will not work since will say that path wont exist
Ex:
/any_path/both_script
/any_path/mpv/deb_files
/any_path/vlc/deb_files
/any_path/more_apps/deb_files

Hope this can help anyone and of course still more to do since this list its mininal :)

Attachments
scripts.7z
(1.76 KiB) Downloaded 51 times
Last edited by AntonioPt on Mon Oct 18, 2021 1:42 pm, edited 3 times in total.

Why astronauts use Linux
Because you can't open windows in space

User avatar
April
Posts: 493
Joined: Tue Dec 29, 2020 9:06 pm
Has thanked: 57 times
Been thanked: 28 times

Re: Offline installation of .deb files and updates

Post by April »

Always best if you include a file with the code in it rather than just listing out the text in your post.
That avoids mistakes like

Code: Select all

root# ./multiple_install.sh
 dint found nuthing to install 
./multiple_install.sh: line 39: 3: command not found
./multiple_install.sh: line 40: P.S.: command not found
./multiple_install.sh: line 41: desktop_update.sh: command not found
root# 

Code: Select all

echo " dint found nuthing to install "

does not do much for me confidence wise either.

The Australian State Governments have all enacted laws to steal your assets on your death. All legal paperwork is binned and all assets seized on one disgruntled child's complaint.Move them well before you die or go into a home.

User avatar
AntonioPt
Posts: 169
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 76 times
Been thanked: 33 times

Re: Offline installation of .deb files and updates

Post by AntonioPt »

Hello April,

First of all thxx for your replay.
Gonna share code now and some prints since im guessing you join bouth scripts in one :)
my instalation you gonna see that is allready install since i didnt remove nuthing just made a print to prove that is working
P.S. Still need to do some updates but for now its all i got if you got ideias,.. please fell free.
Let me know how is it works over
António Pires

Attachments
paths.png
paths.png (18.24 KiB) Viewed 453 times
multiple_install.png
multiple_install.png (61.78 KiB) Viewed 453 times
desktop_updates.png
desktop_updates.png (12.28 KiB) Viewed 453 times
Last edited by AntonioPt on Wed Oct 06, 2021 4:14 am, edited 2 times in total.

Why astronauts use Linux
Because you can't open windows in space

Post Reply

Return to “Programming”