sudo apt install = sudo apt-get install??
Are the same thing?
< >
18/8 megjegyzés mutatása
Both will do the same thing.

apt is apt-get's modern replacement. Use apt.
Omega eredeti hozzászólása:
Both will do the same thing.

apt is apt-get's modern replacement. Use apt.

And apptitude does the same?

I remember a command like this existed for installing packages
AS BAYRAKLARI AS eredeti hozzászólása:
Omega eredeti hozzászólása:
Both will do the same thing.

apt is apt-get's modern replacement. Use apt.

And apptitude does the same?

I remember a command like this existed for installing packages
Apptitude is a text-based front-end for apt. It just runs apt in the background.
Omega eredeti hozzászólása:
Both will do the same thing.

apt is apt-get's modern replacement. Use apt.
apt shows a progress bar.
apt-get is likely retained for backwards compatibility.
Legutóbb szerkesztette: Crashed; 2021. jún. 15., 13:54
I use "apt" when I need to install stuff and am on the console / remote ssh session, since it has interactive choices when needing to update config files as part of the update

I use "apt-get" for scripted automated package installation since it handles non-interactive remote installs quite nicely
You can use apts just fine for scripts. But when doing so it will warn you that it's "CLI interface is not stable" and that you should use apt-get. By this they mean that stuff might change causing your scripts to break.

apt-get which sees no more major changes to the codebase does not have this issue.
Btw is modprobe installed by default on every Linux distro?

I need It for RAID
AS BAYRAKLARI AS eredeti hozzászólása:
Btw is modprobe installed by default on every Linux distro?

I need It for RAID
It is a basic utility. Of course if you have a third party RAID driver you have to compile it for your specific kernel, assuming it isn't in your kernel package already.
< >
18/8 megjegyzés mutatása
Laponként: 1530 50

Közzétéve: 2021. jún. 15., 9:47
Hozzászólások: 8