In this article, we will delve into the issue of the “Unable to Locate Package libicu60” error when trying to install R on Ubuntu. We will provide a step-by-step guide on how to resolve this issue, and ensure you have a smooth installation process.
To fix the "Unable to Locate Package libicu60" error when installing R on Ubuntu, you can try downloading and installing the libicu60 package manually from the Ubuntu Packages website. However, there is no guarantee of success due to potential compatibility issues between Ubuntu versions. Alternatively, for more recent versions of Ubuntu, you may need to use a different version of libicu, such as libicu67.
Understanding the Issue
If you are attempting to install the R programming language on Ubuntu 19.10 and are encountering an issue with the missing dependency
libicu60, you are not alone. This issue arises because
libicu60 is only available in Ubuntu 18.04 and not in any releases before or after. This can be a hindrance to your installation process, but it’s a solvable problem.
Possible Solution: Downloading and Installing libicu60 Manually
One possible solution is to try downloading the
libicu60 package for Ubuntu 18.04 from the Ubuntu Packages website and installing it locally. However, there is no guarantee that this will work due to potential compatibility issues between Ubuntu versions.
To install a downloaded package, you can use the following command:
sudo apt install /path/to/package.deb
In the command above,
sudo is a command that allows you to run programs with the security privileges of another user (by default, as the superuser).
apt is a package handling utility (acronym for APT stands for “Advanced Package Tool”).
install is the command to install a package, and
/path/to/package.deb should be replaced with the actual path and package name.
Alternative Solution: Using a Different Version of libicu
For more recent versions of Ubuntu (like 21.**), you may need to use
libicu67 instead of
libicu60. To install
libicu67, you can use the following command:
sudo apt install libicu67
This command will install the
libicu67 package, which may be compatible with your version of Ubuntu.
It’s important to note that the instructions provided in the link you shared do not include Ubuntu 19.10. It’s possible that the instructions are specific to certain Ubuntu versions, and Ubuntu 19.10 is not supported. Make sure to check for any specific instructions or requirements for your Ubuntu version.
In summary, the
libicu60 package is not available for Ubuntu 19.10. You can try downloading and installing it manually, but there is no guarantee of success. Alternatively, you may need to explore other options or consider using a different version of Ubuntu that supports
We hope this guide has been helpful in resolving your issue. If you continue to encounter problems, it may be worth reaching out to the Ubuntu community or the R programming language support for further assistance.
libicu60 package is a dependency required by R to support Unicode and internationalization functionalities.
libicu60 package is necessary for the proper functioning of R on Ubuntu 19.10. Without it, you may encounter errors or missing functionalities.
libicu60 is not available for your Ubuntu version, you can try installing a different version that is compatible. For example, you can install
libicu67 on Ubuntu 19.10.
You can download the
libicu60 package for Ubuntu 18.04 from the Ubuntu Packages website. However, keep in mind that there may be compatibility issues when installing it on Ubuntu 19.10.
If you are unable to install
libicu60 or a compatible version, you may need to consider using a different version of Ubuntu that supports
libicu60. Alternatively, you can explore other options for running R, such as using a virtual machine or container with the desired Ubuntu version.