Why doesn't fdisk in debian 10 buster?

I have slowly used many utilities all distributions are slowly replaced. Instead of ipconfig is ip a, instead of ufw is iptables/firewalld, etc.
Problem on debian xfce buster 10. man fdisk is. a team for the execution of fdisk no:
bash: fdisk: command not found
Despite the fact that apt-get install fdisk:
fdisk is already the newest version (2.33.1-0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
In linux I have a weak skill.
April 4th 20 at 00:29
2 answers
April 4th 20 at 00:31
Solution
dpkg-L fdisk will show all the files in the package fdisk.
which fdisk will find the full path to fdisk the directories in $PATH.

Most likely you need to be in /sbin/fdisk. And most likely not the missing file, and $PATH not a directory /sbin.
dpkg-L fdisk will show all the files in the package fdisk.

/.
/sbin
/sbin/cfdisk
/sbin/fdisk
/sbin/sfdisk
/usr
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/cfdisk
/usr/share/bash-completion/completions/fdisk
/usr/share/bash-completion/completions/sfdisk
/usr/share/doc
/usr/share/doc/fdisk
/usr/share/doc/fdisk/changelog.Debian.gz
/usr/share/doc/fdisk/changelog.gz
/usr/share/doc/fdisk/copyright
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/cfdisk.8.gz
/usr/share/man/man8/fdisk.8.gz
/usr/share/man/man8/sfdisk.8.gz
which fdisk will find the full path to fdisk the directories in $PATH.

the conclusion is empty
Most likely you need to be in /sbin/fdisk. And most likely not the missing file, and $PATH not a directory /sbin.

did
PATH=/sbin:$PATH
export PATH
Earned the fdisk output directly instead of /sbin/fdisk.
Thank you. However, the question why it works out of the box like that? Previously, at least on Centos7. - lennie.Cole69 commented on April 4th 20 at 00:34
@lennie.Cole69, depending on distribu in PATH in directory ..../sbin from non-root. In addition, the policy distribution for this reason may change, but it will affect only in .bash_profile/.bashrc new users (for which they are taken from /etc/skel), and the old will be as it was before. - Carson.Emmeri commented on April 4th 20 at 00:37
April 4th 20 at 00:33
Recently put Buster fdisk worked.
Looks like You have a system glyukanul.
In General, the farther the debian worse. Except the normal working repository is only in the extreme release, and the system itself is more buggy.
For example I could not properly set firewall. I confess, I picked not for very long.
I do mostly use windows10 and sometimes centos7. I decided to try debian closely. previously with debian restricted to the installation, to try. Kind of like saying debian is better suited for the home, simpler and more open-source and most importantly had its least.
I have peresekaet re-distribution from the office site and again installed. and again, fdisk does not work. Most likely the utility was replaced by something else, but usually when you call a service for example, will clearly stated that to use systemctl, but the service will still work.
fdisk does not work, and the man at the end there are other utilities, I tried: cfdisk, sfdisk, mkfs, partx. Only partx worked. the rest like removed from the system by default or replaced by something else.

The other question of course, but in parallel there trying to stick debian on the second computer so there is generally a way to get:
configure the package manager. installation step failed. an installation step failed. you can try to run the failing item again from the menu, or skip it and chose something else. the failing step is ' configure the package manager - lennie.Cole69 commented on April 4th 20 at 00:36

Find more questions by tags Debian