![]() ![]() ![]() Once the repository is imported, refresh the APT repository list by using the update command: $ sudo apt update Step 6: Install R through CRAN repository ![]() Next, import the GPG key in your system through below command: $ wget -O- | sudo gpg -dearmor | sudo tee /usr/share/keyrings/cran.gpg Step 5: Add CRAN repositoryĪfter importing the GPG key, you need to add the CRAN repository that is highly recommended for R installation: $ echo deb $(lsb_release -cs)-cran40/ | sudo tee /etc/apt//cran.list Step 3: Authenticate the packagesĪuthenticate the installed packages by writing out the following command: $ sudo apt-key adv -keyserver -recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 Step 4: Import GPG key Run the following command for the specified purpose: $ sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common These dependencies are used to execute the R on Ubuntu 22.04. Now, on your Ubuntu 22.04 system, download and install required dependencies. Now, upgrade the system packages with the help of the following command: $ sudo apt upgrade Step 2: Add dependencies ![]()
0 Comments
Leave a Reply. |