![]() ![]() You may forget about Hardware Enablement Stack for the moment. Your system is supported until April 2025. How do you know if you Ubuntu version is supported or not? Use this simple command to find it out: hwe-support-status -verboseįor my supported version, it shows this output: You are not running a system with a Hardware Enablement Stack. In either case, if you are using an Ubuntu release that has reached its end of life, you won’t be able to install any new packages and see this unable to locate package error. The regular release is supported for nine months while the long term support releases are supported for five years. Check if you are using an active Ubuntu release Now if you try to install the package, things should be fine. You must also update the cache so that your system is aware of the new packages available through these repositories: sudo apt update If the intended package is available for your Ubuntu version but it a repository like universe or multiverse, you should enable these additional repositories: sudo add-apt-repository universe multiverse If you are wondering what the heck is Universe repository, please refer to the Ubuntu repository article I had mentioned earlier. This means the package shutter is available for Ubuntu 18.04 Bionic but in the ‘Universe repository’. In my case, the package name is an exact match. The codename is what important here: :~$ lsb_release -a You’ll get the Ubuntu version number and the codename in the output. Open a terminal and use the following command: lsb_release -a I’ll explain it for you.įirst step, check the Ubuntu version you are running. Either the package available in Universe repository and your system hasn’t enabled it or the package is not available on your Ubuntu version altogether. But you are following the instructions mentioned on some website and everyone else seems to be able to install it like that. It is possible that the package is really not available. You run the update command to rebuild the cache and yet you see the unable to locate package error. Check if package is available for your Ubuntu versionĪlright! You checked the name of the package and it is correct. This is why you should run the apt update command right after installing Ubuntu or any other distributions based on Ubuntu (like Linux Mint).Įven if its not a fresh install, your apt cache might be outdated. When you have a freshly installed Ubuntu system, the cache is empty. If the package is not in this cache, your system won’t be able to install it. When you use the install command, apt package manager searches the cache to get the package and version information and then download it from its repositories over the network. ![]() Basically, the ‘apt update’ command builds a local cache of available packages. I recommend to get through the concept of Ubuntu repositories. This command won’t update Ubuntu straightaway. If this is the first time you are using your system after installing, you should run the update command: sudo apt update For example, the command name should be vlc, not Vlc or VLC. So make sure that you are typing the correct package name. Typos are common so make sure that you have not made any mistakes in typing the name of the package.Īlso, the commands in Linux are case-sensitive. Did you make a typo in the package name? I mean, if you are trying to install vlc and you typed vcl, it will surely fail. The lesson here is that if you install by "./configure make sudo make install" do not delete the source directories which are your route to uninstalling.Let’s see how to troubleshoot this issue one step at a time. You can try and find all the files that were installed and delete them manually but you may not find them all and left over files may interfere with installing via the package management system so "sudo make uninstall" is by far the best approach. That is one of the reasons not to install software that way! The best way to remove a package installed by "make install" is "make uninstall". None of them will know anything about a package that has been installed by "make install". If you have reinstalled the source you will need to "./configure" and "make" before you can "sudo make uninstall" otherwise whenever make enters a directory it will find nothing to do.Īll the answers that have referred to apt-get or any other package management tool wont work because gnuplot was not installed by a package management program. "sudo make uninstall" is still the way I'd go with this. I enclose a text file with the results of the 'locate gnuplot' command. I installed gnuplot 4.2.2 with the 'make install' procedure and is not possible to uninstall the program from the synaptic package manager. I downloaded from the gnuplot 4.2.2 and I executed the 'make uninstall' command but with no results. ![]() I can't find gnuplot 4.2.2 in my source directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |