Install
Install with rpm (Read Hat)
RPM (RPM Package Manager) is a popular package manager for installing software on Unix-like systems, particularly Red Hat Linux. The following is an example to install a package with file suffix ".rpm":
sudo rpm -i /path/to/package/name.rpm
If you already have the earlier version of the software, enter the following command to upgrade
rpm -U aSoftware.rpm
Install with apt-get and apt (Ubuntu)
Method 1: Install .deb files with dpkg and apt-get:
sudo dpkg -i /path/to/deb/file
sudo apt-get install -f
Method 2: Install .deb files with apt:
sudo apt install /path/to/package/name.deb
Note: the reason to use apt-get after dpkg: see [this].(https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt)