Fischer asked this 3 years ago

how to check samba is installed on not in raspberry pi?

how can i check if samba is already installed or not in my raspberry pi? I have a folder named samba in /etc with 2 files smb.conf and gdbcommands 

I can see 2 samba related packages in the list of installed packages

sudo apt list --installed

samba-common/stable,now 2:4.2.10+dfsg-0+deb8u3 all [installed,automatic]

samba-libs/stable,now 2:4.2.10+dfsg-0+deb8u3 armhf [installed,automatic]

but if run the command samba --version i get command not found message


gareth 4 months ago
if you are getting command not found message it means samba is not installed 
Guest 4 months ago

try this command which smbd