You are not logged in.

#1 2023-03-11 19:11

roman
Member
Registered: 2023-03-11
Posts: 1

Installation with DPKG

Hi all, i want to know, can I normally install some applications, using "dpkg" at q4os? Or dpkg will break the system?

Offline

#2 2023-03-11 23:34

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 606

Re: Installation with DPKG

I use to use

$ sudo apt install <package>

Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#3 2023-03-12 06:59

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,386

Re: Installation with DPKG

Using dpkg can cause problems. Essentially what it does is to just dump the contents of the package into the various places they are needed.

What it does not do is any kind of sanity check/dependency check etc. So, you can install a deb via dpkg and find it doesn't work and that potentially it can cause issues with other existing packages.

Using dpkg -I ./packagename will show you the dependencies.

To install a package you have downloaded, navigate to the location of that package and use

sudo apt install ./packagename 

This will check for install sanity and dependencies. The ./ is important as it tells apt it is a local package rather than in a repo.

Last edited by bin (2023-03-12 07:43)

Offline

Board footer

Powered by FluxBB