If i took some .deb files with libraries and i wanna install all of them which command should i use dpkg of apt-get | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

If i took some .deb files with libraries and i wanna install all of them which command should i use dpkg of apt-get

3rd Mar 2018, 9:17 PM
@Stormz_The_Hacker.
@Stormz_The_Hacker. - avatar
5 Answers
+ 1
dpkg -i *.deb will install all debs file in the folder. presumed that your program and libraries (also in deb) is in the same folder
4th Mar 2018, 1:56 AM
Aries Aprilian
Aries Aprilian - avatar
+ 1
tried that for my Kali Linux but when I logged off and went back to it it didn't boot please help
5th Mar 2018, 11:08 AM
@Stormz_The_Hacker.
@Stormz_The_Hacker. - avatar
0
depends of the linux version i think, i always used apt-get 🤔
3rd Mar 2018, 11:17 PM
Jérémy Bouvier
Jérémy Bouvier - avatar
0
If you have Debian package files ( *.deb ) you'll wanna use dpkg. If you need to figure out how to do what you need with it just run 'man dpkg' or dpkg with the "help" flag (dpkg --help). APT is a higher level tool with uses dpkg in the background as far as I remember. It's good for searching repos, installing, and uninstalling full packages from a repo. But for the .deb files themselves dpkg should serve you well.
3rd Mar 2018, 11:24 PM
Lewis
Lewis - avatar
0
Can you explain what it did exactly? Were you running a fully installed version or the live version with persistence?
5th Mar 2018, 12:38 PM
Lewis
Lewis - avatar