kdaprof.blogg.se

Rocky linux download
Rocky linux download









rocky linux download rocky linux download

Here, I will change the permission file permission to 644 so that you can make changes with sudo or root: sudo chmod 644 /etc//rocky9.repo Here, I will be computing the file contents to the file named rocky9.repo: sudo cp /mnt/disc/media.repo /etc//rocky9.repoīut that won't allow you to make any changes as the ISO file that you mounted has read-only permission ( remember the warning it gave you while mounting the ISO?). To have a working local repository, first, you have to copy the contents of /mnt/disc/media.repo file. To verify whether the ISO has been successfully mounted or not, you can use the lsblk command to list the mounted drives: lsblk Step 3: Make changes in the repository file Make sure to change the ISO file name with yours. Now, to mount the ISO, as a loop device using the loop flag: sudo mount -o loop Rocky-9.1-x86_64-dvd.iso /mnt/disc For me, it is the Downloads directory: cd Downloads Once you create a directory, change your directory where the ISO resides. So here, I will create a directory named disk inside the mount directory: sudo mkdir -p /mnt/disc Once you have downloaded the ISO file, the next step is to mount the ISO file.īut to mount the ISO file, first, you have to create a mounting point. I would recommend you go with the DVD option as it includes more packages: Step 2: Mount Rocky Linux ISO file The Rocky Linux is free to download and the link can be found on the homepage of Rocky Linux It can be helpful if you prefer the offline environment.You can even apply minor release updates using the latest ISO.It can be used to apply offline patches.Install packages using Rocky Linux ISOīut before going for the installation, I would like to share some other scenarios where you can benefit from this method: So in this guide, I will show you how the local ISO file can be used as a local repository to install packages offline. There are various cases when you may want to utilize the local repository such as on a temporary basis, the internet connection is not allowed and you want to install a specific package.











Rocky linux download