Installing Downloaded Packages
-
1. Installing Downloaded Rpm Packages
Now to Install Downloaded Rpm Packages on CentOS
First, access the Download location by default with:cd ~/Downloads
To Check it’s there List the contents with:
ls . | grep [MYPACKAGEKEY]
The grep Command refine the output List showing only the Entries matching the Keyword.
But if you are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.
Then you have 2 possible Solutions.In case of a Package without external Dependencies you can go with:
sudo rpm -ivh ./[MYPACKAGE].rpm
Hence to try for a Google-Chrome Web Browser Setup:
sudo rpm -ivh ./google-chrome*.rpm
Super-Tip: use “*” to Short the Command or the Key to Autocomplete!
Especially relevant: at first glance you are usually Unable to know if the Software is Self-dependent.
Thus it’s always suitable to use instead the Default dnf Package Manager to handle the possible Dependencies.Now to Install the Software using dnf:
sudo dnf install ./[MYPACKAGE].rpm
Like:
sudo dnf install ./google-chrome*.rpm
Confirm the Setup with “y.”
Contents