![]() ![]() You run the update command to rebuild the cache and yet you see the "unable to locate package" error. Check if the 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 it's 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 downloads 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 And that's numeric 1, not the letter L in small cases. With Snap, VS Code package is named code, not vscode.Ī practical example is installing zlib package on Ubuntu. In Ubuntu, Docker package is docker.io because docker was an existing package. Remember that the installable package name could be different than the popular software name. 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 you have not made any mistakes in typing the package's name.Īlso, the commands in Linux are case-sensitive. Typos are one of the main reasons behind 'package not found error' ![]() 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. Let’s see how to troubleshoot this issue one step at a time. Fixing ‘Unable to locate package error’ on Ubuntu But why is it so? Why can it not find the package? Let’s see some of the actions you can take to fix this issue. Your Linux system cannot find the package that you are trying to install. The error reads: sudo apt-get install package_name Sometimes, you may encounter an error while trying to install application in this manner. You open a terminal and use the program name to install it like this: sudo apt install package_name Continue reading this tutorial to learn how to install Pritunl Enterprise VPN Server on a CentOS 8 AWS EC2 Instance and deploy a simple site to site VPN.One of the many ways of installing software in Ubuntu is to use the apt-get or the apt command. Pritunl VPN supports OpenVPN, IPSEC and Wireguard VPN technologies and alliows you to create site-to-site and site-to-multi-site VPN connections, create network connections between cloud environments and on-premise environments, interconnect cloud VPC’s in different regions and even multi-cloud VPC peering. Pritunl VPN servers can be easily scaled on different server across multiple data centers making it possible to deploy highly distrinuted and fault tolerant VPN connections for your organization. Premium and Enterprise paid versions of Pretunl VPN server are also available and offer even more features and functionality. Unlike many other VPN solutions, the free version of Pretunl VPN server allows you to have a single server with an unlimited number of vpn user accounts and an unlimited number of connected vpn devices. Pritunl Enterprise VPN Server is an open source VPN solution that is free to download and use. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |