Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install deb in project folder. Please help #219

Open
mazm786 opened this issue Feb 9, 2022 · 2 comments
Open

Failed to install deb in project folder. Please help #219

mazm786 opened this issue Feb 9, 2022 · 2 comments

Comments

@mazm786
Copy link

mazm786 commented Feb 9, 2022

I have successfully installed at global level by following command.
dotnet tool install --global dotnet-deb

but failed to run it at project level by this command.
dotnet deb install

Error:

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-deb does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

.Netcore version: .Net5.0
Ubuntu: 18.04.6 TLS
VSCODE : 1.64.1
OS: Linux x64 5.4.0-96-generic

@leo-schick
Copy link

Same for me. Running Debian on WSL:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
$ dotnet --version
6.0.201
$ uname -r
5.10.60.1-microsoft-standard-WSL2
$ cat /proc/version
Linux version 5.10.60.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Aug 25 23:20:18 UTC 2021

@stdedos
Copy link

stdedos commented Apr 4, 2022

I have successfully installed at global level by following command. dotnet tool install --global dotnet-deb

Define successfully. I have successfully installed dotnet-deb, but then, the command output was:

root@c1bbe48cf612:/source# dotnet tool install --global dotnet-deb
Tools directory '/root/.dotnet/tools' is not currently on the PATH environment variable.
If you are using bash, you can add it to your profile by running the following command:

cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK tools
export PATH="$PATH:/root/.dotnet/tools"
EOF

You can add it to the current session by running the following command:

export PATH="$PATH:/root/.dotnet/tools"

You can invoke the tool using the following command: dotnet-deb
Tool 'dotnet-deb' (version '0.1.220') was successfully installed.

Line

You can invoke the tool using the following command: dotnet-deb

implicitly expects that the message before it (i.e. the not-in-PATH message) wasn't triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants