hi everyone
I am new player to ubuntu
how can i install .deb file in ubuntu with dependency? (in terminal or without it)
my ubunut is 18.04
Many Thanks
samad
hi everyone
I am new player to ubuntu
how can i install .deb file in ubuntu with dependency? (in terminal or without it)
my ubunut is 18.04
Many Thanks
samad
Please mark your thread as solved if you get a satisfactory responseUbuntu membership via Forums contributions
open the terminal and type:
If you get an error after running this command then type:Code:sudo dpkg -i yourdebfile.deb
That should do it.Code:sudo apt -f install
To know more about specific commands you can also run the man command. Like:
It will usually show you information about a specific commands and all the things you can do with it.Code:man dpkg
Last edited by twily2018; July 23rd, 2018 at 02:36 PM.
Just click it. Then the software centre would install it.
If you must use command
would do it.Code:sudo apt install /absolute/path/to/deb
I don't recommend -f if errors are encountered without knowing what the errors are. It might install the .deb while your underlying problems remain unresolved.
But this is a new user section, why make it more complicated than has to? Man dpkg to install a .deb?? BTW dpkg doesn't install dependencies.
Last edited by monkeybrain20122; July 23rd, 2018 at 04:48 PM.
Or, you could install the package gdebi and make it rather easy. Gdebi is in the Software Center and synaptic.
I see now. I didn't know that. It just never auto-completed the packages in the same directory, had to write the full path while dpkg did it in the same directory and then I just had to run apt -f install which then gets the deps and install it. I guess it's just a matter of preference. For 5 years on debian I always used dpkg. lol
Bookmarks