vscode appears as not installed in the terminal but it is clearly installed.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
vscode appears as not installed in the terminal but it is clearly installed.
Vs code appears as not installed in the terminal but it is clearly installed.
I am trying to remove vs code because I am having problems with some python modules and I have read that one of the things I could do is to remove it and reinstall it.
When I go to remove it it tells me that vs is not installed which is not true cause im using at the moment, what can it be?
What distro are you using? What command are you typing into the terminal to check if it's installed? How do you know that it's installed? How are you trying to remove it?
What distro are you using? What command are you typing into the terminal to check if it's installed? How do you know that it's installed? How are you trying to remove it?
Distro: Linux Mints 21.1
Commands: sudo apt-get remove code
I know is installed because im able to use it..
and im trying to remove it with that command, which actually worked before for some reason i had vs twice, i dont know why.. but it removed one and not the other.
No. I was just checking because that's another way that you could have possibly install vscode.
alright, i understand...but how is possible that it tells me is not installed when im using it? theres other reasons this could be happening? i have such a mess,i begin not so long coding and theres a lot of caos going on in my pc.
vscode may be installed (or may have been installed) in 3 different ways. As a flatpak, directly from the system repo using apt, or using git. Each method is different and the result of each is invisible to the other methods.
Is it possible that you have installed vscode twice, using a different method for each, and have only removed one version?
If so then for a complete removal you would need to use the same method used for the install to perform the removal.
It certainly is possible for a package that was installed in more than one way to have interference between the versions. This is commonly seen when using a locally compiled and installed version as well as one from the package repo -- especially if the compiled version is installed second and may overwrite libraries or similar.
The only certain way to avoid conflicts is to only install by one method and if wanting to change the install method then remove the first before installing the second.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.